Make sure we load OpenLayers resources from the right place.
This commit is contained in:
parent
15c492ebfe
commit
8b7d73ebb6
1 changed files with 4 additions and 0 deletions
|
@ -2,6 +2,10 @@ var map;
|
||||||
var markers;
|
var markers;
|
||||||
var popup;
|
var popup;
|
||||||
|
|
||||||
|
OpenLayers._getScriptLocation = function () {
|
||||||
|
return "/openlayers/";
|
||||||
|
}
|
||||||
|
|
||||||
function createMap(divName) {
|
function createMap(divName) {
|
||||||
map = new OpenLayers.Map(divName);
|
map = new OpenLayers.Map(divName);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue