Virtual Radar Server 2.4.1 ready
Forum rules
Please bear in mind if you do install a preview version that it is unfinished code, there may be bugs, bits missing, things that don't work etc.
Posts in this forum will not show up in forum search results. Old threads will be pruned occasionally.
Please bear in mind if you do install a preview version that it is unfinished code, there may be bugs, bits missing, things that don't work etc.
Posts in this forum will not show up in forum search results. Old threads will be pruned occasionally.
Virtual Radar Server 2.4.1 ready
Do you plan to return a custom map switching menu in Leaflet, that can be configured in Web Admin?
Re: Virtual Radar Server 2.4.1 ready
Perhaps, I need to think it through.
Re: Virtual Radar Server 2.4.1 ready
Noticed that the missing clustering for this in Leaflet is a plugin https://github.com/Leaflet/Leaflet.markercluster
Re: Virtual Radar Server 2.4.1 ready
That's the one I was using
The issue wasn't that the functionality doesn't exist, more that it will take some time to add wrapping code for it.
The maps wrapper is based on Google Maps because when it was written Google Maps was the only map that was being wrapped. As it turns out Leaflet's API is very similar to Google Maps so it was easy to write a new mapper for Leaflet. However, Leaflet does not have marker clustering support and the plugin you've referenced does not have a similar API to Google Maps. It will take some time to translate from the Google Maps way of doing things to that plugin's way of doing things. I didn't have time to do it before the release of 2.4.1.
The next release will be this weekend and I'm only planning on doing bug fixes for it. Once they're out of the way then I'll look at adding marker clustering back in.

The maps wrapper is based on Google Maps because when it was written Google Maps was the only map that was being wrapped. As it turns out Leaflet's API is very similar to Google Maps so it was easy to write a new mapper for Leaflet. However, Leaflet does not have marker clustering support and the plugin you've referenced does not have a similar API to Google Maps. It will take some time to translate from the Google Maps way of doing things to that plugin's way of doing things. I didn't have time to do it before the release of 2.4.1.
The next release will be this weekend and I'm only planning on doing bug fixes for it. Once they're out of the way then I'll look at adding marker clustering back in.
Re: Virtual Radar Server 2.4.1 ready
Both, eventually.