diff --git a/android/src/main/kotlin/com/mapbox/maps/mapbox_maps/pigeons/MapInterfaces.kt b/android/src/main/kotlin/com/mapbox/maps/mapbox_maps/pigeons/MapInterfaces.kt index 5c79a252..c788fbc3 100644 --- a/android/src/main/kotlin/com/mapbox/maps/mapbox_maps/pigeons/MapInterfaces.kt +++ b/android/src/main/kotlin/com/mapbox/maps/mapbox_maps/pigeons/MapInterfaces.kt @@ -2084,295 +2084,315 @@ private open class MapInterfacesPigeonCodec : StandardMessageCodec() { } 138.toByte() -> { return (readValue(buffer) as Long?)?.let { - FillExtrusionBaseAlignment.ofRaw(it.toInt()) + Type.ofRaw(it.toInt()) } } 139.toByte() -> { return (readValue(buffer) as Long?)?.let { - FillExtrusionHeightAlignment.ofRaw(it.toInt()) + FillExtrusionBaseAlignment.ofRaw(it.toInt()) } } 140.toByte() -> { return (readValue(buffer) as Long?)?.let { - BackgroundPitchAlignment.ofRaw(it.toInt()) + FillExtrusionHeightAlignment.ofRaw(it.toInt()) } } 141.toByte() -> { return (readValue(buffer) as Long?)?.let { - StylePackErrorType.ofRaw(it.toInt()) + BackgroundPitchAlignment.ofRaw(it.toInt()) } } 142.toByte() -> { return (readValue(buffer) as Long?)?.let { - ResponseErrorReason.ofRaw(it.toInt()) + StylePackErrorType.ofRaw(it.toInt()) } } 143.toByte() -> { return (readValue(buffer) as Long?)?.let { - OfflineRegionDownloadState.ofRaw(it.toInt()) + ResponseErrorReason.ofRaw(it.toInt()) } } 144.toByte() -> { return (readValue(buffer) as Long?)?.let { - TileStoreUsageMode.ofRaw(it.toInt()) + OfflineRegionDownloadState.ofRaw(it.toInt()) } } 145.toByte() -> { return (readValue(buffer) as Long?)?.let { - StylePropertyValueKind.ofRaw(it.toInt()) + TileStoreUsageMode.ofRaw(it.toInt()) } } 146.toByte() -> { return (readValue(buffer) as Long?)?.let { - StyleProjectionName.ofRaw(it.toInt()) + StylePropertyValueKind.ofRaw(it.toInt()) } } 147.toByte() -> { return (readValue(buffer) as Long?)?.let { - Anchor.ofRaw(it.toInt()) + StyleProjectionName.ofRaw(it.toInt()) } } 148.toByte() -> { return (readValue(buffer) as Long?)?.let { - HttpMethod.ofRaw(it.toInt()) + Anchor.ofRaw(it.toInt()) } } 149.toByte() -> { return (readValue(buffer) as Long?)?.let { - HttpRequestErrorType.ofRaw(it.toInt()) + HttpMethod.ofRaw(it.toInt()) } } 150.toByte() -> { return (readValue(buffer) as Long?)?.let { - DownloadErrorCode.ofRaw(it.toInt()) + HttpRequestErrorType.ofRaw(it.toInt()) } } 151.toByte() -> { return (readValue(buffer) as Long?)?.let { - DownloadState.ofRaw(it.toInt()) + DownloadErrorCode.ofRaw(it.toInt()) } } 152.toByte() -> { return (readValue(buffer) as Long?)?.let { - TileRegionErrorType.ofRaw(it.toInt()) + DownloadState.ofRaw(it.toInt()) } } 153.toByte() -> { return (readValue(buffer) as Long?)?.let { - _MapEvent.ofRaw(it.toInt()) + TileRegionErrorType.ofRaw(it.toInt()) } } 154.toByte() -> { - return (readValue(buffer) as? List)?.let { - PointDecoder.fromList(it) + return (readValue(buffer) as Long?)?.let { + _MapEvent.ofRaw(it.toInt()) } } 155.toByte() -> { return (readValue(buffer) as? List)?.let { - FeatureDecoder.fromList(it) + PointDecoder.fromList(it) } } 156.toByte() -> { return (readValue(buffer) as? List)?.let { - GlyphsRasterizationOptions.fromList(it) + FeatureDecoder.fromList(it) } } 157.toByte() -> { return (readValue(buffer) as? List)?.let { - TileCoverOptions.fromList(it) + GlyphsRasterizationOptions.fromList(it) } } 158.toByte() -> { return (readValue(buffer) as? List)?.let { - MbxEdgeInsets.fromList(it) + TileCoverOptions.fromList(it) } } 159.toByte() -> { return (readValue(buffer) as? List)?.let { - CameraOptions.fromList(it) + MbxEdgeInsets.fromList(it) } } 160.toByte() -> { return (readValue(buffer) as? List)?.let { - CameraState.fromList(it) + CameraOptions.fromList(it) } } 161.toByte() -> { return (readValue(buffer) as? List)?.let { - CameraBoundsOptions.fromList(it) + CameraState.fromList(it) } } 162.toByte() -> { return (readValue(buffer) as? List)?.let { - CameraBounds.fromList(it) + CameraBoundsOptions.fromList(it) } } 163.toByte() -> { return (readValue(buffer) as? List)?.let { - MapAnimationOptions.fromList(it) + CameraBounds.fromList(it) } } 164.toByte() -> { return (readValue(buffer) as? List)?.let { - CoordinateBounds.fromList(it) + MapAnimationOptions.fromList(it) } } 165.toByte() -> { return (readValue(buffer) as? List)?.let { - MapDebugOptions.fromList(it) + CoordinateBounds.fromList(it) } } 166.toByte() -> { return (readValue(buffer) as? List)?.let { - TileCacheBudgetInMegabytes.fromList(it) + MapDebugOptions.fromList(it) } } 167.toByte() -> { return (readValue(buffer) as? List)?.let { - TileCacheBudgetInTiles.fromList(it) + TileCacheBudgetInMegabytes.fromList(it) } } 168.toByte() -> { return (readValue(buffer) as? List)?.let { - MapOptions.fromList(it) + TileCacheBudgetInTiles.fromList(it) } } 169.toByte() -> { return (readValue(buffer) as? List)?.let { - ScreenCoordinate.fromList(it) + MapOptions.fromList(it) } } 170.toByte() -> { return (readValue(buffer) as? List)?.let { - ScreenBox.fromList(it) + ScreenCoordinate.fromList(it) } } 171.toByte() -> { return (readValue(buffer) as? List)?.let { - CoordinateBoundsZoom.fromList(it) + ScreenBox.fromList(it) } } 172.toByte() -> { return (readValue(buffer) as? List)?.let { - Size.fromList(it) + CoordinateBoundsZoom.fromList(it) } } 173.toByte() -> { return (readValue(buffer) as? List)?.let { - RenderedQueryOptions.fromList(it) + Size.fromList(it) } } 174.toByte() -> { return (readValue(buffer) as? List)?.let { - SourceQueryOptions.fromList(it) + RenderedQueryOptions.fromList(it) } } 175.toByte() -> { return (readValue(buffer) as? List)?.let { - FeatureExtensionValue.fromList(it) + SourceQueryOptions.fromList(it) } } 176.toByte() -> { return (readValue(buffer) as? List)?.let { - LayerPosition.fromList(it) + FeatureExtensionValue.fromList(it) } } 177.toByte() -> { return (readValue(buffer) as? List)?.let { - QueriedRenderedFeature.fromList(it) + LayerPosition.fromList(it) } } 178.toByte() -> { return (readValue(buffer) as? List)?.let { - QueriedSourceFeature.fromList(it) + QueriedRenderedFeature.fromList(it) } } 179.toByte() -> { return (readValue(buffer) as? List)?.let { - QueriedFeature.fromList(it) + QueriedSourceFeature.fromList(it) } } 180.toByte() -> { return (readValue(buffer) as? List)?.let { - _RenderedQueryGeometry.fromList(it) + QueriedFeature.fromList(it) } } 181.toByte() -> { return (readValue(buffer) as? List)?.let { - ProjectedMeters.fromList(it) + FeaturesetFeatureId.fromList(it) } } 182.toByte() -> { return (readValue(buffer) as? List)?.let { - MercatorCoordinate.fromList(it) + Interaction.fromList(it) } } 183.toByte() -> { return (readValue(buffer) as? List)?.let { - StyleObjectInfo.fromList(it) + TypedFeaturesetDescriptor.fromList(it) } } 184.toByte() -> { return (readValue(buffer) as? List)?.let { - StyleProjection.fromList(it) + FeaturesetDescriptor.fromList(it) } } 185.toByte() -> { return (readValue(buffer) as? List)?.let { - FlatLight.fromList(it) + FeaturesetFeature.fromList(it) } } 186.toByte() -> { return (readValue(buffer) as? List)?.let { - DirectionalLight.fromList(it) + FeaturesetQueryTarget.fromList(it) } } 187.toByte() -> { return (readValue(buffer) as? List)?.let { - AmbientLight.fromList(it) + _RenderedQueryGeometry.fromList(it) } } 188.toByte() -> { return (readValue(buffer) as? List)?.let { - MbxImage.fromList(it) + ProjectedMeters.fromList(it) } } 189.toByte() -> { return (readValue(buffer) as? List)?.let { - ImageStretches.fromList(it) + MercatorCoordinate.fromList(it) } } 190.toByte() -> { return (readValue(buffer) as? List)?.let { - ImageContent.fromList(it) + StyleObjectInfo.fromList(it) } } 191.toByte() -> { return (readValue(buffer) as? List)?.let { - TransitionOptions.fromList(it) + StyleProjection.fromList(it) } } 192.toByte() -> { return (readValue(buffer) as? List)?.let { - CanonicalTileID.fromList(it) + FlatLight.fromList(it) } } 193.toByte() -> { return (readValue(buffer) as? List)?.let { - ImageContent.fromList(it) + DirectionalLight.fromList(it) + } + } + 194.toByte() -> { + return (readValue(buffer) as? List)?.let { + AmbientLight.fromList(it) } } 195.toByte() -> { return (readValue(buffer) as? List)?.let { - TransitionOptions.fromList(it) + MbxImage.fromList(it) } } 196.toByte() -> { return (readValue(buffer) as? List)?.let { - CanonicalTileID.fromList(it) + ImageStretches.fromList(it) } } 197.toByte() -> { + return (readValue(buffer) as? List)?.let { + ImageContent.fromList(it) + } + } + 198.toByte() -> { + return (readValue(buffer) as? List)?.let { + TransitionOptions.fromList(it) + } + } + 199.toByte() -> { + return (readValue(buffer) as? List)?.let { + CanonicalTileID.fromList(it) + } + } + 200.toByte() -> { return (readValue(buffer) as? List)?.let { StylePropertyValue.fromList(it) } @@ -2418,242 +2438,258 @@ private open class MapInterfacesPigeonCodec : StandardMessageCodec() { stream.write(137) writeValue(stream, value.raw) } - is FillExtrusionBaseAlignment -> { + is Type -> { stream.write(138) writeValue(stream, value.raw) } - is FillExtrusionHeightAlignment -> { + is FillExtrusionBaseAlignment -> { stream.write(139) writeValue(stream, value.raw) } - is BackgroundPitchAlignment -> { + is FillExtrusionHeightAlignment -> { stream.write(140) writeValue(stream, value.raw) } - is StylePackErrorType -> { + is BackgroundPitchAlignment -> { stream.write(141) writeValue(stream, value.raw) } - is ResponseErrorReason -> { + is StylePackErrorType -> { stream.write(142) writeValue(stream, value.raw) } - is OfflineRegionDownloadState -> { + is ResponseErrorReason -> { stream.write(143) writeValue(stream, value.raw) } - is TileStoreUsageMode -> { + is OfflineRegionDownloadState -> { stream.write(144) writeValue(stream, value.raw) } - is StylePropertyValueKind -> { + is TileStoreUsageMode -> { stream.write(145) writeValue(stream, value.raw) } - is StyleProjectionName -> { + is StylePropertyValueKind -> { stream.write(146) writeValue(stream, value.raw) } - is Anchor -> { + is StyleProjectionName -> { stream.write(147) writeValue(stream, value.raw) } - is HttpMethod -> { + is Anchor -> { stream.write(148) writeValue(stream, value.raw) } - is HttpRequestErrorType -> { + is HttpMethod -> { stream.write(149) writeValue(stream, value.raw) } - is DownloadErrorCode -> { + is HttpRequestErrorType -> { stream.write(150) writeValue(stream, value.raw) } - is DownloadState -> { + is DownloadErrorCode -> { stream.write(151) writeValue(stream, value.raw) } - is TileRegionErrorType -> { + is DownloadState -> { stream.write(152) writeValue(stream, value.raw) } - is _MapEvent -> { + is TileRegionErrorType -> { stream.write(153) writeValue(stream, value.raw) } - is Point -> { + is _MapEvent -> { stream.write(154) - writeValue(stream, value.toList()) + writeValue(stream, value.raw) } - is Feature -> { + is Point -> { stream.write(155) writeValue(stream, value.toList()) } - is GlyphsRasterizationOptions -> { + is Feature -> { stream.write(156) writeValue(stream, value.toList()) } - is TileCoverOptions -> { + is GlyphsRasterizationOptions -> { stream.write(157) writeValue(stream, value.toList()) } - is MbxEdgeInsets -> { + is TileCoverOptions -> { stream.write(158) writeValue(stream, value.toList()) } - is CameraOptions -> { + is MbxEdgeInsets -> { stream.write(159) writeValue(stream, value.toList()) } - is CameraState -> { + is CameraOptions -> { stream.write(160) writeValue(stream, value.toList()) } - is CameraBoundsOptions -> { + is CameraState -> { stream.write(161) writeValue(stream, value.toList()) } - is CameraBounds -> { + is CameraBoundsOptions -> { stream.write(162) writeValue(stream, value.toList()) } - is MapAnimationOptions -> { + is CameraBounds -> { stream.write(163) writeValue(stream, value.toList()) } - is CoordinateBounds -> { + is MapAnimationOptions -> { stream.write(164) writeValue(stream, value.toList()) } - is MapDebugOptions -> { + is CoordinateBounds -> { stream.write(165) writeValue(stream, value.toList()) } - is TileCacheBudgetInMegabytes -> { + is MapDebugOptions -> { stream.write(166) writeValue(stream, value.toList()) } - is TileCacheBudgetInTiles -> { + is TileCacheBudgetInMegabytes -> { stream.write(167) writeValue(stream, value.toList()) } - is MapOptions -> { + is TileCacheBudgetInTiles -> { stream.write(168) writeValue(stream, value.toList()) } - is ScreenCoordinate -> { + is MapOptions -> { stream.write(169) writeValue(stream, value.toList()) } - is ScreenBox -> { + is ScreenCoordinate -> { stream.write(170) writeValue(stream, value.toList()) } - is CoordinateBoundsZoom -> { + is ScreenBox -> { stream.write(171) writeValue(stream, value.toList()) } - is Size -> { + is CoordinateBoundsZoom -> { stream.write(172) writeValue(stream, value.toList()) } - is RenderedQueryOptions -> { + is Size -> { stream.write(173) writeValue(stream, value.toList()) } - is SourceQueryOptions -> { + is RenderedQueryOptions -> { stream.write(174) writeValue(stream, value.toList()) } - is FeatureExtensionValue -> { + is SourceQueryOptions -> { stream.write(175) writeValue(stream, value.toList()) } - is LayerPosition -> { + is FeatureExtensionValue -> { stream.write(176) writeValue(stream, value.toList()) } - is QueriedRenderedFeature -> { + is LayerPosition -> { stream.write(177) writeValue(stream, value.toList()) } - is QueriedSourceFeature -> { + is QueriedRenderedFeature -> { stream.write(178) writeValue(stream, value.toList()) } - is QueriedFeature -> { + is QueriedSourceFeature -> { stream.write(179) writeValue(stream, value.toList()) } - is _RenderedQueryGeometry -> { + is QueriedFeature -> { stream.write(180) writeValue(stream, value.toList()) } - is ProjectedMeters -> { + is FeaturesetFeatureId -> { stream.write(181) writeValue(stream, value.toList()) } - is MercatorCoordinate -> { + is Interaction -> { stream.write(182) writeValue(stream, value.toList()) } - is StyleObjectInfo -> { + is TypedFeaturesetDescriptor -> { stream.write(183) writeValue(stream, value.toList()) } - is StyleProjection -> { + is FeaturesetDescriptor -> { stream.write(184) writeValue(stream, value.toList()) } - is FlatLight -> { + is FeaturesetFeature -> { stream.write(185) writeValue(stream, value.toList()) } - is DirectionalLight -> { + is FeaturesetQueryTarget -> { stream.write(186) writeValue(stream, value.toList()) } - is AmbientLight -> { + is _RenderedQueryGeometry -> { stream.write(187) writeValue(stream, value.toList()) } - is MbxImage -> { + is ProjectedMeters -> { stream.write(188) writeValue(stream, value.toList()) } - is ImageStretches -> { + is MercatorCoordinate -> { stream.write(189) writeValue(stream, value.toList()) } - is ImageContent -> { + is StyleObjectInfo -> { stream.write(190) writeValue(stream, value.toList()) } - is TransitionOptions -> { + is StyleProjection -> { stream.write(191) writeValue(stream, value.toList()) } - is CanonicalTileID -> { + is FlatLight -> { stream.write(192) writeValue(stream, value.toList()) } - is StylePropertyValue -> { + is DirectionalLight -> { stream.write(193) writeValue(stream, value.toList()) } - is TransitionOptions -> { + is AmbientLight -> { + stream.write(194) + writeValue(stream, value.toList()) + } + is MbxImage -> { stream.write(195) writeValue(stream, value.toList()) } - is CanonicalTileID -> { + is ImageStretches -> { stream.write(196) writeValue(stream, value.toList()) } - is StylePropertyValue -> { + is ImageContent -> { stream.write(197) writeValue(stream, value.toList()) } + is TransitionOptions -> { + stream.write(198) + writeValue(stream, value.toList()) + } + is CanonicalTileID -> { + stream.write(199) + writeValue(stream, value.toList()) + } + is StylePropertyValue -> { + stream.write(200) + writeValue(stream, value.toList()) + } else -> super.writeValue(stream, value) } } diff --git a/ios/mapbox_maps_flutter/Sources/mapbox_maps_flutter/Classes/Generated/MapInterfaces.swift b/ios/mapbox_maps_flutter/Sources/mapbox_maps_flutter/Classes/Generated/MapInterfaces.swift index 8c3467aa..0f61e792 100644 --- a/ios/mapbox_maps_flutter/Sources/mapbox_maps_flutter/Classes/Generated/MapInterfaces.swift +++ b/ios/mapbox_maps_flutter/Sources/mapbox_maps_flutter/Classes/Generated/MapInterfaces.swift @@ -1981,178 +1981,196 @@ private class MapInterfacesPigeonCodecReader: FlutterStandardReader { case 138: let enumResultAsInt: Int? = nilOrValue(self.readValue() as! Int?) if let enumResultAsInt = enumResultAsInt { - return FillExtrusionBaseAlignment(rawValue: enumResultAsInt) + return Type(rawValue: enumResultAsInt) } return nil case 139: let enumResultAsInt: Int? = nilOrValue(self.readValue() as! Int?) if let enumResultAsInt = enumResultAsInt { - return FillExtrusionHeightAlignment(rawValue: enumResultAsInt) + return FillExtrusionBaseAlignment(rawValue: enumResultAsInt) } return nil case 140: let enumResultAsInt: Int? = nilOrValue(self.readValue() as! Int?) if let enumResultAsInt = enumResultAsInt { - return BackgroundPitchAlignment(rawValue: enumResultAsInt) + return FillExtrusionHeightAlignment(rawValue: enumResultAsInt) } return nil case 141: let enumResultAsInt: Int? = nilOrValue(self.readValue() as! Int?) if let enumResultAsInt = enumResultAsInt { - return StylePackErrorType(rawValue: enumResultAsInt) + return BackgroundPitchAlignment(rawValue: enumResultAsInt) } return nil case 142: let enumResultAsInt: Int? = nilOrValue(self.readValue() as! Int?) if let enumResultAsInt = enumResultAsInt { - return ResponseErrorReason(rawValue: enumResultAsInt) + return StylePackErrorType(rawValue: enumResultAsInt) } return nil case 143: let enumResultAsInt: Int? = nilOrValue(self.readValue() as! Int?) if let enumResultAsInt = enumResultAsInt { - return OfflineRegionDownloadState(rawValue: enumResultAsInt) + return ResponseErrorReason(rawValue: enumResultAsInt) } return nil case 144: let enumResultAsInt: Int? = nilOrValue(self.readValue() as! Int?) if let enumResultAsInt = enumResultAsInt { - return TileStoreUsageMode(rawValue: enumResultAsInt) + return OfflineRegionDownloadState(rawValue: enumResultAsInt) } return nil case 145: let enumResultAsInt: Int? = nilOrValue(self.readValue() as! Int?) if let enumResultAsInt = enumResultAsInt { - return StylePropertyValueKind(rawValue: enumResultAsInt) + return TileStoreUsageMode(rawValue: enumResultAsInt) } return nil case 146: let enumResultAsInt: Int? = nilOrValue(self.readValue() as! Int?) if let enumResultAsInt = enumResultAsInt { - return StyleProjectionName(rawValue: enumResultAsInt) + return StylePropertyValueKind(rawValue: enumResultAsInt) } return nil case 147: let enumResultAsInt: Int? = nilOrValue(self.readValue() as! Int?) if let enumResultAsInt = enumResultAsInt { - return Anchor(rawValue: enumResultAsInt) + return StyleProjectionName(rawValue: enumResultAsInt) } return nil case 148: let enumResultAsInt: Int? = nilOrValue(self.readValue() as! Int?) if let enumResultAsInt = enumResultAsInt { - return HttpMethod(rawValue: enumResultAsInt) + return Anchor(rawValue: enumResultAsInt) } return nil case 149: let enumResultAsInt: Int? = nilOrValue(self.readValue() as! Int?) if let enumResultAsInt = enumResultAsInt { - return HttpRequestErrorType(rawValue: enumResultAsInt) + return HttpMethod(rawValue: enumResultAsInt) } return nil case 150: let enumResultAsInt: Int? = nilOrValue(self.readValue() as! Int?) if let enumResultAsInt = enumResultAsInt { - return DownloadErrorCode(rawValue: enumResultAsInt) + return HttpRequestErrorType(rawValue: enumResultAsInt) } return nil case 151: let enumResultAsInt: Int? = nilOrValue(self.readValue() as! Int?) if let enumResultAsInt = enumResultAsInt { - return DownloadState(rawValue: enumResultAsInt) + return DownloadErrorCode(rawValue: enumResultAsInt) } return nil case 152: let enumResultAsInt: Int? = nilOrValue(self.readValue() as! Int?) if let enumResultAsInt = enumResultAsInt { - return TileRegionErrorType(rawValue: enumResultAsInt) + return DownloadState(rawValue: enumResultAsInt) } return nil case 153: let enumResultAsInt: Int? = nilOrValue(self.readValue() as! Int?) if let enumResultAsInt = enumResultAsInt { - return _MapEvent(rawValue: enumResultAsInt) + return TileRegionErrorType(rawValue: enumResultAsInt) } return nil case 154: - return Point.fromList(self.readValue() as! [Any?]) + let enumResultAsInt: Int? = nilOrValue(self.readValue() as! Int?) + if let enumResultAsInt = enumResultAsInt { + return _MapEvent(rawValue: enumResultAsInt) + } + return nil case 155: - return Feature.fromList(self.readValue() as! [Any?]) + return Point.fromList(self.readValue() as! [Any?]) case 156: - return GlyphsRasterizationOptions.fromList(self.readValue() as! [Any?]) + return Feature.fromList(self.readValue() as! [Any?]) case 157: - return TileCoverOptions.fromList(self.readValue() as! [Any?]) + return GlyphsRasterizationOptions.fromList(self.readValue() as! [Any?]) case 158: - return MbxEdgeInsets.fromList(self.readValue() as! [Any?]) + return TileCoverOptions.fromList(self.readValue() as! [Any?]) case 159: - return CameraOptions.fromList(self.readValue() as! [Any?]) + return MbxEdgeInsets.fromList(self.readValue() as! [Any?]) case 160: - return CameraState.fromList(self.readValue() as! [Any?]) + return CameraOptions.fromList(self.readValue() as! [Any?]) case 161: - return CameraBoundsOptions.fromList(self.readValue() as! [Any?]) + return CameraState.fromList(self.readValue() as! [Any?]) case 162: - return CameraBounds.fromList(self.readValue() as! [Any?]) + return CameraBoundsOptions.fromList(self.readValue() as! [Any?]) case 163: - return MapAnimationOptions.fromList(self.readValue() as! [Any?]) + return CameraBounds.fromList(self.readValue() as! [Any?]) case 164: - return CoordinateBounds.fromList(self.readValue() as! [Any?]) + return MapAnimationOptions.fromList(self.readValue() as! [Any?]) case 165: - return MapDebugOptions.fromList(self.readValue() as! [Any?]) + return CoordinateBounds.fromList(self.readValue() as! [Any?]) case 166: - return TileCacheBudgetInMegabytes.fromList(self.readValue() as! [Any?]) + return MapDebugOptions.fromList(self.readValue() as! [Any?]) case 167: - return TileCacheBudgetInTiles.fromList(self.readValue() as! [Any?]) + return TileCacheBudgetInMegabytes.fromList(self.readValue() as! [Any?]) case 168: - return MapOptions.fromList(self.readValue() as! [Any?]) + return TileCacheBudgetInTiles.fromList(self.readValue() as! [Any?]) case 169: - return ScreenCoordinate.fromList(self.readValue() as! [Any?]) + return MapOptions.fromList(self.readValue() as! [Any?]) case 170: - return ScreenBox.fromList(self.readValue() as! [Any?]) + return ScreenCoordinate.fromList(self.readValue() as! [Any?]) case 171: - return CoordinateBoundsZoom.fromList(self.readValue() as! [Any?]) + return ScreenBox.fromList(self.readValue() as! [Any?]) case 172: - return Size.fromList(self.readValue() as! [Any?]) + return CoordinateBoundsZoom.fromList(self.readValue() as! [Any?]) case 173: - return RenderedQueryOptions.fromList(self.readValue() as! [Any?]) + return Size.fromList(self.readValue() as! [Any?]) case 174: - return SourceQueryOptions.fromList(self.readValue() as! [Any?]) + return RenderedQueryOptions.fromList(self.readValue() as! [Any?]) case 175: - return FeatureExtensionValue.fromList(self.readValue() as! [Any?]) + return SourceQueryOptions.fromList(self.readValue() as! [Any?]) case 176: - return LayerPosition.fromList(self.readValue() as! [Any?]) + return FeatureExtensionValue.fromList(self.readValue() as! [Any?]) case 177: - return QueriedRenderedFeature.fromList(self.readValue() as! [Any?]) + return LayerPosition.fromList(self.readValue() as! [Any?]) case 178: - return QueriedSourceFeature.fromList(self.readValue() as! [Any?]) + return QueriedRenderedFeature.fromList(self.readValue() as! [Any?]) case 179: - return QueriedFeature.fromList(self.readValue() as! [Any?]) + return QueriedSourceFeature.fromList(self.readValue() as! [Any?]) case 180: - return _RenderedQueryGeometry.fromList(self.readValue() as! [Any?]) + return QueriedFeature.fromList(self.readValue() as! [Any?]) case 181: - return ProjectedMeters.fromList(self.readValue() as! [Any?]) + return FeaturesetFeatureId.fromList(self.readValue() as! [Any?]) case 182: - return MercatorCoordinate.fromList(self.readValue() as! [Any?]) + return Interaction.fromList(self.readValue() as! [Any?]) case 183: - return StyleObjectInfo.fromList(self.readValue() as! [Any?]) + return TypedFeaturesetDescriptor.fromList(self.readValue() as! [Any?]) case 184: - return StyleProjection.fromList(self.readValue() as! [Any?]) + return FeaturesetDescriptor.fromList(self.readValue() as! [Any?]) case 185: - return FlatLight.fromList(self.readValue() as! [Any?]) + return FeaturesetFeature.fromList(self.readValue() as! [Any?]) case 186: - return DirectionalLight.fromList(self.readValue() as! [Any?]) + return FeaturesetQueryTarget.fromList(self.readValue() as! [Any?]) case 187: - return AmbientLight.fromList(self.readValue() as! [Any?]) + return _RenderedQueryGeometry.fromList(self.readValue() as! [Any?]) case 188: - return MbxImage.fromList(self.readValue() as! [Any?]) + return ProjectedMeters.fromList(self.readValue() as! [Any?]) case 189: - return ImageStretches.fromList(self.readValue() as! [Any?]) + return MercatorCoordinate.fromList(self.readValue() as! [Any?]) case 190: - return ImageContent.fromList(self.readValue() as! [Any?]) + return StyleObjectInfo.fromList(self.readValue() as! [Any?]) case 191: - return TransitionOptions.fromList(self.readValue() as! [Any?]) + return StyleProjection.fromList(self.readValue() as! [Any?]) case 192: - return CanonicalTileID.fromList(self.readValue() as! [Any?]) + return FlatLight.fromList(self.readValue() as! [Any?]) case 193: + return DirectionalLight.fromList(self.readValue() as! [Any?]) + case 194: + return AmbientLight.fromList(self.readValue() as! [Any?]) + case 195: + return MbxImage.fromList(self.readValue() as! [Any?]) + case 196: + return ImageStretches.fromList(self.readValue() as! [Any?]) + case 197: + return ImageContent.fromList(self.readValue() as! [Any?]) + case 198: + return TransitionOptions.fromList(self.readValue() as! [Any?]) + case 199: + return CanonicalTileID.fromList(self.readValue() as! [Any?]) + case 200: return StylePropertyValue.fromList(self.readValue() as! [Any?]) default: return super.readValue(ofType: type) @@ -2189,183 +2207,195 @@ private class MapInterfacesPigeonCodecWriter: FlutterStandardWriter { } else if let value = value as? InteractionType { super.writeByte(137) super.writeValue(value.rawValue) - } else if let value = value as? FillExtrusionBaseAlignment { + } else if let value = value as? Type { super.writeByte(138) super.writeValue(value.rawValue) - } else if let value = value as? FillExtrusionHeightAlignment { + } else if let value = value as? FillExtrusionBaseAlignment { super.writeByte(139) super.writeValue(value.rawValue) - } else if let value = value as? BackgroundPitchAlignment { + } else if let value = value as? FillExtrusionHeightAlignment { super.writeByte(140) super.writeValue(value.rawValue) - } else if let value = value as? StylePackErrorType { + } else if let value = value as? BackgroundPitchAlignment { super.writeByte(141) super.writeValue(value.rawValue) - } else if let value = value as? ResponseErrorReason { + } else if let value = value as? StylePackErrorType { super.writeByte(142) super.writeValue(value.rawValue) - } else if let value = value as? OfflineRegionDownloadState { + } else if let value = value as? ResponseErrorReason { super.writeByte(143) super.writeValue(value.rawValue) - } else if let value = value as? TileStoreUsageMode { + } else if let value = value as? OfflineRegionDownloadState { super.writeByte(144) super.writeValue(value.rawValue) - } else if let value = value as? StylePropertyValueKind { + } else if let value = value as? TileStoreUsageMode { super.writeByte(145) super.writeValue(value.rawValue) - } else if let value = value as? StyleProjectionName { + } else if let value = value as? StylePropertyValueKind { super.writeByte(146) super.writeValue(value.rawValue) - } else if let value = value as? Anchor { + } else if let value = value as? StyleProjectionName { super.writeByte(147) super.writeValue(value.rawValue) - } else if let value = value as? HttpMethod { + } else if let value = value as? Anchor { super.writeByte(148) super.writeValue(value.rawValue) - } else if let value = value as? HttpRequestErrorType { + } else if let value = value as? HttpMethod { super.writeByte(149) super.writeValue(value.rawValue) - } else if let value = value as? DownloadErrorCode { + } else if let value = value as? HttpRequestErrorType { super.writeByte(150) super.writeValue(value.rawValue) - } else if let value = value as? DownloadState { + } else if let value = value as? DownloadErrorCode { super.writeByte(151) super.writeValue(value.rawValue) - } else if let value = value as? TileRegionErrorType { + } else if let value = value as? DownloadState { super.writeByte(152) super.writeValue(value.rawValue) - } else if let value = value as? _MapEvent { + } else if let value = value as? TileRegionErrorType { super.writeByte(153) super.writeValue(value.rawValue) - } else if let value = value as? Point { + } else if let value = value as? _MapEvent { super.writeByte(154) - super.writeValue(value.toList()) - } else if let value = value as? Feature { + super.writeValue(value.rawValue) + } else if let value = value as? Point { super.writeByte(155) super.writeValue(value.toList()) - } else if let value = value as? GlyphsRasterizationOptions { + } else if let value = value as? Feature { super.writeByte(156) super.writeValue(value.toList()) - } else if let value = value as? TileCoverOptions { + } else if let value = value as? GlyphsRasterizationOptions { super.writeByte(157) super.writeValue(value.toList()) - } else if let value = value as? MbxEdgeInsets { + } else if let value = value as? TileCoverOptions { super.writeByte(158) super.writeValue(value.toList()) - } else if let value = value as? CameraOptions { + } else if let value = value as? MbxEdgeInsets { super.writeByte(159) super.writeValue(value.toList()) - } else if let value = value as? CameraState { + } else if let value = value as? CameraOptions { super.writeByte(160) super.writeValue(value.toList()) - } else if let value = value as? CameraBoundsOptions { + } else if let value = value as? CameraState { super.writeByte(161) super.writeValue(value.toList()) - } else if let value = value as? CameraBounds { + } else if let value = value as? CameraBoundsOptions { super.writeByte(162) super.writeValue(value.toList()) - } else if let value = value as? MapAnimationOptions { + } else if let value = value as? CameraBounds { super.writeByte(163) super.writeValue(value.toList()) - } else if let value = value as? CoordinateBounds { + } else if let value = value as? MapAnimationOptions { super.writeByte(164) super.writeValue(value.toList()) - } else if let value = value as? MapDebugOptions { + } else if let value = value as? CoordinateBounds { super.writeByte(165) super.writeValue(value.toList()) - } else if let value = value as? TileCacheBudgetInMegabytes { + } else if let value = value as? MapDebugOptions { super.writeByte(166) super.writeValue(value.toList()) - } else if let value = value as? TileCacheBudgetInTiles { + } else if let value = value as? TileCacheBudgetInMegabytes { super.writeByte(167) super.writeValue(value.toList()) - } else if let value = value as? MapOptions { + } else if let value = value as? TileCacheBudgetInTiles { super.writeByte(168) super.writeValue(value.toList()) - } else if let value = value as? ScreenCoordinate { + } else if let value = value as? MapOptions { super.writeByte(169) super.writeValue(value.toList()) - } else if let value = value as? ScreenBox { + } else if let value = value as? ScreenCoordinate { super.writeByte(170) super.writeValue(value.toList()) - } else if let value = value as? CoordinateBoundsZoom { + } else if let value = value as? ScreenBox { super.writeByte(171) super.writeValue(value.toList()) - } else if let value = value as? Size { + } else if let value = value as? CoordinateBoundsZoom { super.writeByte(172) super.writeValue(value.toList()) - } else if let value = value as? RenderedQueryOptions { + } else if let value = value as? Size { super.writeByte(173) super.writeValue(value.toList()) - } else if let value = value as? SourceQueryOptions { + } else if let value = value as? RenderedQueryOptions { super.writeByte(174) super.writeValue(value.toList()) - } else if let value = value as? FeatureExtensionValue { + } else if let value = value as? SourceQueryOptions { super.writeByte(175) super.writeValue(value.toList()) - } else if let value = value as? LayerPosition { + } else if let value = value as? FeatureExtensionValue { super.writeByte(176) super.writeValue(value.toList()) - } else if let value = value as? QueriedRenderedFeature { + } else if let value = value as? LayerPosition { super.writeByte(177) super.writeValue(value.toList()) - } else if let value = value as? QueriedSourceFeature { + } else if let value = value as? QueriedRenderedFeature { super.writeByte(178) super.writeValue(value.toList()) - } else if let value = value as? QueriedFeature { + } else if let value = value as? QueriedSourceFeature { super.writeByte(179) super.writeValue(value.toList()) - } else if let value = value as? _RenderedQueryGeometry { + } else if let value = value as? QueriedFeature { super.writeByte(180) super.writeValue(value.toList()) - } else if let value = value as? ProjectedMeters { + } else if let value = value as? FeaturesetFeatureId { super.writeByte(181) super.writeValue(value.toList()) - } else if let value = value as? MercatorCoordinate { + } else if let value = value as? Interaction { super.writeByte(182) super.writeValue(value.toList()) - } else if let value = value as? StyleObjectInfo { + } else if let value = value as? TypedFeaturesetDescriptor { super.writeByte(183) super.writeValue(value.toList()) - } else if let value = value as? StyleProjection { + } else if let value = value as? FeaturesetDescriptor { super.writeByte(184) super.writeValue(value.toList()) - } else if let value = value as? FlatLight { + } else if let value = value as? FeaturesetFeature { super.writeByte(185) super.writeValue(value.toList()) - } else if let value = value as? DirectionalLight { + } else if let value = value as? FeaturesetQueryTarget { super.writeByte(186) super.writeValue(value.toList()) - } else if let value = value as? AmbientLight { + } else if let value = value as? _RenderedQueryGeometry { super.writeByte(187) super.writeValue(value.toList()) - } else if let value = value as? MbxImage { + } else if let value = value as? ProjectedMeters { super.writeByte(188) super.writeValue(value.toList()) - } else if let value = value as? ImageStretches { + } else if let value = value as? MercatorCoordinate { super.writeByte(189) super.writeValue(value.toList()) - } else if let value = value as? ImageContent { + } else if let value = value as? StyleObjectInfo { super.writeByte(190) super.writeValue(value.toList()) - } else if let value = value as? TransitionOptions { + } else if let value = value as? StyleProjection { super.writeByte(191) super.writeValue(value.toList()) - } else if let value = value as? CanonicalTileID { + } else if let value = value as? FlatLight { super.writeByte(192) super.writeValue(value.toList()) - } else if let value = value as? StylePropertyValue { + } else if let value = value as? DirectionalLight { super.writeByte(193) super.writeValue(value.toList()) - } else if let value = value as? TransitionOptions { + } else if let value = value as? AmbientLight { + super.writeByte(194) + super.writeValue(value.toList()) + } else if let value = value as? MbxImage { super.writeByte(195) super.writeValue(value.toList()) - } else if let value = value as? CanonicalTileID { + } else if let value = value as? ImageStretches { super.writeByte(196) super.writeValue(value.toList()) - } else if let value = value as? StylePropertyValue { + } else if let value = value as? ImageContent { super.writeByte(197) super.writeValue(value.toList()) + } else if let value = value as? TransitionOptions { + super.writeByte(198) + super.writeValue(value.toList()) + } else if let value = value as? CanonicalTileID { + super.writeByte(199) + super.writeValue(value.toList()) + } else if let value = value as? StylePropertyValue { + super.writeByte(200) + super.writeValue(value.toList()) } else { super.writeValue(value) } diff --git a/lib/src/pigeons/map_interfaces.dart b/lib/src/pigeons/map_interfaces.dart index fc14af72..2d7968cb 100644 --- a/lib/src/pigeons/map_interfaces.dart +++ b/lib/src/pigeons/map_interfaces.dart @@ -2121,183 +2121,195 @@ class MapInterfaces_PigeonCodec extends StandardMessageCodec { } else if (value is InteractionType) { buffer.putUint8(137); writeValue(buffer, value.index); - } else if (value is FillExtrusionBaseAlignment) { + } else if (value is Type) { buffer.putUint8(138); writeValue(buffer, value.index); - } else if (value is FillExtrusionHeightAlignment) { + } else if (value is FillExtrusionBaseAlignment) { buffer.putUint8(139); writeValue(buffer, value.index); - } else if (value is BackgroundPitchAlignment) { + } else if (value is FillExtrusionHeightAlignment) { buffer.putUint8(140); writeValue(buffer, value.index); - } else if (value is StylePackErrorType) { + } else if (value is BackgroundPitchAlignment) { buffer.putUint8(141); writeValue(buffer, value.index); - } else if (value is ResponseErrorReason) { + } else if (value is StylePackErrorType) { buffer.putUint8(142); writeValue(buffer, value.index); - } else if (value is OfflineRegionDownloadState) { + } else if (value is ResponseErrorReason) { buffer.putUint8(143); writeValue(buffer, value.index); - } else if (value is TileStoreUsageMode) { + } else if (value is OfflineRegionDownloadState) { buffer.putUint8(144); writeValue(buffer, value.index); - } else if (value is StylePropertyValueKind) { + } else if (value is TileStoreUsageMode) { buffer.putUint8(145); writeValue(buffer, value.index); - } else if (value is StyleProjectionName) { + } else if (value is StylePropertyValueKind) { buffer.putUint8(146); writeValue(buffer, value.index); - } else if (value is Anchor) { + } else if (value is StyleProjectionName) { buffer.putUint8(147); writeValue(buffer, value.index); - } else if (value is HttpMethod) { + } else if (value is Anchor) { buffer.putUint8(148); writeValue(buffer, value.index); - } else if (value is HttpRequestErrorType) { + } else if (value is HttpMethod) { buffer.putUint8(149); writeValue(buffer, value.index); - } else if (value is DownloadErrorCode) { + } else if (value is HttpRequestErrorType) { buffer.putUint8(150); writeValue(buffer, value.index); - } else if (value is DownloadState) { + } else if (value is DownloadErrorCode) { buffer.putUint8(151); writeValue(buffer, value.index); - } else if (value is TileRegionErrorType) { + } else if (value is DownloadState) { buffer.putUint8(152); writeValue(buffer, value.index); - } else if (value is _MapEvent) { + } else if (value is TileRegionErrorType) { buffer.putUint8(153); writeValue(buffer, value.index); - } else if (value is Point) { + } else if (value is _MapEvent) { buffer.putUint8(154); - writeValue(buffer, value.encode()); - } else if (value is Feature) { + writeValue(buffer, value.index); + } else if (value is Point) { buffer.putUint8(155); writeValue(buffer, value.encode()); - } else if (value is GlyphsRasterizationOptions) { + } else if (value is Feature) { buffer.putUint8(156); writeValue(buffer, value.encode()); - } else if (value is TileCoverOptions) { + } else if (value is GlyphsRasterizationOptions) { buffer.putUint8(157); writeValue(buffer, value.encode()); - } else if (value is MbxEdgeInsets) { + } else if (value is TileCoverOptions) { buffer.putUint8(158); writeValue(buffer, value.encode()); - } else if (value is CameraOptions) { + } else if (value is MbxEdgeInsets) { buffer.putUint8(159); writeValue(buffer, value.encode()); - } else if (value is CameraState) { + } else if (value is CameraOptions) { buffer.putUint8(160); writeValue(buffer, value.encode()); - } else if (value is CameraBoundsOptions) { + } else if (value is CameraState) { buffer.putUint8(161); writeValue(buffer, value.encode()); - } else if (value is CameraBounds) { + } else if (value is CameraBoundsOptions) { buffer.putUint8(162); writeValue(buffer, value.encode()); - } else if (value is MapAnimationOptions) { + } else if (value is CameraBounds) { buffer.putUint8(163); writeValue(buffer, value.encode()); - } else if (value is CoordinateBounds) { + } else if (value is MapAnimationOptions) { buffer.putUint8(164); writeValue(buffer, value.encode()); - } else if (value is MapDebugOptions) { + } else if (value is CoordinateBounds) { buffer.putUint8(165); writeValue(buffer, value.encode()); - } else if (value is TileCacheBudgetInMegabytes) { + } else if (value is MapDebugOptions) { buffer.putUint8(166); writeValue(buffer, value.encode()); - } else if (value is TileCacheBudgetInTiles) { + } else if (value is TileCacheBudgetInMegabytes) { buffer.putUint8(167); writeValue(buffer, value.encode()); - } else if (value is MapOptions) { + } else if (value is TileCacheBudgetInTiles) { buffer.putUint8(168); writeValue(buffer, value.encode()); - } else if (value is ScreenCoordinate) { + } else if (value is MapOptions) { buffer.putUint8(169); writeValue(buffer, value.encode()); - } else if (value is ScreenBox) { + } else if (value is ScreenCoordinate) { buffer.putUint8(170); writeValue(buffer, value.encode()); - } else if (value is CoordinateBoundsZoom) { + } else if (value is ScreenBox) { buffer.putUint8(171); writeValue(buffer, value.encode()); - } else if (value is Size) { + } else if (value is CoordinateBoundsZoom) { buffer.putUint8(172); writeValue(buffer, value.encode()); - } else if (value is RenderedQueryOptions) { + } else if (value is Size) { buffer.putUint8(173); writeValue(buffer, value.encode()); - } else if (value is SourceQueryOptions) { + } else if (value is RenderedQueryOptions) { buffer.putUint8(174); writeValue(buffer, value.encode()); - } else if (value is FeatureExtensionValue) { + } else if (value is SourceQueryOptions) { buffer.putUint8(175); writeValue(buffer, value.encode()); - } else if (value is LayerPosition) { + } else if (value is FeatureExtensionValue) { buffer.putUint8(176); writeValue(buffer, value.encode()); - } else if (value is QueriedRenderedFeature) { + } else if (value is LayerPosition) { buffer.putUint8(177); writeValue(buffer, value.encode()); - } else if (value is QueriedSourceFeature) { + } else if (value is QueriedRenderedFeature) { buffer.putUint8(178); writeValue(buffer, value.encode()); - } else if (value is QueriedFeature) { + } else if (value is QueriedSourceFeature) { buffer.putUint8(179); writeValue(buffer, value.encode()); - } else if (value is _RenderedQueryGeometry) { + } else if (value is QueriedFeature) { buffer.putUint8(180); writeValue(buffer, value.encode()); - } else if (value is ProjectedMeters) { + } else if (value is FeaturesetFeatureId) { buffer.putUint8(181); writeValue(buffer, value.encode()); - } else if (value is MercatorCoordinate) { + } else if (value is Interaction) { buffer.putUint8(182); writeValue(buffer, value.encode()); - } else if (value is StyleObjectInfo) { + } else if (value is TypedFeaturesetDescriptor) { buffer.putUint8(183); writeValue(buffer, value.encode()); - } else if (value is StyleProjection) { + } else if (value is FeaturesetDescriptor) { buffer.putUint8(184); writeValue(buffer, value.encode()); - } else if (value is FlatLight) { + } else if (value is FeaturesetFeature) { buffer.putUint8(185); writeValue(buffer, value.encode()); - } else if (value is DirectionalLight) { + } else if (value is FeaturesetQueryTarget) { buffer.putUint8(186); writeValue(buffer, value.encode()); - } else if (value is AmbientLight) { + } else if (value is _RenderedQueryGeometry) { buffer.putUint8(187); writeValue(buffer, value.encode()); - } else if (value is MbxImage) { + } else if (value is ProjectedMeters) { buffer.putUint8(188); writeValue(buffer, value.encode()); - } else if (value is ImageStretches) { + } else if (value is MercatorCoordinate) { buffer.putUint8(189); writeValue(buffer, value.encode()); - } else if (value is ImageContent) { + } else if (value is StyleObjectInfo) { buffer.putUint8(190); writeValue(buffer, value.encode()); - } else if (value is TransitionOptions) { + } else if (value is StyleProjection) { buffer.putUint8(191); writeValue(buffer, value.encode()); - } else if (value is CanonicalTileID) { + } else if (value is FlatLight) { buffer.putUint8(192); writeValue(buffer, value.encode()); - } else if (value is StylePropertyValue) { + } else if (value is DirectionalLight) { buffer.putUint8(193); writeValue(buffer, value.encode()); - } else if (value is TransitionOptions) { + } else if (value is AmbientLight) { + buffer.putUint8(194); + writeValue(buffer, value.encode()); + } else if (value is MbxImage) { buffer.putUint8(195); writeValue(buffer, value.encode()); - } else if (value is CanonicalTileID) { + } else if (value is ImageStretches) { buffer.putUint8(196); writeValue(buffer, value.encode()); - } else if (value is StylePropertyValue) { + } else if (value is ImageContent) { buffer.putUint8(197); writeValue(buffer, value.encode()); + } else if (value is TransitionOptions) { + buffer.putUint8(198); + writeValue(buffer, value.encode()); + } else if (value is CanonicalTileID) { + buffer.putUint8(199); + writeValue(buffer, value.encode()); + } else if (value is StylePropertyValue) { + buffer.putUint8(200); + writeValue(buffer, value.encode()); } else { super.writeValue(buffer, value); } @@ -2335,133 +2347,148 @@ class MapInterfaces_PigeonCodec extends StandardMessageCodec { return value == null ? null : InteractionType.values[value]; case 138: final int? value = readValue(buffer) as int?; - return value == null ? null : FillExtrusionBaseAlignment.values[value]; + return value == null ? null : Type.values[value]; case 139: + final int? value = readValue(buffer) as int?; + return value == null ? null : FillExtrusionBaseAlignment.values[value]; + case 140: final int? value = readValue(buffer) as int?; return value == null ? null : FillExtrusionHeightAlignment.values[value]; - case 140: + case 141: final int? value = readValue(buffer) as int?; return value == null ? null : BackgroundPitchAlignment.values[value]; - case 141: + case 142: final int? value = readValue(buffer) as int?; return value == null ? null : StylePackErrorType.values[value]; - case 142: + case 143: final int? value = readValue(buffer) as int?; return value == null ? null : ResponseErrorReason.values[value]; - case 143: + case 144: final int? value = readValue(buffer) as int?; return value == null ? null : OfflineRegionDownloadState.values[value]; - case 144: + case 145: final int? value = readValue(buffer) as int?; return value == null ? null : TileStoreUsageMode.values[value]; - case 145: + case 146: final int? value = readValue(buffer) as int?; return value == null ? null : StylePropertyValueKind.values[value]; - case 146: + case 147: final int? value = readValue(buffer) as int?; return value == null ? null : StyleProjectionName.values[value]; - case 147: + case 148: final int? value = readValue(buffer) as int?; return value == null ? null : Anchor.values[value]; - case 148: + case 149: final int? value = readValue(buffer) as int?; return value == null ? null : HttpMethod.values[value]; - case 149: + case 150: final int? value = readValue(buffer) as int?; return value == null ? null : HttpRequestErrorType.values[value]; - case 150: + case 151: final int? value = readValue(buffer) as int?; return value == null ? null : DownloadErrorCode.values[value]; - case 151: + case 152: final int? value = readValue(buffer) as int?; return value == null ? null : DownloadState.values[value]; - case 152: + case 153: final int? value = readValue(buffer) as int?; return value == null ? null : TileRegionErrorType.values[value]; - case 153: + case 154: final int? value = readValue(buffer) as int?; return value == null ? null : _MapEvent.values[value]; - case 154: - return Point.decode(readValue(buffer)!); case 155: - return Feature.decode(readValue(buffer)!); + return Point.decode(readValue(buffer)!); case 156: - return GlyphsRasterizationOptions.decode(readValue(buffer)!); + return Feature.decode(readValue(buffer)!); case 157: - return TileCoverOptions.decode(readValue(buffer)!); + return GlyphsRasterizationOptions.decode(readValue(buffer)!); case 158: - return MbxEdgeInsets.decode(readValue(buffer)!); + return TileCoverOptions.decode(readValue(buffer)!); case 159: - return CameraOptions.decode(readValue(buffer)!); + return MbxEdgeInsets.decode(readValue(buffer)!); case 160: - return CameraState.decode(readValue(buffer)!); + return CameraOptions.decode(readValue(buffer)!); case 161: - return CameraBoundsOptions.decode(readValue(buffer)!); + return CameraState.decode(readValue(buffer)!); case 162: - return CameraBounds.decode(readValue(buffer)!); + return CameraBoundsOptions.decode(readValue(buffer)!); case 163: - return MapAnimationOptions.decode(readValue(buffer)!); + return CameraBounds.decode(readValue(buffer)!); case 164: - return CoordinateBounds.decode(readValue(buffer)!); + return MapAnimationOptions.decode(readValue(buffer)!); case 165: - return MapDebugOptions.decode(readValue(buffer)!); + return CoordinateBounds.decode(readValue(buffer)!); case 166: - return TileCacheBudgetInMegabytes.decode(readValue(buffer)!); + return MapDebugOptions.decode(readValue(buffer)!); case 167: - return TileCacheBudgetInTiles.decode(readValue(buffer)!); + return TileCacheBudgetInMegabytes.decode(readValue(buffer)!); case 168: - return MapOptions.decode(readValue(buffer)!); + return TileCacheBudgetInTiles.decode(readValue(buffer)!); case 169: - return ScreenCoordinate.decode(readValue(buffer)!); + return MapOptions.decode(readValue(buffer)!); case 170: - return ScreenBox.decode(readValue(buffer)!); + return ScreenCoordinate.decode(readValue(buffer)!); case 171: - return CoordinateBoundsZoom.decode(readValue(buffer)!); + return ScreenBox.decode(readValue(buffer)!); case 172: - return Size.decode(readValue(buffer)!); + return CoordinateBoundsZoom.decode(readValue(buffer)!); case 173: - return RenderedQueryOptions.decode(readValue(buffer)!); + return Size.decode(readValue(buffer)!); case 174: - return SourceQueryOptions.decode(readValue(buffer)!); + return RenderedQueryOptions.decode(readValue(buffer)!); case 175: - return FeatureExtensionValue.decode(readValue(buffer)!); + return SourceQueryOptions.decode(readValue(buffer)!); case 176: - return LayerPosition.decode(readValue(buffer)!); + return FeatureExtensionValue.decode(readValue(buffer)!); case 177: - return QueriedRenderedFeature.decode(readValue(buffer)!); + return LayerPosition.decode(readValue(buffer)!); case 178: - return QueriedSourceFeature.decode(readValue(buffer)!); + return QueriedRenderedFeature.decode(readValue(buffer)!); case 179: - return QueriedFeature.decode(readValue(buffer)!); + return QueriedSourceFeature.decode(readValue(buffer)!); case 180: - return _RenderedQueryGeometry.decode(readValue(buffer)!); + return QueriedFeature.decode(readValue(buffer)!); case 181: - return ProjectedMeters.decode(readValue(buffer)!); + return FeaturesetFeatureId.decode(readValue(buffer)!); case 182: - return MercatorCoordinate.decode(readValue(buffer)!); + return Interaction.decode(readValue(buffer)!); case 183: - return StyleObjectInfo.decode(readValue(buffer)!); + return TypedFeaturesetDescriptor.decode(readValue(buffer)!); case 184: - return StyleProjection.decode(readValue(buffer)!); + return FeaturesetDescriptor.decode(readValue(buffer)!); case 185: - return FlatLight.decode(readValue(buffer)!); + return FeaturesetFeature.decode(readValue(buffer)!); case 186: - return DirectionalLight.decode(readValue(buffer)!); + return FeaturesetQueryTarget.decode(readValue(buffer)!); case 187: - return AmbientLight.decode(readValue(buffer)!); + return _RenderedQueryGeometry.decode(readValue(buffer)!); case 188: - return MbxImage.decode(readValue(buffer)!); + return ProjectedMeters.decode(readValue(buffer)!); case 189: - return ImageStretches.decode(readValue(buffer)!); + return MercatorCoordinate.decode(readValue(buffer)!); case 190: - return ImageContent.decode(readValue(buffer)!); + return StyleObjectInfo.decode(readValue(buffer)!); case 191: - return TransitionOptions.decode(readValue(buffer)!); + return StyleProjection.decode(readValue(buffer)!); case 192: - return CanonicalTileID.decode(readValue(buffer)!); + return FlatLight.decode(readValue(buffer)!); case 193: + return DirectionalLight.decode(readValue(buffer)!); + case 194: + return AmbientLight.decode(readValue(buffer)!); + case 195: + return MbxImage.decode(readValue(buffer)!); + case 196: + return ImageStretches.decode(readValue(buffer)!); + case 197: + return ImageContent.decode(readValue(buffer)!); + case 198: + return TransitionOptions.decode(readValue(buffer)!); + case 199: + return CanonicalTileID.decode(readValue(buffer)!); + case 200: return StylePropertyValue.decode(readValue(buffer)!); default: return super.readValueOfType(type, buffer);