Commit 0e63fdc4 authored by Evan W. Patton's avatar Evan W. Patton Committed by Jeffrey Schiller

Fix broken MockMap assets

Change-Id: Ifcdca60aa1c85fb5cc4cc2e7b5eb6bba3fa4a8fd
parent c24e2a67
......@@ -420,7 +420,7 @@ public final class MockMap extends MockContainer {
onAdd: function () {
var container = L.DomUtil.create('div', 'compass-control'),
img = L.DomUtil.create('img');
img.setAttribute('src', '/leaflet/assets/compass.svg');
img.setAttribute('src', '/static/leaflet/assets/compass.svg');
container.appendChild(img);
return container;
}
......@@ -434,7 +434,7 @@ public final class MockMap extends MockContainer {
this._el = L.DomUtil.create('div', 'ai2-user-mock-location leaflet-zoom-hide');
var img = L.DomUtil.create('img');
this._el.appendChild(img);
img.setAttribute('src', '/leaflet/assets/location.png');
img.setAttribute('src', '/static/leaflet/assets/location.png');
map.getPanes()['overlayPane'].appendChild(this._el);
map.on('viewreset', this._reposition, this);
this._reposition();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment