Open dvgeo opened 2 years ago
When I add the google maps api key following the geonode documentation, I can't see the google maps background.
The option to choose the google background appeared, but when you click on the option the background is empty.
if GOOGLE_API_KEY: BASEMAP = { "type":"google", "title": "Google HYBRID", "name": "HYBRID", "source": "google", "group": "background", "apiKey": GOOGLE_API_KEY, "visibility": False } DEFAULT_MS2_BACKGROUNDS = [BASEMAP,] + DEFAULT_MS2_BACKGROUNDS
I edited the base.html file, adding the line...
{% block head %} {% if DEBUG_STATIC %}
GOOGLE_API_KEY = 'MY_GOOGLEA_PI_KEY'
This smells like a mapstore client issue. I'm moving it there.
Expected Behavior
When I add the google maps api key following the geonode documentation, I can't see the google maps background.
Actual Behavior
The option to choose the google background appeared, but when you click on the option the background is empty.
Steps to Reproduce the Problem
if GOOGLE_API_KEY: BASEMAP = { "type":"google", "title": "Google HYBRID", "name": "HYBRID", "source": "google", "group": "background", "apiKey": GOOGLE_API_KEY, "visibility": False } DEFAULT_MS2_BACKGROUNDS = [BASEMAP,] + DEFAULT_MS2_BACKGROUNDS
I edited the base.html file, adding the line...
{% block head %} {% if DEBUG_STATIC %}
GOOGLE_API_KEY = 'MY_GOOGLEA_PI_KEY'
Specifications