<?xml version="1.0" encoding="utf-8"?> <mx:Application creationComplete="onCreationComplete()" xmlns:mx=http://www.adobe.com/2006/mxml xmlns:esri=http://www.esri.com/2008/ags> <mx:Script> <![CDATA[ [INDENT] [LEFT] privatefunction onCreationComplete() : void { var contextMenu:ContextMenu = new ContextMenu(); contextMenu.hideBuiltInItems(); myMap.contextMenu = contextMenu; contextMenu.customItems.push(new ContextMenuItem("Custom Menu Item",true)); } [/LEFT] [/INDENT] ]]> </mx:Script> <esri:Map id="myMap" width="100%"> <esri:ArcGISTiledMapServiceLayer url=" http://server.arcgisonline.com/ArcGIS/rest/services/USA_Topo_Maps/MapServer" /> </esri:Map> </mx:Application>
I'm developing an Adobe Air map application. Due to security requirements, it's crucial that the application does not provide the ability to open a browser window via any menus, etc.I just noticed that when you right-click on the map object, the context menu includes 'About ArcGIS for Flex', which opens up another window that has a link to the ESRI API site. Is there any way to over ride this behavior?Thanks
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.