Zh GoogleMap, total code review. Plugin supports all component features


I did code review and now all my GoogleMap’s extensions (component, module and plugin) use one common code, libraries and styles, therefore all features designed before are accessible in plugin too. Extentions behavior is the same.

Ie, in plugin now appeared:

– placemark/KML management by group list

– hover effects for placemarks

– spiderfying placemarks (which are overlapped on map)

– ajax loading placemarks and it’s content

– placemark’s rating system

and so on.

I added some styles definition for divs

I added default style (and div classes) for map: if you don’t define CSS style class for map in map details – I’ll add this class and now component, module and plugin have CORRECT image displaying (bug for bad shape (produced by template css styles, max-width and etc) is fixed). You don’t need to do tricks with CSS classes for map in template styles for example for plugin

Zh GoogleMap, new features: overlapping markers on spiral, new type of group management, etc

Hi all

Plugin doesn’t support it yet (untill I’ll do refactoring of it) !!!

I’ve done new release of component, now component and module supports new features:


– when you have overlapping placemarks (markers in closest place) you can set show all of it on spiral. It is like spiderfying, but I have my own algorithm of building placemarks to spin, and the other formula of building spiral

— if you want, I can add two parameters for building your own spiral type












Before click










After click












– the ONLY one restriction: now it doesn’t work with clusterer (when you have cluster on max zoom). I’ll add this in future


Now you can control type of group behavior (for Group Management)

– simple group toggle

– only one active group







– Now you can display GPS coordinates in placemarks













and as result











– the ONLY one restriction: now it doesn’t work with placemarks, defined by Text Address, not by Latitude and Longitude. I’ll add this in future


Zh GoogleMap plugin, new behavior

Hi there

I just find a little time and add a new behavior of plugin call for placemark.

Now, when you call plugin for one placemark (zhgooglemap-marker), I forced disable placemark list, because it is not needed there (one placemark on map).


PS from this time plugin for joomla 2.5 is stopped in development (adding new features), due to joomla 2.5 stopped in support.

Only plugin version for j.3.x will continue developing.

Zh Google Map module, new release for support all component features


I did common use component code in module. Today all component features is supported in module, because I use the same code from component.
On this week and next week I’ll try to change plugin to use this code too.

When I did integration, I’ve fixed some translation bugs – AJAX loading content and voting was only in English. Now it is OK, fixed. Therefore component was changed too.


Zh YandexMap, changed icon offset for custom icons! You have to read!

Всем привет.

В данном релизе (4.3.1 для компонента, 3.1 для плагина и 2.1 для модуля) ИЗМЕНЕН алгоритм вычисления отступов для пользовательских иконок.

Если наименование иконки не начинается с default# то такую иконку я считаю пользовательской

Будьте внимательны, если Вы используете свои иконки, то теперь при незаданных отступах центром приложения иконки считается середина нижнего края иконки!
(раньше это был левый нижний край со смещением 7).
Смещение 7 исторически пришло из АПИ v1, и я его просто реализовал, чтобы при переходе на АПИ2 ничего не произошло с ними.

С чем связано изменение: если Вы используете свои иконки, и размеры у них отличны от тех, которые идут с расширением, Вам приходится подгонять отступ, чтобы иконка не “смещалась” при изменении масштаба.
Чаще всего иконка имеет центральную точку “опоры” внизу посередине, что и сейчас я реализовал в новой версии расширения.

Что нада сделать, чтобы Ваши иконки не “съехали” при установке новой версии – если у вас “симметричные” иконки, то просто обнулите горизонтальный отступ (x-offset, x-отступ), и тогда все подхватится автоматически правильно. Если у вас есть сдвиг относительно середины – вам надо пересчитать горизонтальный отступ.
В любом случае, это практичекси одно update выражением в MySQL

Заранее спасибо за понимание,

Zh GoogleMap component, a few bugfixes


I’ve got time and added some bugfixes:
– in some cases you can’t override clusterer icons (when active different icons for placemark clusters, grouped by Placemark Group attribute)
– for admin panel (for j.3.x) when you save in details, any detail tab was changed to first
– fixed warning for “Strict Standards: Declaration of ZhGoogleMapTableZhGoogleMap::_getAssetParentId() should be compatible with JTable::_getAssetParentId(JTable $table = NULL, $id = NULL)“in admin panel
I added class names for Routes (description, totals), and for Map Header and Footer. Now you can override styles in your template not only by div ID, but also by class name.

Refreshed translation files.