Zh BaiduMap, new demo pages

Hi there.

I finally come back to developing extension for Baidu map.

It was too hard to find out my API key, because I lost it due to VPS re-installation and unable to connect to my Baidu account due to required phone number and don’t accept mine 🙂

Today you can see demo pages, which show component and plugin abilities.

http://joomla.zhuk.cc/index.php/zhbaidumap-main

During the next few weeks I will review my code and change it to easy support and flexible adding new features. And, of course, I’ll re-create documentation for this extension.

Best wishes,

Dmitry

Zh YandexMap, placemarks icon overrides by group

Всем привет.

По просьбам добавил поддержку переопределения иконок меток на уровне групп с помощью стандартный предопрелененных в АПИ, см. https://tech.yandex.ru/maps/doc/jsapi/2.1/ref/reference/option.presetStorage-docpage/.

До этого можно было переопределить их только иконками, представленными файлами.

Добавлены 3 параметра в подробностях группы.

  • Marker (Icon File, Preset Icon with text, Preset Icon)
  • Preset Standard Icon
  • Icon Content

Функционирует аналогично полям, которые есть в свойствах метки.

Поле Marker для всех старых значений – Icon File.

Если хотите выбрать какой-то предопределенный в АПИ тип иконки, указываете Preset Icon with text или Preset Icon, ну и заполняете поле Preset Standard Icon.

Если нужно вывести текст в иконке (для случая Preset Icon with text) просто вводите необходимый текст в поле Icon Content.

Единственная особенность – если у вас включено управление метками через список групп (и указан вывод иконки в списке), то в списке вы увидите иконку “старую” (какая определена файлом), т.е. в списке вы не можете получить иконку из предопределенных в АПИ.

В таком случае вам можно проделать небольшой трюк – создать иконку такого же вида и добавить к существующим файлам. Тогда в списке групп будет использоваться файловая иконка, а на карте – из АПИ.

Zh YandexMap, new parameter for centering map by placemark

Всем привет.

Для вызова элемента меню Карта (вызов компонента) добавлен необязательный параметр, позволяющий сменить центр карты. Параметром выступает идентификатор метки, которая есть на карте.

Для вызова плагина – по списку меток, по списку групп и по списку категорий добавлен такой же параметр (7-й по порядку).

Документация актуализирована.

Zh YandexMap, security update

This is a security release for the 3.x series of Zh YandexMap!

This release fixes security issues – SQL injection

Affected Installs: versions up to 6.1.*

Please update to version 6.2.*

Zh GoogleMap, security update

This is a security release for the 3.x series of Zh GoogleMap!

This release fixes security issues – SQL injection

Affected Installs: versions up to 8.2.*

Please update to version 8.3.*

Zh GoogleMap, new built-in map type

Hi there.

I’ve added OpenTopoMap map type, you can use it as map predefined type for map, and map override type in plugin too.

As for OpenStreetMap, this type you can enable in map details, just open it and set to Yes drop down list for OpenTopoMap.

In plugin you can pass OPENTOPOMAP as map type for plugin call (be sure it enabled for your map)

Zh GoogleMap, new features for autocomplete fields

Hi.

I added new features

– if you try to enter into autocomplete field (placemark list search field and group list search field), you can enable feature to fix text when you enter on wrong keyboard layout. You can manage it for each field

– you can enable search not only by title (placemark or group), but also by description

How to enable. It extends by Overrides.

Go to Override list, create new one (or if you are already use it, just open its details).

On Placemark list tab you can see 5 fields, which enable feature for placemark list

  • Autocomplete search type
  • Character mapping type
  • Synonym applying side
  • Synonyms – accents, diacritical marks and so on
  • Character Mapping

Like this, on Group list there are the same fields too.

After creation/change your Override just go to map details, open Advanced options, scroll down, find and select your override for map.

Field “Autocomplete search type” allow to search by title and description.

Field “Character mapping type” enable use mapping and synonyms (in “Custom” case), or use pre-built values for other value.

Character mapping – mapping characters in case wrong keyboard. Check tooltip for more details and examples

Synonyms – pair of characters, which be processed as the same. Check tooltip for more details and examples

Synonym applying side – where synonyms applied, for values, for entering characters or both

Zh GoogleMaps, new feature – open route to your placemark by Google Maps

Hi.

I added new feature: you can easy build route to your placemark by native Google Maps page.

To enable feature

*  Go to map details, open integration tab, set “Allow open Google Maps” to Yes

After that for each placemark, where you want too have this feature

* Go to placemark details, open integration tab, select “Show open Google Maps” to Button or Link, and opening type (same or new page)

Now a few images

Button in infowin toolbar

 

 

 

 

 

Link in infowin text body

 

 

 

 

 

You can override text to your own, just use overrides.

Create new override in component or modify if you already use it for your map.

Go to integration tab of override and enter your text

 

 

 

If you create new override and want to use it in map, go to map details, open “Advanced options” tab, and at the end you’ll see list item “Map text override“. Select your override.