Zh GoogleMap module supports external links to placemarks

Hi

I added to module support external link to placemark.

 

2015-05-19_18-30-58

 

 

 

 

 

 

 

 

 

After that you can use special function to center and or click on placemark, and change zoom by this action

 

Example #1

<p>
<a href=”#” onclick=”javascript:PlacemarkByIDShow(682, ‘center,click’); return false;”>Show placemark on map</a>
</p>

This code will create link to placemark with ID=682. And will do center on this placemark and click on it

 

Example #2

<a href=”#” onclick=”javascript:PlacemarkByIDShow(48, ‘click’, 10); return false;”>Show placemark on map</a>

In this case link to placemark with ID=48. And you click on this placemark and change zoom to 10

 

Cheers,
Dmitry

12 Replies to “Zh GoogleMap module supports external links to placemarks”

      1. On the main map I have this URL that I was hoping sh404SEF would turn into a SEF url but itr did not;

        /component/com_zhgooglemap/Itemid,709/externalmarkerlink,0/id,1/mapheight,500px/mapwidth,1000px/mapzoom,4/view,zhgooglemap/

Leave a Reply

Your email address will not be published. Required fields are marked *