Community
Participate
Working Groups
Please extend the existing map sample to show how to implement Diagram.Drop and Diagram.Node.Default actions. Maybe... Destination has a description and on default action, it opens a message box with description. Maybe... You can drop a text file of destination names and have the destinations created for you.
Let me help you with this one...
I implemented "show in wikipedia" as both a separate action visible in the node context menu and as implementation of the default node action. Activating this action opens a browser with wikipedia article on the destination. Works well if you use common city names as destinations. I had partial success implementing an example of a drop action handler. I'd like to be able to drop a file with a list of city names and create corresponding destinations on the map. I was not able to do that due to API limitations described in Bug 348673. For now, the drop action handler adds just the first city to the map. Leaving this open and blocked on Bug 348673.
Bug 348673 has been resolved. The map drop sample has been modified to support multiple destinations.
Looks good. Closing.