开发者

Making a dynamically-created label in Flex/ArcGIS a clickable hyperlink

开发者 https://www.devze.com 2022-12-21 21:58 出处:网络
I have an ArcGIS map created with Flex. The labels created dynamically are the towns on the map. We have some PDF files that have some information about the towns on the map.

I have an ArcGIS map created with Flex. The labels created dynamically are the towns on the map. We have some PDF files that have some information about the towns on the map.

Is there a way to make those town labe开发者_运维技巧ls clickable so that they can display the PDF information on a new page?


There is a way :

var u:URLRequest=new URLRequest(pathToPdf); 
navigateToURL(u,"_blank");
0

精彩评论

暂无评论...
验证码 换一张
取 消