Jump to content

Live Map Blank


NotAnAvgeek

Recommended Posts

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!

Link to comment
Share on other sites

  • Administrators

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');

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...