Original User: stevelIt looks like the spatial reference of the point feature layer may be incorrect in the JS example - are you able to verify it?There is a section in that sample (around line 123 script esri.ux.layers.ClusterLayer-debug.js) which handles projections:
//this function may not be needed exactly as is below. somehow, the attributes need to be mapped to the points.
setFeatures: function(features) {
this._features = [];
var wkid = features[0].geometry.spatialReference.wkid;
if (wkid != 102113) {
if (wkid == 4326 || wkid == 4269 || wkid == 4267) {
dojo.forEach(features, function(feature) {
point = esri.geometry.geographicToWebMercator(feature.geometry);
point.attributes = feature.attributes;
this._features.push(point);
}, this);
} else {
throw 'Input Spatial Reference Must Be in Either WKID: 102110 or WKID: 4326';
return;
}
Perhaps try putting a breakpoint on this section and step through the code. Are you able to post a link to your site?Steve