By Ricky Brundritt, EMEA Bing Maps Technology Solution Professional
In September of 2011 we started the Bing Maps Samples Project. The purpose of this project was to create a centralized location where developers could find and share useful modules that expand the functionality of the Bing Maps Web SDK. Since the start of the project, we’ve had 12 modules submitted and a handful of new modules currently in development. It’s safe to say that this project is absolutely worth looking into.
Today I would like to highlight the "drag" related samples that were added to the project:
Drag samples
Bing Maps Samples (bingmapsportal.com) include:
Get Dragged Route Waypoints This sample shows how to use the directions managers getAllWaypoints function to retrieve all the waypoints used to generate a route | ||
GeoJSON Drag & Drop This code examples shows how to enable drag and drop a local GeoJSON file onto a map. | ||
Draggable Pushpin This sample shows three pushpins. The green pushpin is draggable and has events attached to it. |
Draggable Shape & Toolbox Samples
Draggable Shapes This sample shows how to drag a shape by pixels or geo.. | ||
Fully Custom Drawing Toolbar Create your own fully custom drawing toolbar and controls. |
Find all of these and more at https://samples.bingmapsportal.com/ along with the link to the GITHUB Repository where the full source for all of the samples can be found.