Isoline class

Una isócrona: el polígono de lo alcanzable dentro de un umbral.

Google no tiene esto. Es la operación que responde «¿hasta dónde pudo llegar en ocho minutos?» sin calcular mil rutas.

Annotations
  • @immutable

Constructors

Isoline({required List<List<List<LatLng>>> polygons, double? distanceThresholdMeters, Duration? timeThreshold})
Crea la isócrona.
const
Isoline.fromJson(Map<String, dynamic> json)
Lee la isócrona de la respuesta del servicio.
factory

Properties

distanceThresholdMeters double?
El umbral de distancia de esta isócrona, si se pidió por distancia.
final
hashCode int
The hash code for this object.
no setterinherited
outerRing List<LatLng>
El contorno del polígono principal, que es lo que se pinta casi siempre.
no setter
pointCount int
Cuántos puntos tiene en total.
no setter
polygons List<List<List<LatLng>>>
Los polígonos. Cada uno es una lista de anillos: el primero es el contorno y los siguientes, los agujeros.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
timeThreshold Duration?
El umbral de tiempo, si se pidió por tiempo.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited