NotAnAvgeek Posted January 13, 2021 Report Posted January 13, 2021 Good evening folks (and happy new year!) Just did the Leaflet conversion on phpvms 5.5 but am now left with blank white maps everywhere. Console is throwing up three errors and I don't know enough about web-design to know where to start in order to remedy these. acarsmap.js:36 Uncaught ReferenceError: acars_map_defaults is not defined at acarsmap.js:36 (anonymous) @ acarsmap.js:36 Uncaught ReferenceError: renderAcarsMap is not defined at profile:401 (anonymous) @ profile:401 the rest of the errors are all "DevTools failed to load SourceMap" Any help is greatly appreciated! Quote
Administrators ProAvia Posted January 13, 2021 Administrators Report Posted January 13, 2021 Did you verify you installed Leaflet/OSM correctly? Maybe check it again Any chance you tried changing the map or map provider? Did you change local.config - Config::Set ('MAP_TYPE'... to reflect "OpenStreetMap.Mapnik"? Line should read: Config::Set('MAP_TYPE', 'OpenStreetMap.Mapnik'); <---- need this one And the old line either deleted or commented out.... //Config::Set('MAP_TYPE', 'G_HYBRID_MAP'); Quote
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.