Interface LeafletModel
public interface LeafletModel
State model of the
LeafletMap component, holding the map options and
the registered event types.-
Method Summary
Modifier and TypeMethodDescriptiondefault List<LeafletEventType> Returns the list of Leaflet event types registered on the map.Returns the current map options.voidsetMapOptions(MapOptions mapOptions) Sets the map options.
-
Method Details
-
getMapOptions
MapOptions getMapOptions()Returns the current map options.- Returns:
- the map options
-
setMapOptions
Sets the map options.- Parameters:
mapOptions- the map options to set
-
getEvents
Returns the list of Leaflet event types registered on the map.- Returns:
- the registered event types
-