Jump to content

Multiple Map Details.html


keelan edwards

Recommended Posts

So i have tabs with the maps in, which is fine but at the top right i want to add just a map with no directions or street view as well. Like a quick map option.

 

I thought it would be as easy as creating another map_detail.thtml and call it map_detail_top.html and edit my detail_tab.html with.

 

<?php if($show_map && isset($listing['Geomaps']) && abs($listing['Geomaps']['lat']) > 0 && abs($listing['Geomaps']['lon']) > 0):?>
<?php echo $this->renderControllerView('geomaps','map_detail_top',array('width'=>'100%','height'=>'300'));?>

 

But that returns nothing but a blank div.

 

I cannot find any documentation on this so any help would be greatly appreciated.

Link to comment
×
×
  • Create New...