Make sure we load OpenLayers resources from the right place.
authorTom Hughes <tom@compton.nu>
Thu, 6 Dec 2007 18:59:36 +0000 (18:59 +0000)
committerTom Hughes <tom@compton.nu>
Thu, 6 Dec 2007 18:59:36 +0000 (18:59 +0000)
public/javascripts/map.js

index d2dd5f3c7d53786aa9774b5c2c7846110a3641b8..32745c7feee0e21cce6eedf405f38c38499d8973 100644 (file)
@@ -2,6 +2,10 @@ var map;
 var markers;
 var popup;
 
+OpenLayers._getScriptLocation = function () {
+   return "/openlayers/";
+}
+   
 function createMap(divName) {
    map = new OpenLayers.Map(divName);