Documentation

Do not Center to Community

centerCommunity property while initializing a map determines if the map will be repositioned at the center coordinates of the community and the initial view of the community is fit into the viewport bounds. Setting this to true also makes the Leaflet map options "center" and "zoom" optional at instantiation because the centerCommunity feature will handle this task. If false, the position remains as set during the Leaflet instantiation with no bounding update and the "center" and "zoom" option are required.

Default value of the property is set to true. If you do not want to center the leaflet map to the center of the micello community then set the property value to false.

​L.micello.loader.on("indoorReady", function(e) {
    community = L.micello.community(78, {
        key: apikey,
        centerCommunity: false
    }).addTo(map);
});