Zh GoogleMap plugin, define language support and new version of clusterer

Hi.

First part of changing plugin. Add features:
* new version of using clusterer 2.0.7
* support language field of map to set map object names to definite language

There are 2 difference between component and plugin in language support:
1 – if you define language for one map, and try to display in one article two maps, the other map will be in the same language that first map.
2 – Map Controls which I’ve created (panoramio filter, find button…) take translation if you set language for map.

I’ll find how I can load translation into component and fix this in component. Now translation for component is loading by joomla settings.

PS: in plugin now is not supported Infographics and Geolocation button. It takes more time to include this features. This will be in next release 🙂

And I’ve mistaken about language field – this value have to be, for example ru, not ru-RU. See google maps api localization. If you specify ru-RU then all be displayed in Russian, but directions service will be in English.

Leave a Reply

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