From: Tom Hughes Date: Thu, 6 Dec 2007 18:59:36 +0000 (+0000) Subject: Make sure we load OpenLayers resources from the right place. X-Git-Tag: live~8012 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/8b7d73ebb6501dcb9cb446ccc3e27b3e76d95bd6 Make sure we load OpenLayers resources from the right place. --- diff --git a/public/javascripts/map.js b/public/javascripts/map.js index d2dd5f3c7..32745c7fe 100644 --- a/public/javascripts/map.js +++ b/public/javascripts/map.js @@ -2,6 +2,10 @@ var map; var markers; var popup; +OpenLayers._getScriptLocation = function () { + return "/openlayers/"; +} + function createMap(divName) { map = new OpenLayers.Map(divName);