klox7 VIP
Total posts: 914
12 Май 2016 19:11

Hi,

As I, you are also probably experiencing issue with google map marker clusterer. Please read solutions on github. Maybe would be nice to have backup image in Cobalt.

Regards

Последние изменения: 29 Июль 2016


Sergey
Total posts: 13,748
13 Май 2016 11:41

klox7 Maybe would be nice to have backup image in Cobalt.

What backup? We do not have cluster icons. I do not even set icons root. Google draw them itself. I have to check may be there've changed something. But I have checked API v3 and it is still valid.


banana7777 VIP
Total posts: 18
15 Май 2016 16:52

Marker Clusters are also not working for me anymore. Don't know what happened.

Sergey, could you please have a look on it?

Looks like the script has moved!

if($params->get('tmpl_params.map_claster'))
{
    JFactory::getDocument()->addScript(' http://google-maps-utility-library-v3.googlecode.com/svn/tags/markerclustererplus/2.0.15/src/markerclusterer_packed.js ');
}

I copied a compiled version of the marker cluster script to my computer. Please check the githud comments for the new CDN. Changed the addScript to my local version. Working now again for me...

Thanks, Dirk


klox7 VIP
Total posts: 914
17 Май 2016 12:19

Of course you can add your own marker clusterer images. You just need to add an option to your marker clusterer options

Example

var markerClusterOptions = {gridSize: 30, maxZoom: 10, imagePath: 'your_custom_path/m'};

And of course you need images (or make your custom ones) markerclusterer_images

More info (also on serving marker clusterer images over https)
Click here to link...


Гость
18 Май 2016 12:42

//rawgit.com/googlemaps/js-marker-clusterer/gh-pages/src/markerclusterer.js if we substitute this address it shows the number of cluster, but without pictures and automatic approximation


Sergey
Total posts: 13,748
18 Май 2016 13:26

I added cluster JS and icons to GEO field.


Гость
07 Июнь 2016 09:52

The field of geo after updating vseravno not pokazyaet clusters and not obrabatyvat markers


Гость
07 Июнь 2016 09:56

Guest The field of geo after updating is still not pokazyaet clusters and not obrabatyvat markers


Sergey
Total posts: 13,748
12 Июнь 2016 10:34

Guest

Guest The field of geo after updating is still not pokazyaet clusters and not obrabatyvat markers

Можно ссылочку?


anri0303
Total posts: 34
25 Июль 2016 07:53

Sergey
Total posts: 13,748
27 Июль 2016 09:17

I see it is not working. I've updated cluster JS file by Google. Let's see if it will start working.


anri0303
Total posts: 34
29 Июль 2016 10:00

Кластеры на карте работают, единственное там путь картинки url("/components/com_cobalt/fields/geo/assets/m1.png") не совсем точный, они лежат в папке "m" url("/components/com_cobalt/fields/geo/assets/m/m1.png") после обновления. Спасибо

Работает на Cobalt