Developer forum

Forum » Rapido » Maps cluster issues

Maps cluster issues

Peter Leleulya
Peter Leleulya
Reply

I'm using the maps module in a rapide application.
I checked the 'enable clustering' checkbox on the module, but no clustering happens.

I've even:

  1. filled a custom cluster marker
  2. Set #FF0000 as cluster color (no idea what format is expected: red? #FF0000 ?)
  3. Set 12 as cluster text size (no idea what format is expected: small, medium, large? or an integer? or 12pt? or 12px? or 1em? etc.)

No clustering happens in the map ...

In the documentation it just mentiones to check the checkbox: https://doc.dynamicweb.com/documentation-9/content/apps/maps

Does anyone have some experience with this?

Maps_Clustering_1.PNG

Replies

 
Nicolai Pedersen
Reply

Nice markers!!

What version of Rapido are you using? Maybe you have a URL?

Thanks, Nicolai

 
Claus Kølbæk
Claus Kølbæk
Reply
This post has been marked as an answer

Hey Peter

If  you are using the standard rapido template for the maps - then you just need add this to it:

<script type="text/javascript" src="//cdn.rawgit.com/googlemaps/v3-utility-library/master/markerclustererplus/src/markerclusterer.js"></script>

<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/js-marker-clusterer/1.0.0/markerclusterer_compiled.js"></script>

It is from the standard DW maps module, for some reason it has been deleted in the rapido version, but it is still needed :)

Votes for this answer: 2
 
Peter Leleulya
Peter Leleulya
Reply

Thanks, it works instantly with the missing js added.

 
Olga Shedko Dynamicweb Employee
Olga Shedko
Reply

Hello Peter,

I've reproduced the issue. And the solution proposed by Claus really works. So I've created new TFS # 70376 for solving this problem. Will be ready to the next hotfix release.


Thank you.


Best regards,
Olga | QA

 
Emil Emerek
Reply

I'm currently in the same situation as Peter was, and the MartkerClusterer script Claus mentions has still not been implemented or included.
And sadly "cdn.rawgit.com", has been shut down.
So what do would you recommened, as a fix to the problem, since its hasnt been fixed yet. Although the function in the application still include the option to enable the MarkerClusterer Peter is talking about.

For info: Im currenlty using the Dynamic version 9.13.1 and Rapido version 3.4.3.

 
Claus Kølbæk
Claus Kølbæk
Reply
This post has been marked as an answer

HI Emil

If you replace the the script with <script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/js-marker-clusterer/1.0.0/markerclusterer_compiled.js"></script> it should work again. - I have updated my former answer with the new path.

Votes for this answer: 1
 
Emil Emerek
Reply

Yes thank you for the response. It worked when using the new script link. 

 

You must be logged in to post in the forum