Welcome to Radarspotting. Please login or sign up.

November 23, 2026, 12:41:42 PM

Login with username, password and session length

New Members

New Members

You should get an activation email when you join.  If not, please use the Contact option.

VRS Map Layers disappeared!

Started by jon01, October 28, 2026, 07:07:49 AM

Previous topic - Next topic

0 Members and 0 Guests are viewing this topic.

jon01

Something has happened to my custom map layers on VRS, on three different PCs my UK Open AIP map layer no longer shows

I tried re-injecting the html file and edited the file with the recent new Open AIP tile server URL, still nothing shows. On one of my PCs I have a KML file, made from an Open AIP UK airspace map and this no longer shows

I am not aware of any updates to the old VRS software, has there been a Windows update recently that has messed up the map layer? Could it be to do with the worldwide PHP issue affecting some web application codebases

This is the script I use for the kml airspace layer using Google Maps with a working API Key, this code is injected to the end of BODY:

<script type="text/javascript">
    if(VRS && VRS.globalDispatch && VRS.serverConfig) {
        VRS.globalDispatch.hook(VRS.globalEvent.bootstrapCreated, function(bootStrap) {
         
            if(bootStrap.hookMapInitialised) {

                bootStrap.hookMapInitialised(function(pageSettings) {

                    if(pageSettings.mapPlugin && pageSettings.mapPlugin.getNativeType() === 'GoogleMaps') {

                        var map = pageSettings.mapPlugin.getNative();
                                       
//Add airspace layer

        var ctaLayer = new google.maps.kmlLayer({
        url: 'D:\CustomContent\airspace.kml',
        map: map
        });
            }
            });
            }
        });
    }
</script>
         
Has anyone else experienced this and does anyone have a solution please?

jon01

I have managed to get the Open AIP Airspace layers back by changing from Google Maps to the Leaflet option in the VRS menu

But something is preventing the AIP Layers working with Google Maps!

rikgale

Hi Jon

While I am not able to help you out with this as I have never used Google Maps on VRS can I suggest that you check out https://github.com/rikgale/VRSCustomLayers This has a lot of different maps and layers including OPENAiP and OpenSea layers.

Kind regards
Rik

Auto updated daily ZIP files on GitHub