. . . 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); } }
Přihlášení členové mohou přispívat, sledovat aktualizace a další. Jste tu noví? Zaregistrujte si bezplatný účet.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.