Control the map

We are going to go through a few examples of controlling your map using the provided API.

 

* Set Drawing: Maps are composed of drawings. You can set a drawing using the _drawing_ method and specifying a drawing id  :  myVenue.drawing(did)

* Set Level: Drawings are composed of levels. You can set a level using the _level_ method and specifying a level id  :  myVenue.level(lid)

* Set Zoom: By providing a scale level you can set the zoom level. You can do so by using the _scale_ method  :  myVenue.scale(K)
 

Here is a working example