no airports on map or??

Want to post something that doesn't quite fit into the other forums? This is the place for that.
Post Reply
spatieman
Posts: 7
Joined: Mon Jul 07, 2014 5:05 pm
Location: kerkrade,netherlands
Contact:

no airports on map or??

Post by spatieman » Mon Jul 07, 2014 5:08 pm

wel, i love the VR ,but i cant see to get activate any airport on the maps (as on FR24,ya, ok, that a comercialsite)
or is it a hidden option.

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

Re: no airports on map or??

Post by agw » Mon Jul 07, 2014 5:34 pm

Airports aren't shown on the map, although if you use the Contrast map style then they are highlighted. The problem is that there are thousands of airports in the database, if I were to show all of them the map would be awash with airports.

However there are plans afoot to pick out the busier airports and have the option of showing those on the map.

spatieman
Posts: 7
Joined: Mon Jul 07, 2014 5:05 pm
Location: kerkrade,netherlands
Contact:

Re: no airports on map or??

Post by spatieman » Mon Jul 07, 2014 7:19 pm

contrasting it did the job, thnxs..

spatieman
Posts: 7
Joined: Mon Jul 07, 2014 5:05 pm
Location: kerkrade,netherlands
Contact:

Re: no airports on map or??

Post by spatieman » Mon Jul 07, 2014 8:31 pm

hm, time to HACK the color, i dont like the white, RED sticks more out, hehe

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

Re: no airports on map or??

Post by agw » Wed Jul 09, 2014 1:46 am

You can change the contrast map style to anything you like with the custom content plugin :) If you go here and set the style to how you want it:

http://gmaps-samples-v3.googlecode.com/ ... index.html

Then replace the "** PASTE THE JSON ** line in this script with the JSON from the wizard:

Code: Select all

<script type="text/javascript>
    if(VRS && VRS.globalDispatch && VRS.serverConfig) {
        VRS.globalDispatch.hook(VRS.globalEvent.bootstrapCreated, function(bootStrap) {
            VRS.globalOptions.mapHighContrastMapStyle =
                **PASTE THE JSON FROM THE GOOGLE STYLED MAPS WIZARD HERE**
            ;
        });
    }
</script>
For example this is the style for a vanilla map with all airports shown in bright red:

Code: Select all

<script type="text/javascript">
    if(VRS && VRS.globalDispatch && VRS.serverConfig) {
        VRS.globalDispatch.hook(VRS.globalEvent.bootstrapCreated, function(bootStrap) {
            VRS.globalOptions.mapHighContrastMapStyle =
[
  {
    "featureType": "transit.station.airport",
    "elementType": "geometry",
    "stylers": [
      { "visibility": "on" },
      { "color": "#ff0101" },
      { "saturation": 100 }
    ]
  }
]
            ;
        });
    }
</script>
Then get the script injected into the site by following the instructions here:

http://www.virtualradarserver.co.uk/Doc ... tings.aspx

Post Reply