projects
/
rails.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
15c492e
)
Make sure we load OpenLayers resources from the right place.
author
Tom Hughes
<tom@compton.nu>
Thu, 6 Dec 2007 18:59:36 +0000
(18:59 +0000)
committer
Tom Hughes
<tom@compton.nu>
Thu, 6 Dec 2007 18:59:36 +0000
(18:59 +0000)
public/javascripts/map.js
patch
|
blob
|
history
diff --git
a/public/javascripts/map.js
b/public/javascripts/map.js
index d2dd5f3c7d53786aa9774b5c2c7846110a3641b8..32745c7feee0e21cce6eedf405f38c38499d8973 100644
(file)
--- 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);