Zh GoogleMap, bugfixes for plugin

Hi. I did little release to fix bugs and will continue improvements

component: 
* show message to enter text address for Find and Route buttons when you press with empty field
plugin: 
* fixed style loading for geotags call
translation: 
* added new translated lines

Zh GoogleMap, new panel feature, lot of changes

Hi.

The new release of all extensions is done.

Buffixes:

* fixed ajax loading placemarks in plugin call and module (it was loaded twice, by ajax and in page code)

* when you enable hovering feature and used infowin to display text, it anchored to bottom center (as the placemark icon), but infobubble displayed with offset. Now InfoWin and InfoBubble displayed with offset – anchored above the icon

New features:

* new value for component option “Map Initialization Type“, it is JQuery ready event. As I wrote in my docs, if the other extension use “onload” function to initialization, the map is not displayed, and I suggested to use “domready” init type. But it is a mootools part, and now Joomla removed this tools from framework and use JQuery. Some templates can remove mootools loading too, and in this case you should use this map initialization type

* hover text for path – you can write HTML text to display hover infowon/infobubble for path

* the two parameters for hovering text from Placemarks tab moved to Advanced options, because now it is common for placemarks and paths

* site URL for path infowin content

* new values for “Action by Click” for path are open link in the same window or in the new one

* side panel, you can see it on Demo page. All settings in map details, on Advanced Options tab

* you can set to show infowin content in this panel (“Display InfoWin content” field)

* in panel case for placemark with action by click = “Open InfoBubble” with tabs – all tabs  displayed as accordion

* you can set to show group list in panel – new value for group position field

* you can set to show placemark list in panel – new value for placemark list position

* Changed CSS styles for placemark lists (Simple and Advanced) to display more beautiful

Zh GoogleMap, component and plugin bugfix

Hi.

Today I did new releases for component and plugin.
Component fixed: you can get warning for not initialized variable “adsenses”
Plugin fixed: if you have more than one article on page, or a few Custom HTML modules with plugin call – you can get error (if for different maps you have different settings of features)

Zh GoogleMap, code and styles review

Hi.

As Google change styles for it’s map control I added this too.

By default (if you don’t set map API version) you are using 3.exp (experimental) version.
If you set version to 3 – then you will use last release.

From version 3.22 some controls is not exists.
Ie if you set version to 3.21 then you’ll see “old” version of control.

Changes:
– Overview map control – deprecated
– Pan control – deprecated
– for Zoom control just only one style

I change button styles to have the same style as google maps controls

Look at two images to compare the difference

2016-02-10_16-54-00

2016-02-10_16-54-33

Zh GoogleMap, little bugfix

Hi

I fixed little bug – when

  • you use placemark management by group list
  • and use placemark list,
  • and in map options you set “Synchronize with placemark list” to yes
  • and have placemarks with option “Include in Placemark List” to “No”

you got an error

Zh GoogleMap, placemark list and group list synchronization, new feature – text overrides

Hi

 

Today I did release with big changes, but didn’t change component version too much because it is temporarily but correct release.

 

New features:

– now you can set to show/hide placemarks in placemark list when you use placemark group control.

Ie if you hide placemarks by clicking on group, it were hidden, but in placemark list it still be accessible. Now set synchronize to yes, and it will be removed (or shown) in placemark list too.

 

2015-08-14_16-20-12

 

 

 

 

 

 

The other feature – now you can override text labels (titles etc).

There is new tab with it’s list

2015-08-14_16-22-39

 

 

 

 

 

 

 

 

 

 

 

You can create your own descriptions and use it in map details

2015-08-14_16-24-12

 

 

 

 

 

 

 

Today you can change only three values – for placemark list: button title, tooltip and search placeholder

 

2015-08-14_16-47-48

 

 

 

 

 

 

Once you define it, you can use it. Go to map details to advanced tab

 

2015-08-14_16-21-36

 

 

 

 

 

PS Do not look into “Placemark Contents” tab. It is just under construction.

Cheers,

Dmitry

Zh GoogleMap module supports external links to placemarks

Hi

I added to module support external link to placemark.

 

2015-05-19_18-30-58

 

 

 

 

 

 

 

 

 

After that you can use special function to center and or click on placemark, and change zoom by this action

 

Example #1

<p>
<a href=”#” onclick=”javascript:PlacemarkByIDShow(682, ‘center,click’); return false;”>Show placemark on map</a>
</p>

This code will create link to placemark with ID=682. And will do center on this placemark and click on it

 

Example #2

<a href=”#” onclick=”javascript:PlacemarkByIDShow(48, ‘click’, 10); return false;”>Show placemark on map</a>

In this case link to placemark with ID=48. And you click on this placemark and change zoom to 10

 

Cheers,
Dmitry