InterractiveMapLayer class
Constructors
-
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, List<Object> >Polyline< ? polylines, List<Object> >Marker> ? markers, void onTapDownLayer(InterractiveMapLayerTapDown interaction)?, void onHoverLayer(InterractiveMapLayerHover? interaction)?, @Deprecated("Use onTapDownLayer & onHoverLayer instead, they directly provide the hit objects") List<Polygon< polygonsFromHitValues(List<Object> >Object> hitValues)?}) - Constructor
Properties
- displayLogic → DisplayPolygonLayerLogic?
-
Not coded yet,but reprensent the basis of conditionnal displaying of the layers
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- isInterractive → bool
-
if false, layer will bypass pointer event and let them pass through it
for exemple: It is useful to set it to false when you need to draw the hovered polygons
final
-
markers
→ List<
Marker> ? -
final
- onHoverLayer → void Function(InterractiveMapLayerHover? interaction)?
-
final
- onTapDownLayer → void Function(InterractiveMapLayerTapDown interaction)?
-
final
-
polygons
→ List<
Polygon< ?Object> > -
final
-
polygonsFromHitValues
→ List<
Polygon< Function(List<Object> >Object> hitValues)? -
final
-
polylines
→ List<
Polyline< ?Object> > -
final
-
renderOrder
→ List<
MapLayerType> -
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
buildOrderedLayerElements(
) → List< Widget> - Rendu du groupe entier selon l'odonnemencement choisi
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited