InterractiveMapLayer constructor
InterractiveMapLayer({
- List<
MapLayerType> renderOrder = const [MapLayerType.polygons, MapLayerType.polylines, MapLayerType.markers], - bool isInterractive = true,
- @Deprecated("too specialized logic, must be implemented out the package, this will be removed soon") DisplayPolygonLayerLogic? displayLogic,
- List<
Polygon< ? polygons,Object> > - List<
Polyline< ? polylines,Object> > - List<
Marker> ? markers, - void onTapDownLayer(
- InterractiveMapLayerTapDown interaction
- void onHoverLayer(
- InterractiveMapLayerHover? interaction
- @Deprecated("Use onTapDownLayer & onHoverLayer instead, they directly provide the hit objects") List<
Polygon< polygonsFromHitValues()?,Object> >
Constructor
Implementation
InterractiveMapLayer({
this.renderOrder = const [
MapLayerType.polygons,
MapLayerType.polylines,
MapLayerType.markers,
], // by default, will draw polygons as backdrop, then polylines in the middle layer, then marker on top
this.isInterractive = true,
@Deprecated("too specialized logic, must be implemented out the package, this will be removed soon")
this.displayLogic,
this.polygons,
this.polylines,
this.markers,
this.onTapDownLayer,
this.onHoverLayer,
@Deprecated("Use onTapDownLayer & onHoverLayer instead, they directly provide the hit objects")
this.polygonsFromHitValues,
});