<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?
Aangemelde leden kunnen berichten plaatsen, updates volgen en meer. Nieuw hier? Registreer een gratis account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.