mirror of https://github.com/akveo/blur-admin
fix(leafletMap): use standart images instead customs
parent
56bdb9b847
commit
9bb23a9a04
|
@ -12,9 +12,6 @@
|
||||||
function LeafletPageCtrl($timeout) {
|
function LeafletPageCtrl($timeout) {
|
||||||
function initialize() {
|
function initialize() {
|
||||||
var map = L.map(document.getElementById('leaflet-map')).setView([51.505, -0.09], 13);
|
var map = L.map(document.getElementById('leaflet-map')).setView([51.505, -0.09], 13);
|
||||||
|
|
||||||
L.Icon.Default.imagePath = 'img';
|
|
||||||
|
|
||||||
L.tileLayer('http://{s}.tile.osm.org/{z}/{x}/{y}.png', {
|
L.tileLayer('http://{s}.tile.osm.org/{z}/{x}/{y}.png', {
|
||||||
attribution: '© <a href="http://osm.org/copyright">OpenStreetMap</a> contributors'
|
attribution: '© <a href="http://osm.org/copyright">OpenStreetMap</a> contributors'
|
||||||
}).addTo(map);
|
}).addTo(map);
|
||||||
|
|
Loading…
Reference in New Issue