I am displaying some data on a map using the ClusterLayer from ArcGIS Javascript examples.The map is created with those options
map = new esri.Map("map", {
extent: initExtent,
infoWindow: popup,
"fadeOnZoom": true,
"force3DTransforms": true,
"navigationMode": "css-transforms",
"slider": true,
"nav": false,
"wrapAround180": true
});
where the popup is created like this:var popup = new esri.dijit.Popup(null, dojo.create("div"));
The cluster layer is created using this code:
var popupTemplate = new esri.dijit.PopupTemplate({
description: "{description}"
});
// cluster layer that uses OpenLayers style clustering
clusterLayer = new extras.ClusterLayer({
"data": photoInfo.data,
"distance": 50,
"id": "clusters",
"labelColor": "#fff",
"labelOffset": 10,
"resolution": map.extent.getWidth() / map.width,
"singleColor": "#888",
"singleTemplate": popupTemplate
});
When the map is displayed I can click on a cluster and the popup appears correctly.If I slide (wrap?) the map far enough to the left I can see the point representing a cluster disappear to the leftand appear to the right at the correct position. But if I click on the point at this time the popupdoesn't appear or it appears on the far left side of the map. Basically the popup appearsto be associated with the old position of the cluster and it doesn't get updated with the newposition after the map wraps around.Could this be a misconfiguration on my part or is there a bug in the ClusterLayer?