Jump to content

Add Lightbox to GeoMap


akide

Recommended Posts

I use Google Map plugin for lightbox in jreviews detail.

 

http://tech.reumer.net/Downloads/Downloads/

 

In detail.thtml add this:

 

<?php if ($CustomFields->field('jr_latitude',$listing) && $CustomFields->field('jr_longitude',$listing)):?>
{mosmap lat='<?php echo $CustomFields->field('jr_latitude',$listing,false);?>'|lon='<?php echo $CustomFields->field('jr_longitude',$listing,false);?>'}
<?php endif;?>

 

...and use Text Field (NO decimal type listing fields) for jr_longitude and jr_latitude.

It work like a charm for me.

;)

Link to comment
  • 2 years later...
×
×
  • Create New...