hayeswise / iitc-addremovemarker

IITC plugin: Add Marker and Remove Marker
MIT License
0 stars 1 forks source link

Use instanceof lmarker in removeMarker #6

Closed hayeswise closed 7 years ago

hayeswise commented 7 years ago

Check for marker using Instanceof L.Marker in removeMarker instead of checking for existance of layer.latLng method