addPropertyLayer
open fun addPropertyLayer(propertyId: Int, @Nullable vectorElementEventListener: VectorElementEventListener, @Nullable vectorTileClickedListener: IMapstedVectorTileClicked, @NonNull mapViewAndBaseProjectionProvider: MapViewAndBaseProjectionProvider, mapApi: MapApi, callback: Consumer<Boolean>)
Call this function to add new property layer of a property.
Parameters
propertyId
the id of the property for which the property layer needs to get stored
vectorElementEventListener
listener for when the user clicks on vector elements.
vectorTileClickedListener
listener for when user clicks on vector tiles.
mapViewAndBaseProjectionProvider
the MainMapFragment
mapApi
the map api
callback
notifies when complete