Jump to content

Streetview without map aside


Luff

Recommended Posts

Hi,

 

Is it possible to add streetview to the details page (if available) but not to display the map besides? I am using the geomaps module on some other location and only want to add the streetview window by itself. I found the following code

 

<?php elseif(!$directions && $streetview):?>

<div id="gm_map_outer" style="width:<?php echo $width;?>">
    <div id="gm_map_detail_streetview" style="float:left;width:49%;height:<?php echo $height;?>"></div>
    <div id="gm_map_detail" style="float:right;visibility=hidden;border:1px solid #ccc; width:49%;height:<?php echo $height;?>;position: relative; background-color: #E5E3DF;"></div>    
</div>

 

in the map_detail.thtml file, I can do adjustments to it and see them, but when I take out the second line both dissapears. Also if I reduce the width to 0% in the second line it still displays the copyright code, so hiding it is not possible as well. Do you have any idea how to achieve this?

Thanks and happy Eastern!

Link to comment
×
×
  • Create New...