Zh GoogleMap, bugfixes and new featues

Hi.

I’ve fixed some bugn:
* plugin not show route panel when there is no any placemark on map
* all extensions not correct show placemark for elevation profile – it very quickly hides – I created at first without hide when moveout from profile, but after that add. And today it started hiding when you move a little from diagram line (I think there was some changes in visualization library, because I was listening mouseout from div of diagram, and now it is work different). Now I changed listening event (listening chart event, not div) and it is more convenient.

AND!

I’ve added into component properties (when you create menu item) a few fields:
* Zoom – it overrides the Zoom value of the map
* Placemark for map center – it is ID for placemark, which will the center of a map. It is the same as in plugin centering map. I thought create dropdown listitem, but decided not to do that: if you have hundreds or thousands of placemark – you will fill very difficult to find what you want.
* Action for centering placemark – list of actions, which you can do with centering placemark. It is the same as in plugin (parameter “Action”), and the same values which can be separated by ; and values are: bounce,click,icon_name_without_png

YOU HAVE TO NOTICE for icon_name_without_png: the icon name MUST (HAVE TO) not contain special chars (for example, my icons have char #, which you can not used there until I find how it fix or new joomla release fix it). It caused by strange behavior – I set for this field do not use joomla filters (filter=”raw”), and there is no problem with < or > symbols, yes there is not striped, but it doesn’t allow # symbol, it striped!
I publish question in joomla forum, but there is no any answer yet.
Ie, for highlighting you placemark in this case – clone icon and set simple name.

One thought on “Zh GoogleMap, bugfixes and new featues

Leave a Reply

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