You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 14, 2021. It is now read-only.
I'm using leaflet with openstreet map, the erro is
leaflet.js:6 Uncaught TypeError: Cannot read property '_leaflet_id' of undefined
at Object.o.Util.stamp (leaflet.js:6)
at Object.addListener (leaflet.js:8)
at e._addZoomFunction (leaflet-material.min.js:1)
at e.onAdd (leaflet-material.min.js:1)
at e.addTo (leaflet.js:9)
my code
var materialOptions = {
fab: true,
miniFab: true,
rippleEffect: true,
toolTips: false,
color: 'primary'
}
var map = L.map('regularMap').setView([mycoord, mycoord], 14);
var materialZoomControl = new L.materialControl.Zoom({position: 'topright', materialOptions: materialOptions}).addTo(map);
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I'm using leaflet with openstreet map, the erro is
leaflet.js:6 Uncaught TypeError: Cannot read property '_leaflet_id' of undefined
at Object.o.Util.stamp (leaflet.js:6)
at Object.addListener (leaflet.js:8)
at e._addZoomFunction (leaflet-material.min.js:1)
at e.onAdd (leaflet-material.min.js:1)
at e.addTo (leaflet.js:9)
my code
var materialOptions = {
fab: true,
miniFab: true,
rippleEffect: true,
toolTips: false,
color: 'primary'
}
var map = L.map('regularMap').setView([mycoord, mycoord], 14);
var materialZoomControl = new L.materialControl.Zoom({position: 'topright', materialOptions: materialOptions}).addTo(map);
The text was updated successfully, but these errors were encountered: