cutting-room-floor / markers.js

DEPRECATED: USE MAPBOX.JS
http://mapbox.com/mapbox.js
BSD 3-Clause "New" or "Revised" License
18 stars 9 forks source link

Only clear the markers cache for markers created by `features()` #53

Closed Swatinem closed 11 years ago

Swatinem commented 11 years ago

This fixes the problem that tooltips are themselves just markers but don’t share the same data and are not added to the marker cache at all. See https://github.com/mapbox/markers.js/pull/52#issuecomment-14909544