Hi All,I would like to select specific text from the Infowindow and copy it to clipboard. Right now I am able to copy entire window. But my requirement is to select specific string and copy it to clipboard. Any help would be appreciated.Here is my code:private function onMapClick(event:MapMouseEvent):void { var latlong:MapPoint = WebMercatorUtil.webMercatorToGeographic(event.mapPoint) as MapPoint; myMap.infoWindow.label = "Lat/Long: " + latlong.y.toFixed(6) + "/ " + latlong.x.toFixed(6); myMap.infoWindow.show(event.mapPoint); System.setClipboard(myMap.infoWindow.label); }Thanks,Sam
What is the specific string that you want to copy to your clipboard? The Lat and Long value?
Angemeldete Mitglieder können Beiträge verfassen, Updates folgen und mehr. Neu hier? Registriere ein kostenloses Konto.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.