Use local files rather than remote ones for osb images
This commit is contained in:
parent
3d3f3982a0
commit
d7afad9395
1 changed files with 3 additions and 3 deletions
|
@ -144,14 +144,14 @@ end
|
|||
|
||||
map.osbLayer = new OpenLayers.Layer.OpenStreetBugs("OpenStreetBugs", {
|
||||
serverURL : "/api/0.6/",
|
||||
iconOpen : new OpenLayers.Icon("http://openstreetbugs.schokokeks.org/client/open_bug_marker.png", new OpenLayers.Size(22, 22), new OpenLayers.Pixel(-11, -11)),
|
||||
iconClosed : new OpenLayers.Icon("http://openstreetbugs.schokokeks.org/client/closed_bug_marker.png", new OpenLayers.Size(22, 22), new OpenLayers.Pixel(-11, -11)),
|
||||
iconOpen : new OpenLayers.Icon("/images/open_bug_marker.png", new OpenLayers.Size(22, 22), new OpenLayers.Pixel(-11, -11)),
|
||||
iconClosed : new OpenLayers.Icon("/images/closed_bug_marker.png", new OpenLayers.Size(22, 22), new OpenLayers.Pixel(-11, -11)),
|
||||
readonly : false,
|
||||
setCookie : false,
|
||||
cookieLifetime : 1000,
|
||||
cookiePath : "/my/map/",
|
||||
permalinkURL : "http://www.openstreetmap.org/",
|
||||
theme : "http://osm.cdauth.de/map/openstreetbugs.css"
|
||||
theme : "/stylesheets/openstreetbugs.css"
|
||||
});
|
||||
|
||||
map.addLayer(map.osbLayer);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue