GeoGateway / geogateway-portal

http://geo-gateway.org
Apache License 2.0
2 stars 1 forks source link

GeoGateway Maps Not Loading in Firefox #105

Open marpierc opened 4 years ago

marpierc commented 4 years ago

Google maps are not loading in Firefox. Safari and Chrome work fine.

In the Firefox console, I see the following error:

uncaught exception: InvalidValueError: Map: Expected mapDiv of type Element but was passed null. js:129:50 Gi https://maps.google.com/maps/api/js?key=AIzaSyC0JE3hrKBUo1sGn-NtXotzrY5wpLD7A10&libraries=drawing:129 initialize https://geo-gateway.org/js/tools.js:1243

marpierc commented 4 years ago

This may work correctly for Firefox if we move

to main.html. But we'd need to test carefully to see if this causes problems. I don't recall why the map-canvas Div was buried in an included HTML file (tools-block-include.html) in the first place.