Documentation

Change map UI control position

You can change the level and drawing control UI position using Micello SDK. You can choose any of the four possible values, 'topleft', 'topright', 'bottomleft' and 'bottomright' for "levelUIPosition" and "drawingUIPosition" options. These options can be set at the time of the map load.

community = L.micello.community ( 78, {
    key: apikey,
    // change the control position
    levelUIPosition: "topright",
    drawingUIPosition: "topright"
}).addTo(map);

By default level and drawing control UI position is "topleft". In following example we have set the control UI position to the "topright".