mapbox / mapbox.js-plugins

Hosted plugins for Leaflet & Mapbox.js
mapbox.com/mapbox.js/plugins/
BSD 2-Clause "Simplified" License
13 stars 16 forks source link

Problem displaying points at same position with TileLayer MapBox #14

Closed jkeruzec closed 10 years ago

jkeruzec commented 10 years ago

I'am using MapBox V1.6.2 and MarkerCluster plugin V0.4.0 and have problem displaying 2 markers pin at same point :

I explain the problem :

image

I have different translate3d(726px, 293px, 0px) for the two pin points.

image

The only difference in my code is that I download the Tile Layer adding : .addLayer(L.mapbox.tileLayer('examples.map-h61e8o8e')); to my L.mapbox.map('map')

tmcw commented 10 years ago

Please provide a working example with code.

jkeruzec commented 10 years ago

Thanks, I found a solution to this issue using https://github.com/Leaflet/Leaflet.markercluster/issues/283 & https://github.com/Leaflet/Leaflet.markercluster/issues/336.