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. }
Les membres connectés peuvent publier, suivre les mises à jour, et plus encore. Nouveau ici ? Inscrivez-vous gratuitement.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.