Virtual Radar Server 2.4.1 ready

Discussions about the preview versions of Virtual Radar Server.
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.
Post Reply
UA4WIY
Posts: 33
Joined: Mon Aug 29, 2016 7:41 pm

Virtual Radar Server 2.4.1 ready

Post by UA4WIY » Tue Jun 12, 2018 2:18 pm

Do you plan to return a custom map switching menu in Leaflet, that can be configured in Web Admin?

agw
Posts: 2058
Joined: Fri Feb 17, 2012 3:20 am

Re: Virtual Radar Server 2.4.1 ready

Post by agw » Wed Jun 13, 2018 5:49 pm

Perhaps, I need to think it through.

UA4WIY
Posts: 33
Joined: Mon Aug 29, 2016 7:41 pm

Re: Virtual Radar Server 2.4.1 ready

Post by UA4WIY » Thu Jun 14, 2018 7:23 pm

Noticed that the missing clustering for this in Leaflet is a plugin https://github.com/Leaflet/Leaflet.markercluster

agw
Posts: 2058
Joined: Fri Feb 17, 2012 3:20 am

Re: Virtual Radar Server 2.4.1 ready

Post by agw » Thu Jun 14, 2018 10:45 pm

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.

kyle0440
Posts: 4
Joined: Sat Jun 17, 2017 11:47 pm

Re: Virtual Radar Server 2.4.1 ready

Post by kyle0440 » Sun Jun 17, 2018 6:46 pm

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?

agw
Posts: 2058
Joined: Fri Feb 17, 2012 3:20 am

Re: Virtual Radar Server 2.4.1 ready

Post by agw » Mon Jun 18, 2018 7:51 pm

Both, eventually.

Post Reply