<esri:Map id="myMap" mapClick="map_mapClickHandler(event)"
private function myMap_mapClickHandler(event:MapMouseEvent):void { // set the selection query based on the click var vPt:MapPoint = event.mapPoint; mapClickPoint = event.mapPoint; var vX:Number = vPt.x; var vY:Number = vPt.y; var vExtent:Extent = new Extent(vX - 20, vY - 20,vX + 20, vY + 20); queryMapClick.geometry = vExtent; streetLightSelection.selectFeatures(queryMapClick); myMap.infoWindow.hide(); }
Hi Matt,What's the application dpi you use? 160?
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.