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. }
Membros conectados podem postar, seguir atualizações e mais. Novo aqui? Registre uma conta gratuita.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.