skylineVirtual Posted October 6, 2013 Report Share Posted October 6, 2013 I tried many things to change the appearance of the acarsmap by googling but I can't find a working solution. What I am trying to do is to remove the layers and change the map type. Unfortunately changing this: var defaultOptions = { autozoom: true, zoom: 4, center: new google.maps.LatLng(-25.363882,131.044922), mapTypeId: google.maps.MapTypeId.TERRAIN, refreshTime: 12000, autorefresh: true }; to this: var defaultOptions = { autozoom: true, zoom: 4, center: new google.maps.LatLng(-25.363882,131.044922), mapTypeId: google.maps.MapTypeId.HYBRID, refreshTime: 12000, autorefresh: true }; doesn't do anything. The weird thing is almost no changes result in a change of the map. I tried to add the cloud layers as well, without any positive results. I found a couple of code snippets to hide the labels but none of them worked in combination with phpvms. Thanks in advance Quote Link to comment Share on other sites More sharing options...
Administrators simpilot Posted October 6, 2013 Administrators Report Share Posted October 6, 2013 Have you copied the file into your skin folder and are possibly making the changes to the file still in the default templates folder? Quote Link to comment Share on other sites More sharing options...
skylineVirtual Posted October 7, 2013 Author Report Share Posted October 7, 2013 I didn't change the template file. This code is in the acarsmap.js file located in phpvms/lib/js Quote Link to comment Share on other sites More sharing options...
Administrators simpilot Posted October 7, 2013 Administrators Report Share Posted October 7, 2013 You need to make the changes in the template, they override the defaults in the js file. Quote Link to comment Share on other sites More sharing options...
skylineVirtual Posted October 7, 2013 Author Report Share Posted October 7, 2013 Thanks that worked for me Now the labels are left and I couldn't find an option that influences those in the js file. Or did I miss something. All the code snippets I found until now resulted in the acarsmap disappearing. EDIT: I just figured out that the Satellite map doesn't have any labels so that would be solved as well Quote Link to comment Share on other sites More sharing options...
Curshad Posted November 5, 2014 Report Share Posted November 5, 2014 How can i change the Color or theme of my live map? any links? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.