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. }
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.