Hello
since a few days my overlay in the Virtual Radar Sarver no longer works. My HTML file is as follows:
<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 myMapType = new google.maps.ImageMapType({
getTileUrl: function(coord, zoom) {
return "http://1.tile.maps.openaip.net/geowebcache/service/tms/1.0.0/openaip_basemap@EPSG%3A900913@png/" +
zoom + "/" + coord.x + "/" + (Math.pow(2, zoom) - coord.y - 1) + ".png";
},
tileSize: new google.maps.Size(256, 256),
maxZoom: 9,
minZoom: 0,
name: 'mymaptype',
transparent: true,
opacity: 0.5,
});
map.overlayMapTypes.insertAt(0, myMapType);
}
});
}
});
}
</script>
Can you help me?
Do I need to adjust something in this file?
many greetings,
Ronny
Jonckers
(i have a client ID number
3f661d1d20e9d6..................)