summaryrefslogtreecommitdiff
path: root/chimere/main/widgets.py
diff options
context:
space:
mode:
Diffstat (limited to 'chimere/main/widgets.py')
-rw-r--r--chimere/main/widgets.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/chimere/main/widgets.py b/chimere/main/widgets.py
index 9c53a6d..06c75c6 100644
--- a/chimere/main/widgets.py
+++ b/chimere/main/widgets.py
@@ -30,7 +30,7 @@ from chimere import settings
from django.contrib.gis.db import models
URL_OSM_CSS = ["http://www.openlayers.org/api/theme/default/style.css"]
-URL_OSM_JS = ["http://www.openlayers.org/api/OpenLayers.js",
+URL_OSM_JS = [settings.MEDIA_URL+"OpenLayers.js",
"http://www.openstreetmap.org/openlayers/OpenStreetMap.js"]
def getMapJS(area_name=''):