The clustering sample loads a .json file and creates clusters from it.
map.on("load", function() { domStyle.set(query("a.action.zoomTo")[0], "display", "none"); var photos = esriRequest({ "url": "data/1000-photos.json", "handleAs": "json" }); photos.then(addClusters, error); });
Angemeldete Mitglieder können Beiträge verfassen, Updates folgen und mehr. Neu hier? Registriere ein kostenloses Konto.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.