. . . 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); } }
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.