You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was attempting to display a geometry collection using mapbox and ran up the stack until I saw the geometry model in this package, it appears it does not have the geometries field necessary for handling GeometryCollections.
Current logic
factory Geometry({
String? type,
dynamic coordinates,
}) =>
Geometry.fromJsObject(GeometryJsImpl(
type: type,
coordinates: coordinates,
));
/// Creates a new Geometry from a [jsObject].
Geometry.fromJsObject(GeometryJsImpl jsObject) : super.fromJsObject(jsObject);
I believe this needs to be updated to something like
I was attempting to display a geometry collection using mapbox and ran up the stack until I saw the
geometry
model in this package, it appears it does not have thegeometries
field necessary for handlingGeometryCollections
.Current logic
I believe this needs to be updated to something like
I've created the corresponding issue in the mapbox-gl-web repo:
flutter-mapbox-gl/maps#1017
An example of the type of data this will server would be:
Is this something that is on the roadmap, are there any limitations of adding this? I can image that if the
coordinates
are null, things might breakThe text was updated successfully, but these errors were encountered: