Back to
Tell Your Story with Maps

Drawing Manager Example

The DrawingManager class gives the map user the ability to draw circles, rectangles, and free style polygons on the map and retrieve the coordinates of these objects.

Draw a rectangle on the map in Vancouver, then click Get Population to get the population within the rectangle.

Behind the scenes, there is a server side lookup to a MySQL database to retrieve these data.