<script src="http://js.arcgis.com/3.7/"></script> <script> var map; require(["esri/map","dojox/mobile","dojo/domReady!"], function(Map, dojoxMobile){ map = new Map("map", {basemap: "topo", center: [-59.48, 44.066], zoom: 4}); map.on("click",function(evt){ console.log("mapPoint: " + evt.mapPoint.x + ", " + evt.mapPoint.y); console.log("evt: " + evt.x + ", " + evt.y); alert("mapPoint: " + evt.mapPoint.x + ", " + evt.mapPoint.y + "\nevt: " + evt.y + ", " + evt.x); }); }); </script>
document.dojoClick = false;
Los miembros registrados pueden publicar, seguir actualizaciones y más. ¿Nuevo aquí? Regístrate gratis.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.