. . . Alert.noLabel = noLabel; }); var cmi:ContextMenuItem = new ContextMenuItem("Copy Lat, Long to clipboard", true); if (map.contextMenu) { // call contextMenu dynamically so this will compile in AIR if (map.contextMenu["customItems"] is Array) { (map.contextMenu["customItems"] as Array).push(menuItem); (map.contextMenu["customItems"] as Array).push(cmi); } else if (map.contextMenu["addItem"]) { map.contextMenu["addItem"](menuItem); } }
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.