dojo.extend(esri.geometry.Point, { attributes: null });
var geoms = dojo.array(graphics, function(aGraphic) { return aGraphic.geometry; }); geomService.project(geoms, function(geometries) { onProjectCompleteHandler(geometries, graphics); }); function onProjectCompleteHandler(geometries, graphics) { dojo.array(graphics, function(aGraphic, idx) { aGraphic.setGeometry(geometries[idx]); }); // graphics should contain the projected geometries, and their attributes. }
Přihlášení členové mohou přispívat, sledovat aktualizace a další. Jste tu noví? Zaregistrujte si bezplatný účet.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.