Zh GoogleMap, new features

Hi.

I’ve added a few new features.

Component
In component options you can set what map types will be accessed in admin panel
* Map Type in Editor: Google – show Google’s map types
* Map Type in Editor: OSM – show OSM (you can set it default map)
* Map Type in Editor: Custom – show all published custom map types (you can set last of it default map)

For Map details I added
* Advanced options -> Allow to user enter placemarks
New value – Yes (all registered users) without login info
It also enables entering user’s placemarks from FrontEnd, but suppress message about login (not login)
Also this login info is included into div, and you can manage apply your styles for it

For Placemark I added tabs 10,11..19 for InfoBubble

For Paths details
* KML properties moved into new slider – KML Layer
* Added new parameter – Suppress InfoWin – if you click on your KML object (for example, line) – you get an infowin with filename. Now you can ban this message

The Module and Plugin is supported this features too.

For Map Menu Item (component call) I added new parameter “Enable Support External Link to Placemark”.
If you enable it, the one “public” function is created in page, and you can call it to manage center map on placemark, click on it, and change map zoom. You can build your own placemark list menu and use it 🙂
The call is
PlacemarkByIDShow(p_id, p_action, p_zoom)
* p_id – placemark id
* p_action – action, comma separated, values
** center – center on this placemark
** click – click on this placemark
* p_zoom – new zoom value

Ie:
The call (I added extra spaces to show code)
< a href="#" onclick="PlacemarkByIDShow(15, 'click,center'); return false;">Show IT!< /a >
Creates link “Show IT!”, and when you click on it – center map on placemark with ID=15, and click on this placemark

Leave a Reply

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