Page 1 of 1

Virtual Radar Server 2.4.1 ready

Posted: Tue Jun 12, 2018 2:18 pm
by UA4WIY
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

Posted: Wed Jun 13, 2018 5:49 pm
by agw
Perhaps, I need to think it through.

Re: Virtual Radar Server 2.4.1 ready

Posted: Thu Jun 14, 2018 7:23 pm
by UA4WIY
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

Posted: Thu Jun 14, 2018 10:45 pm
by agw
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.

Re: Virtual Radar Server 2.4.1 ready

Posted: Sun Jun 17, 2018 6:46 pm
by kyle0440
agw wrote:
Thu Jun 14, 2018 10:45 pm
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.
Will it be in the 3.x branch or the 2.x branch?

Re: Virtual Radar Server 2.4.1 ready

Posted: Mon Jun 18, 2018 7:51 pm
by agw
Both, eventually.