@nativescript-community/ui-massifmaps 3.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/BaseNative.d.ts +11 -0
- package/BaseNative.js +32 -0
- package/BaseNative.js.map +1 -0
- package/CHANGELOG.md +550 -0
- package/LICENSE +201 -0
- package/README.md +188 -0
- package/bindings/celestial/CelestialArc.d.ts +29 -0
- package/bindings/celestial/CelestialArc.js +17 -0
- package/bindings/celestial/CelestialArc.js.map +1 -0
- package/bindings/celestial/CelestialObject.d.ts +30 -0
- package/bindings/celestial/CelestialObject.js +17 -0
- package/bindings/celestial/CelestialObject.js.map +1 -0
- package/bindings/celestial/CelestialObjectVector.d.ts +19 -0
- package/bindings/celestial/CelestialObjectVector.js +11 -0
- package/bindings/celestial/CelestialObjectVector.js.map +1 -0
- package/bindings/celestial/CelestialSprite.d.ts +28 -0
- package/bindings/celestial/CelestialSprite.js +15 -0
- package/bindings/celestial/CelestialSprite.js.map +1 -0
- package/bindings/celestial/index.d.ts +4 -0
- package/bindings/celestial/index.js +7 -0
- package/bindings/celestial/index.js.map +1 -0
- package/bindings/components/FogOptions.d.ts +43 -0
- package/bindings/components/FogOptions.js +20 -0
- package/bindings/components/FogOptions.js.map +1 -0
- package/bindings/components/Layers.d.ts +25 -0
- package/bindings/components/Layers.js +15 -0
- package/bindings/components/Layers.js.map +1 -0
- package/bindings/components/LightOptions.d.ts +57 -0
- package/bindings/components/LightOptions.js +27 -0
- package/bindings/components/LightOptions.js.map +1 -0
- package/bindings/components/Options.d.ts +150 -0
- package/bindings/components/Options.js +55 -0
- package/bindings/components/Options.js.map +1 -0
- package/bindings/components/SkyOptions.d.ts +34 -0
- package/bindings/components/SkyOptions.js +17 -0
- package/bindings/components/SkyOptions.js.map +1 -0
- package/bindings/components/TerrainOptions.d.ts +91 -0
- package/bindings/components/TerrainOptions.js +37 -0
- package/bindings/components/TerrainOptions.js.map +1 -0
- package/bindings/components/index.d.ts +6 -0
- package/bindings/components/index.js +9 -0
- package/bindings/components/index.js.map +1 -0
- package/bindings/core/Address.d.ts +20 -0
- package/bindings/core/Address.js +8 -0
- package/bindings/core/Address.js.map +1 -0
- package/bindings/core/BinaryData.d.ts +12 -0
- package/bindings/core/BinaryData.js +8 -0
- package/bindings/core/BinaryData.js.map +1 -0
- package/bindings/core/DoubleVector.d.ts +19 -0
- package/bindings/core/DoubleVector.js +11 -0
- package/bindings/core/DoubleVector.js.map +1 -0
- package/bindings/core/MapBounds.d.ts +19 -0
- package/bindings/core/MapBounds.js +11 -0
- package/bindings/core/MapBounds.js.map +1 -0
- package/bindings/core/MapEnvelope.d.ts +14 -0
- package/bindings/core/MapEnvelope.js +8 -0
- package/bindings/core/MapEnvelope.js.map +1 -0
- package/bindings/core/MapPos.d.ts +17 -0
- package/bindings/core/MapPos.js +8 -0
- package/bindings/core/MapPos.js.map +1 -0
- package/bindings/core/MapPosVector.d.ts +19 -0
- package/bindings/core/MapPosVector.js +11 -0
- package/bindings/core/MapPosVector.js.map +1 -0
- package/bindings/core/MapPosVectorVector.d.ts +19 -0
- package/bindings/core/MapPosVectorVector.js +11 -0
- package/bindings/core/MapPosVectorVector.js.map +1 -0
- package/bindings/core/MapRange.d.ts +15 -0
- package/bindings/core/MapRange.js +8 -0
- package/bindings/core/MapRange.js.map +1 -0
- package/bindings/core/MapTile.d.ts +15 -0
- package/bindings/core/MapTile.js +8 -0
- package/bindings/core/MapTile.js.map +1 -0
- package/bindings/core/MapVec.d.ts +23 -0
- package/bindings/core/MapVec.js +8 -0
- package/bindings/core/MapVec.js.map +1 -0
- package/bindings/core/ScreenBounds.d.ts +18 -0
- package/bindings/core/ScreenBounds.js +11 -0
- package/bindings/core/ScreenBounds.js.map +1 -0
- package/bindings/core/ScreenPos.d.ts +12 -0
- package/bindings/core/ScreenPos.js +8 -0
- package/bindings/core/ScreenPos.js.map +1 -0
- package/bindings/core/ScreenPosVector.d.ts +19 -0
- package/bindings/core/ScreenPosVector.js +11 -0
- package/bindings/core/ScreenPosVector.js.map +1 -0
- package/bindings/core/StringMap.d.ts +19 -0
- package/bindings/core/StringMap.js +11 -0
- package/bindings/core/StringMap.js.map +1 -0
- package/bindings/core/StringVariantMap.d.ts +19 -0
- package/bindings/core/StringVariantMap.js +11 -0
- package/bindings/core/StringVariantMap.js.map +1 -0
- package/bindings/core/StringVector.d.ts +19 -0
- package/bindings/core/StringVector.js +11 -0
- package/bindings/core/StringVector.js.map +1 -0
- package/bindings/core/Variant.d.ts +20 -0
- package/bindings/core/Variant.js +8 -0
- package/bindings/core/Variant.js.map +1 -0
- package/bindings/core/VariantArrayBuilder.d.ts +17 -0
- package/bindings/core/VariantArrayBuilder.js +8 -0
- package/bindings/core/VariantArrayBuilder.js.map +1 -0
- package/bindings/core/VariantObjectBuilder.d.ts +18 -0
- package/bindings/core/VariantObjectBuilder.js +15 -0
- package/bindings/core/VariantObjectBuilder.js.map +1 -0
- package/bindings/core/VariantVector.d.ts +19 -0
- package/bindings/core/VariantVector.js +11 -0
- package/bindings/core/VariantVector.js.map +1 -0
- package/bindings/core/index.d.ts +21 -0
- package/bindings/core/index.js +24 -0
- package/bindings/core/index.js.map +1 -0
- package/bindings/datasources/AssetTileDataSource.d.ts +13 -0
- package/bindings/datasources/AssetTileDataSource.js +11 -0
- package/bindings/datasources/AssetTileDataSource.js.map +1 -0
- package/bindings/datasources/BitmapOverlayRasterTileDataSource.d.ts +12 -0
- package/bindings/datasources/BitmapOverlayRasterTileDataSource.js +8 -0
- package/bindings/datasources/BitmapOverlayRasterTileDataSource.js.map +1 -0
- package/bindings/datasources/CacheTileDataSource.d.ts +23 -0
- package/bindings/datasources/CacheTileDataSource.js +11 -0
- package/bindings/datasources/CacheTileDataSource.js.map +1 -0
- package/bindings/datasources/CombinedTileDataSource.d.ts +15 -0
- package/bindings/datasources/CombinedTileDataSource.js +8 -0
- package/bindings/datasources/CombinedTileDataSource.js.map +1 -0
- package/bindings/datasources/ContourTileDataSource.d.ts +52 -0
- package/bindings/datasources/ContourTileDataSource.js +23 -0
- package/bindings/datasources/ContourTileDataSource.js.map +1 -0
- package/bindings/datasources/GeoJSONVectorTileDataSource.d.ts +31 -0
- package/bindings/datasources/GeoJSONVectorTileDataSource.js +22 -0
- package/bindings/datasources/GeoJSONVectorTileDataSource.js.map +1 -0
- package/bindings/datasources/HTTPTileDataSource.d.ts +33 -0
- package/bindings/datasources/HTTPTileDataSource.js +19 -0
- package/bindings/datasources/HTTPTileDataSource.js.map +1 -0
- package/bindings/datasources/LocalVectorDataSource.d.ts +28 -0
- package/bindings/datasources/LocalVectorDataSource.js +15 -0
- package/bindings/datasources/LocalVectorDataSource.js.map +1 -0
- package/bindings/datasources/MBTilesTileDataSource.d.ts +16 -0
- package/bindings/datasources/MBTilesTileDataSource.js +8 -0
- package/bindings/datasources/MBTilesTileDataSource.js.map +1 -0
- package/bindings/datasources/MapTilerOnlineTileDataSource.d.ts +19 -0
- package/bindings/datasources/MapTilerOnlineTileDataSource.js +12 -0
- package/bindings/datasources/MapTilerOnlineTileDataSource.js.map +1 -0
- package/bindings/datasources/MemoryCacheTileDataSource.d.ts +17 -0
- package/bindings/datasources/MemoryCacheTileDataSource.js +11 -0
- package/bindings/datasources/MemoryCacheTileDataSource.js.map +1 -0
- package/bindings/datasources/MergedMBVTTileDataSource.d.ts +15 -0
- package/bindings/datasources/MergedMBVTTileDataSource.js +8 -0
- package/bindings/datasources/MergedMBVTTileDataSource.js.map +1 -0
- package/bindings/datasources/MultiTileDataSource.d.ts +16 -0
- package/bindings/datasources/MultiTileDataSource.js +8 -0
- package/bindings/datasources/MultiTileDataSource.js.map +1 -0
- package/bindings/datasources/OrderedTileDataSource.d.ts +15 -0
- package/bindings/datasources/OrderedTileDataSource.js +8 -0
- package/bindings/datasources/OrderedTileDataSource.js.map +1 -0
- package/bindings/datasources/PMTilesTileDataSource.d.ts +15 -0
- package/bindings/datasources/PMTilesTileDataSource.js +8 -0
- package/bindings/datasources/PMTilesTileDataSource.js.map +1 -0
- package/bindings/datasources/PackageManagerTileDataSource.d.ts +12 -0
- package/bindings/datasources/PackageManagerTileDataSource.js +8 -0
- package/bindings/datasources/PackageManagerTileDataSource.js.map +1 -0
- package/bindings/datasources/PersistentCacheTileDataSource.d.ts +25 -0
- package/bindings/datasources/PersistentCacheTileDataSource.js +15 -0
- package/bindings/datasources/PersistentCacheTileDataSource.js.map +1 -0
- package/bindings/datasources/TileDataSource.d.ts +28 -0
- package/bindings/datasources/TileDataSource.js +12 -0
- package/bindings/datasources/TileDataSource.js.map +1 -0
- package/bindings/datasources/TileDownloadListener.d.ts +14 -0
- package/bindings/datasources/TileDownloadListener.js +8 -0
- package/bindings/datasources/TileDownloadListener.js.map +1 -0
- package/bindings/datasources/VectorDataSource.d.ts +14 -0
- package/bindings/datasources/VectorDataSource.js +8 -0
- package/bindings/datasources/VectorDataSource.js.map +1 -0
- package/bindings/datasources/components/TileData.d.ts +21 -0
- package/bindings/datasources/components/TileData.js +12 -0
- package/bindings/datasources/components/TileData.js.map +1 -0
- package/bindings/datasources/components/VectorData.d.ts +11 -0
- package/bindings/datasources/components/VectorData.js +8 -0
- package/bindings/datasources/components/VectorData.js.map +1 -0
- package/bindings/datasources/components/index.d.ts +2 -0
- package/bindings/datasources/components/index.js +5 -0
- package/bindings/datasources/components/index.js.map +1 -0
- package/bindings/datasources/index.d.ts +21 -0
- package/bindings/datasources/index.js +24 -0
- package/bindings/datasources/index.js.map +1 -0
- package/bindings/geocoding/GeocodingRequest.d.ts +23 -0
- package/bindings/geocoding/GeocodingRequest.js +15 -0
- package/bindings/geocoding/GeocodingRequest.js.map +1 -0
- package/bindings/geocoding/GeocodingResult.d.ts +14 -0
- package/bindings/geocoding/GeocodingResult.js +8 -0
- package/bindings/geocoding/GeocodingResult.js.map +1 -0
- package/bindings/geocoding/GeocodingResultVector.d.ts +19 -0
- package/bindings/geocoding/GeocodingResultVector.js +11 -0
- package/bindings/geocoding/GeocodingResultVector.js.map +1 -0
- package/bindings/geocoding/GeocodingService.d.ts +22 -0
- package/bindings/geocoding/GeocodingService.js +13 -0
- package/bindings/geocoding/GeocodingService.js.map +1 -0
- package/bindings/geocoding/MapBoxOnlineGeocodingService.d.ts +25 -0
- package/bindings/geocoding/MapBoxOnlineGeocodingService.js +14 -0
- package/bindings/geocoding/MapBoxOnlineGeocodingService.js.map +1 -0
- package/bindings/geocoding/MapBoxOnlineReverseGeocodingService.d.ts +19 -0
- package/bindings/geocoding/MapBoxOnlineReverseGeocodingService.js +12 -0
- package/bindings/geocoding/MapBoxOnlineReverseGeocodingService.js.map +1 -0
- package/bindings/geocoding/MultiOSMOfflineGeocodingService.d.ts +24 -0
- package/bindings/geocoding/MultiOSMOfflineGeocodingService.js +13 -0
- package/bindings/geocoding/MultiOSMOfflineGeocodingService.js.map +1 -0
- package/bindings/geocoding/MultiOSMOfflineReverseGeocodingService.d.ts +18 -0
- package/bindings/geocoding/MultiOSMOfflineReverseGeocodingService.js +11 -0
- package/bindings/geocoding/MultiOSMOfflineReverseGeocodingService.js.map +1 -0
- package/bindings/geocoding/OSMOfflineGeocodingService.d.ts +22 -0
- package/bindings/geocoding/OSMOfflineGeocodingService.js +13 -0
- package/bindings/geocoding/OSMOfflineGeocodingService.js.map +1 -0
- package/bindings/geocoding/OSMOfflineReverseGeocodingService.d.ts +16 -0
- package/bindings/geocoding/OSMOfflineReverseGeocodingService.js +11 -0
- package/bindings/geocoding/OSMOfflineReverseGeocodingService.js.map +1 -0
- package/bindings/geocoding/PackageManagerGeocodingService.d.ts +22 -0
- package/bindings/geocoding/PackageManagerGeocodingService.js +13 -0
- package/bindings/geocoding/PackageManagerGeocodingService.js.map +1 -0
- package/bindings/geocoding/PackageManagerReverseGeocodingService.d.ts +16 -0
- package/bindings/geocoding/PackageManagerReverseGeocodingService.js +11 -0
- package/bindings/geocoding/PackageManagerReverseGeocodingService.js.map +1 -0
- package/bindings/geocoding/PeliasOnlineGeocodingService.d.ts +25 -0
- package/bindings/geocoding/PeliasOnlineGeocodingService.js +14 -0
- package/bindings/geocoding/PeliasOnlineGeocodingService.js.map +1 -0
- package/bindings/geocoding/PeliasOnlineReverseGeocodingService.d.ts +19 -0
- package/bindings/geocoding/PeliasOnlineReverseGeocodingService.js +12 -0
- package/bindings/geocoding/PeliasOnlineReverseGeocodingService.js.map +1 -0
- package/bindings/geocoding/ReverseGeocodingRequest.d.ts +20 -0
- package/bindings/geocoding/ReverseGeocodingRequest.js +14 -0
- package/bindings/geocoding/ReverseGeocodingRequest.js.map +1 -0
- package/bindings/geocoding/ReverseGeocodingService.d.ts +16 -0
- package/bindings/geocoding/ReverseGeocodingService.js +11 -0
- package/bindings/geocoding/ReverseGeocodingService.js.map +1 -0
- package/bindings/geocoding/TomTomOnlineGeocodingService.d.ts +25 -0
- package/bindings/geocoding/TomTomOnlineGeocodingService.js +14 -0
- package/bindings/geocoding/TomTomOnlineGeocodingService.js.map +1 -0
- package/bindings/geocoding/TomTomOnlineReverseGeocodingService.d.ts +19 -0
- package/bindings/geocoding/TomTomOnlineReverseGeocodingService.js +12 -0
- package/bindings/geocoding/TomTomOnlineReverseGeocodingService.js.map +1 -0
- package/bindings/geocoding/index.d.ts +18 -0
- package/bindings/geocoding/index.js +21 -0
- package/bindings/geocoding/index.js.map +1 -0
- package/bindings/geometry/Feature.d.ts +12 -0
- package/bindings/geometry/Feature.js +8 -0
- package/bindings/geometry/Feature.js.map +1 -0
- package/bindings/geometry/FeatureCollection.d.ts +12 -0
- package/bindings/geometry/FeatureCollection.js +8 -0
- package/bindings/geometry/FeatureCollection.js.map +1 -0
- package/bindings/geometry/FeatureVector.d.ts +19 -0
- package/bindings/geometry/FeatureVector.js +11 -0
- package/bindings/geometry/FeatureVector.js.map +1 -0
- package/bindings/geometry/GeoJSONGeometryReader.d.ts +18 -0
- package/bindings/geometry/GeoJSONGeometryReader.js +11 -0
- package/bindings/geometry/GeoJSONGeometryReader.js.map +1 -0
- package/bindings/geometry/GeoJSONGeometryWriter.d.ts +21 -0
- package/bindings/geometry/GeoJSONGeometryWriter.js +12 -0
- package/bindings/geometry/GeoJSONGeometryWriter.js.map +1 -0
- package/bindings/geometry/Geometry.d.ts +12 -0
- package/bindings/geometry/Geometry.js +8 -0
- package/bindings/geometry/Geometry.js.map +1 -0
- package/bindings/geometry/GeometryVector.d.ts +19 -0
- package/bindings/geometry/GeometryVector.js +11 -0
- package/bindings/geometry/GeometryVector.js.map +1 -0
- package/bindings/geometry/LineGeometry.d.ts +12 -0
- package/bindings/geometry/LineGeometry.js +8 -0
- package/bindings/geometry/LineGeometry.js.map +1 -0
- package/bindings/geometry/LineGeometryVector.d.ts +19 -0
- package/bindings/geometry/LineGeometryVector.js +11 -0
- package/bindings/geometry/LineGeometryVector.js.map +1 -0
- package/bindings/geometry/ManeuverArrowBuilder.d.ts +21 -0
- package/bindings/geometry/ManeuverArrowBuilder.js +16 -0
- package/bindings/geometry/ManeuverArrowBuilder.js.map +1 -0
- package/bindings/geometry/MultiGeometry.d.ts +13 -0
- package/bindings/geometry/MultiGeometry.js +8 -0
- package/bindings/geometry/MultiGeometry.js.map +1 -0
- package/bindings/geometry/MultiLineGeometry.d.ts +11 -0
- package/bindings/geometry/MultiLineGeometry.js +8 -0
- package/bindings/geometry/MultiLineGeometry.js.map +1 -0
- package/bindings/geometry/MultiPointGeometry.d.ts +11 -0
- package/bindings/geometry/MultiPointGeometry.js +8 -0
- package/bindings/geometry/MultiPointGeometry.js.map +1 -0
- package/bindings/geometry/MultiPolygonGeometry.d.ts +11 -0
- package/bindings/geometry/MultiPolygonGeometry.js +8 -0
- package/bindings/geometry/MultiPolygonGeometry.js.map +1 -0
- package/bindings/geometry/PointGeometry.d.ts +12 -0
- package/bindings/geometry/PointGeometry.js +8 -0
- package/bindings/geometry/PointGeometry.js.map +1 -0
- package/bindings/geometry/PointGeometryVector.d.ts +19 -0
- package/bindings/geometry/PointGeometryVector.js +11 -0
- package/bindings/geometry/PointGeometryVector.js.map +1 -0
- package/bindings/geometry/PolygonGeometry.d.ts +14 -0
- package/bindings/geometry/PolygonGeometry.js +8 -0
- package/bindings/geometry/PolygonGeometry.js.map +1 -0
- package/bindings/geometry/PolygonGeometryVector.d.ts +19 -0
- package/bindings/geometry/PolygonGeometryVector.js +11 -0
- package/bindings/geometry/PolygonGeometryVector.js.map +1 -0
- package/bindings/geometry/VectorTileFeature.d.ts +18 -0
- package/bindings/geometry/VectorTileFeature.js +11 -0
- package/bindings/geometry/VectorTileFeature.js.map +1 -0
- package/bindings/geometry/VectorTileFeatureCollection.d.ts +11 -0
- package/bindings/geometry/VectorTileFeatureCollection.js +8 -0
- package/bindings/geometry/VectorTileFeatureCollection.js.map +1 -0
- package/bindings/geometry/VectorTileFeatureVector.d.ts +19 -0
- package/bindings/geometry/VectorTileFeatureVector.js +11 -0
- package/bindings/geometry/VectorTileFeatureVector.js.map +1 -0
- package/bindings/geometry/index.d.ts +21 -0
- package/bindings/geometry/index.js +24 -0
- package/bindings/geometry/index.js.map +1 -0
- package/bindings/graphics/Bitmap.d.ts +23 -0
- package/bindings/graphics/Bitmap.js +13 -0
- package/bindings/graphics/Bitmap.js.map +1 -0
- package/bindings/graphics/Color.d.ts +15 -0
- package/bindings/graphics/Color.js +8 -0
- package/bindings/graphics/Color.js.map +1 -0
- package/bindings/graphics/ViewState.d.ts +35 -0
- package/bindings/graphics/ViewState.js +11 -0
- package/bindings/graphics/ViewState.js.map +1 -0
- package/bindings/graphics/index.d.ts +3 -0
- package/bindings/graphics/index.js +6 -0
- package/bindings/graphics/index.js.map +1 -0
- package/bindings/layers/CelestialEventListener.d.ts +12 -0
- package/bindings/layers/CelestialEventListener.js +11 -0
- package/bindings/layers/CelestialEventListener.js.map +1 -0
- package/bindings/layers/CelestialLayer.d.ts +21 -0
- package/bindings/layers/CelestialLayer.js +11 -0
- package/bindings/layers/CelestialLayer.js.map +1 -0
- package/bindings/layers/ClusterElementBuilder.d.ts +13 -0
- package/bindings/layers/ClusterElementBuilder.js +11 -0
- package/bindings/layers/ClusterElementBuilder.js.map +1 -0
- package/bindings/layers/ClusteredVectorLayer.d.ts +25 -0
- package/bindings/layers/ClusteredVectorLayer.js +16 -0
- package/bindings/layers/ClusteredVectorLayer.js.map +1 -0
- package/bindings/layers/CompositeVectorTileLayer.d.ts +27 -0
- package/bindings/layers/CompositeVectorTileLayer.js +17 -0
- package/bindings/layers/CompositeVectorTileLayer.js.map +1 -0
- package/bindings/layers/CustomRasterTileLayer.d.ts +15 -0
- package/bindings/layers/CustomRasterTileLayer.js +11 -0
- package/bindings/layers/CustomRasterTileLayer.js.map +1 -0
- package/bindings/layers/EditableVectorLayer.d.ts +18 -0
- package/bindings/layers/EditableVectorLayer.js +12 -0
- package/bindings/layers/EditableVectorLayer.js.map +1 -0
- package/bindings/layers/HillshadeRasterTileLayer.d.ts +74 -0
- package/bindings/layers/HillshadeRasterTileLayer.js +29 -0
- package/bindings/layers/HillshadeRasterTileLayer.js.map +1 -0
- package/bindings/layers/Layer.d.ts +40 -0
- package/bindings/layers/Layer.js +20 -0
- package/bindings/layers/Layer.js.map +1 -0
- package/bindings/layers/LayerVector.d.ts +19 -0
- package/bindings/layers/LayerVector.js +11 -0
- package/bindings/layers/LayerVector.js.map +1 -0
- package/bindings/layers/RasterTileEventListener.d.ts +11 -0
- package/bindings/layers/RasterTileEventListener.js +8 -0
- package/bindings/layers/RasterTileEventListener.js.map +1 -0
- package/bindings/layers/RasterTileLayer.d.ts +25 -0
- package/bindings/layers/RasterTileLayer.js +14 -0
- package/bindings/layers/RasterTileLayer.js.map +1 -0
- package/bindings/layers/SolidLayer.d.ts +23 -0
- package/bindings/layers/SolidLayer.js +13 -0
- package/bindings/layers/SolidLayer.js.map +1 -0
- package/bindings/layers/TileLayer.d.ts +54 -0
- package/bindings/layers/TileLayer.js +25 -0
- package/bindings/layers/TileLayer.js.map +1 -0
- package/bindings/layers/TileLoadListener.d.ts +12 -0
- package/bindings/layers/TileLoadListener.js +8 -0
- package/bindings/layers/TileLoadListener.js.map +1 -0
- package/bindings/layers/TorqueTileLayer.d.ts +11 -0
- package/bindings/layers/TorqueTileLayer.js +8 -0
- package/bindings/layers/TorqueTileLayer.js.map +1 -0
- package/bindings/layers/UTFGridEventListener.d.ts +11 -0
- package/bindings/layers/UTFGridEventListener.js +8 -0
- package/bindings/layers/UTFGridEventListener.js.map +1 -0
- package/bindings/layers/VectorEditEventListener.d.ts +20 -0
- package/bindings/layers/VectorEditEventListener.js +12 -0
- package/bindings/layers/VectorEditEventListener.js.map +1 -0
- package/bindings/layers/VectorElementEventListener.d.ts +11 -0
- package/bindings/layers/VectorElementEventListener.js +8 -0
- package/bindings/layers/VectorElementEventListener.js.map +1 -0
- package/bindings/layers/VectorLayer.d.ts +20 -0
- package/bindings/layers/VectorLayer.js +12 -0
- package/bindings/layers/VectorLayer.js.map +1 -0
- package/bindings/layers/VectorTileEventListener.d.ts +11 -0
- package/bindings/layers/VectorTileEventListener.js +8 -0
- package/bindings/layers/VectorTileEventListener.js.map +1 -0
- package/bindings/layers/VectorTileLayer.d.ts +41 -0
- package/bindings/layers/VectorTileLayer.js +19 -0
- package/bindings/layers/VectorTileLayer.js.map +1 -0
- package/bindings/layers/index.d.ts +22 -0
- package/bindings/layers/index.js +25 -0
- package/bindings/layers/index.js.map +1 -0
- package/bindings/packagemanager/PackageInfo.d.ts +18 -0
- package/bindings/packagemanager/PackageInfo.js +8 -0
- package/bindings/packagemanager/PackageInfo.js.map +1 -0
- package/bindings/packagemanager/PackageInfoVector.d.ts +19 -0
- package/bindings/packagemanager/PackageInfoVector.js +11 -0
- package/bindings/packagemanager/PackageInfoVector.js.map +1 -0
- package/bindings/packagemanager/PackageManager.d.ts +33 -0
- package/bindings/packagemanager/PackageManager.js +18 -0
- package/bindings/packagemanager/PackageManager.js.map +1 -0
- package/bindings/packagemanager/PackageManagerListener.d.ts +19 -0
- package/bindings/packagemanager/PackageManagerListener.js +14 -0
- package/bindings/packagemanager/PackageManagerListener.js.map +1 -0
- package/bindings/packagemanager/PackageMetaInfo.d.ts +11 -0
- package/bindings/packagemanager/PackageMetaInfo.js +8 -0
- package/bindings/packagemanager/PackageMetaInfo.js.map +1 -0
- package/bindings/packagemanager/PackageStatus.d.ts +13 -0
- package/bindings/packagemanager/PackageStatus.js +8 -0
- package/bindings/packagemanager/PackageStatus.js.map +1 -0
- package/bindings/packagemanager/PackageTileMask.d.ts +14 -0
- package/bindings/packagemanager/PackageTileMask.js +8 -0
- package/bindings/packagemanager/PackageTileMask.js.map +1 -0
- package/bindings/packagemanager/index.d.ts +7 -0
- package/bindings/packagemanager/index.js +10 -0
- package/bindings/packagemanager/index.js.map +1 -0
- package/bindings/projections/EPSG3857.d.ts +13 -0
- package/bindings/projections/EPSG3857.js +8 -0
- package/bindings/projections/EPSG3857.js.map +1 -0
- package/bindings/projections/EPSG4326.d.ts +13 -0
- package/bindings/projections/EPSG4326.js +8 -0
- package/bindings/projections/EPSG4326.js.map +1 -0
- package/bindings/projections/Projection.d.ts +16 -0
- package/bindings/projections/Projection.js +11 -0
- package/bindings/projections/Projection.js.map +1 -0
- package/bindings/projections/index.d.ts +3 -0
- package/bindings/projections/index.js +6 -0
- package/bindings/projections/index.js.map +1 -0
- package/bindings/rastertiles/ElevationDecoder.d.ts +11 -0
- package/bindings/rastertiles/ElevationDecoder.js +8 -0
- package/bindings/rastertiles/ElevationDecoder.js.map +1 -0
- package/bindings/rastertiles/MapBoxElevationDataDecoder.d.ts +11 -0
- package/bindings/rastertiles/MapBoxElevationDataDecoder.js +8 -0
- package/bindings/rastertiles/MapBoxElevationDataDecoder.js.map +1 -0
- package/bindings/rastertiles/TerrariumElevationDataDecoder.d.ts +11 -0
- package/bindings/rastertiles/TerrariumElevationDataDecoder.js +8 -0
- package/bindings/rastertiles/TerrariumElevationDataDecoder.js.map +1 -0
- package/bindings/rastertiles/index.d.ts +3 -0
- package/bindings/rastertiles/index.js +6 -0
- package/bindings/rastertiles/index.js.map +1 -0
- package/bindings/renderers/MapRenderer.d.ts +22 -0
- package/bindings/renderers/MapRenderer.js +15 -0
- package/bindings/renderers/MapRenderer.js.map +1 -0
- package/bindings/renderers/MapRendererListener.d.ts +14 -0
- package/bindings/renderers/MapRendererListener.js +11 -0
- package/bindings/renderers/MapRendererListener.js.map +1 -0
- package/bindings/renderers/PostProcessEffect.d.ts +23 -0
- package/bindings/renderers/PostProcessEffect.js +15 -0
- package/bindings/renderers/PostProcessEffect.js.map +1 -0
- package/bindings/renderers/RedrawRequestListener.d.ts +11 -0
- package/bindings/renderers/RedrawRequestListener.js +8 -0
- package/bindings/renderers/RedrawRequestListener.js.map +1 -0
- package/bindings/renderers/RendererCaptureListener.d.ts +12 -0
- package/bindings/renderers/RendererCaptureListener.js +8 -0
- package/bindings/renderers/RendererCaptureListener.js.map +1 -0
- package/bindings/renderers/components/CullState.d.ts +12 -0
- package/bindings/renderers/components/CullState.js +8 -0
- package/bindings/renderers/components/CullState.js.map +1 -0
- package/bindings/renderers/components/index.d.ts +1 -0
- package/bindings/renderers/components/index.js +4 -0
- package/bindings/renderers/components/index.js.map +1 -0
- package/bindings/renderers/index.d.ts +6 -0
- package/bindings/renderers/index.js +9 -0
- package/bindings/renderers/index.js.map +1 -0
- package/bindings/routing/MultiValhallaOfflineRoutingService.d.ts +23 -0
- package/bindings/routing/MultiValhallaOfflineRoutingService.js +15 -0
- package/bindings/routing/MultiValhallaOfflineRoutingService.js.map +1 -0
- package/bindings/routing/OSRMOfflineRoutingService.d.ts +17 -0
- package/bindings/routing/OSRMOfflineRoutingService.js +11 -0
- package/bindings/routing/OSRMOfflineRoutingService.js.map +1 -0
- package/bindings/routing/PackageManagerRoutingService.d.ts +17 -0
- package/bindings/routing/PackageManagerRoutingService.js +11 -0
- package/bindings/routing/PackageManagerRoutingService.js.map +1 -0
- package/bindings/routing/PackageManagerValhallaRoutingService.d.ts +21 -0
- package/bindings/routing/PackageManagerValhallaRoutingService.js +15 -0
- package/bindings/routing/PackageManagerValhallaRoutingService.js.map +1 -0
- package/bindings/routing/RouteMatchingEdge.d.ts +12 -0
- package/bindings/routing/RouteMatchingEdge.js +8 -0
- package/bindings/routing/RouteMatchingEdge.js.map +1 -0
- package/bindings/routing/RouteMatchingEdgeVector.d.ts +19 -0
- package/bindings/routing/RouteMatchingEdgeVector.js +11 -0
- package/bindings/routing/RouteMatchingEdgeVector.js.map +1 -0
- package/bindings/routing/RouteMatchingPoint.d.ts +13 -0
- package/bindings/routing/RouteMatchingPoint.js +8 -0
- package/bindings/routing/RouteMatchingPoint.js.map +1 -0
- package/bindings/routing/RouteMatchingPointVector.d.ts +19 -0
- package/bindings/routing/RouteMatchingPointVector.js +11 -0
- package/bindings/routing/RouteMatchingPointVector.js.map +1 -0
- package/bindings/routing/RouteMatchingRequest.d.ts +18 -0
- package/bindings/routing/RouteMatchingRequest.js +13 -0
- package/bindings/routing/RouteMatchingRequest.js.map +1 -0
- package/bindings/routing/RouteMatchingResult.d.ts +15 -0
- package/bindings/routing/RouteMatchingResult.js +8 -0
- package/bindings/routing/RouteMatchingResult.js.map +1 -0
- package/bindings/routing/RoutingInstruction.d.ts +20 -0
- package/bindings/routing/RoutingInstruction.js +8 -0
- package/bindings/routing/RoutingInstruction.js.map +1 -0
- package/bindings/routing/RoutingInstructionVector.d.ts +19 -0
- package/bindings/routing/RoutingInstructionVector.js +11 -0
- package/bindings/routing/RoutingInstructionVector.js.map +1 -0
- package/bindings/routing/RoutingRequest.d.ts +17 -0
- package/bindings/routing/RoutingRequest.js +13 -0
- package/bindings/routing/RoutingRequest.js.map +1 -0
- package/bindings/routing/RoutingResult.d.ts +16 -0
- package/bindings/routing/RoutingResult.js +8 -0
- package/bindings/routing/RoutingResult.js.map +1 -0
- package/bindings/routing/RoutingService.d.ts +17 -0
- package/bindings/routing/RoutingService.js +11 -0
- package/bindings/routing/RoutingService.js.map +1 -0
- package/bindings/routing/SGREOfflineRoutingService.d.ts +20 -0
- package/bindings/routing/SGREOfflineRoutingService.js +14 -0
- package/bindings/routing/SGREOfflineRoutingService.js.map +1 -0
- package/bindings/routing/ValhallaOfflineRoutingService.d.ts +21 -0
- package/bindings/routing/ValhallaOfflineRoutingService.js +15 -0
- package/bindings/routing/ValhallaOfflineRoutingService.js.map +1 -0
- package/bindings/routing/ValhallaOnlineRoutingService.d.ts +26 -0
- package/bindings/routing/ValhallaOnlineRoutingService.js +14 -0
- package/bindings/routing/ValhallaOnlineRoutingService.js.map +1 -0
- package/bindings/routing/index.d.ts +18 -0
- package/bindings/routing/index.js +21 -0
- package/bindings/routing/index.js.map +1 -0
- package/bindings/search/FeatureCollectionSearchService.d.ts +18 -0
- package/bindings/search/FeatureCollectionSearchService.js +11 -0
- package/bindings/search/FeatureCollectionSearchService.js.map +1 -0
- package/bindings/search/SearchRequest.d.ts +27 -0
- package/bindings/search/SearchRequest.js +15 -0
- package/bindings/search/SearchRequest.js.map +1 -0
- package/bindings/search/VectorElementSearchService.d.ts +17 -0
- package/bindings/search/VectorElementSearchService.js +11 -0
- package/bindings/search/VectorElementSearchService.js.map +1 -0
- package/bindings/search/VectorTileSearchService.d.ts +33 -0
- package/bindings/search/VectorTileSearchService.js +16 -0
- package/bindings/search/VectorTileSearchService.js.map +1 -0
- package/bindings/search/index.d.ts +4 -0
- package/bindings/search/index.js +7 -0
- package/bindings/search/index.js.map +1 -0
- package/bindings/styles/AnimationStyle.d.ts +15 -0
- package/bindings/styles/AnimationStyle.js +8 -0
- package/bindings/styles/AnimationStyle.js.map +1 -0
- package/bindings/styles/AnimationStyleBuilder.d.ts +28 -0
- package/bindings/styles/AnimationStyleBuilder.js +15 -0
- package/bindings/styles/AnimationStyleBuilder.js.map +1 -0
- package/bindings/styles/BalloonPopupButtonStyle.d.ts +20 -0
- package/bindings/styles/BalloonPopupButtonStyle.js +8 -0
- package/bindings/styles/BalloonPopupButtonStyle.js.map +1 -0
- package/bindings/styles/BalloonPopupButtonStyleBuilder.d.ts +38 -0
- package/bindings/styles/BalloonPopupButtonStyleBuilder.js +18 -0
- package/bindings/styles/BalloonPopupButtonStyleBuilder.js.map +1 -0
- package/bindings/styles/BalloonPopupMargins.d.ts +14 -0
- package/bindings/styles/BalloonPopupMargins.js +8 -0
- package/bindings/styles/BalloonPopupMargins.js.map +1 -0
- package/bindings/styles/BalloonPopupStyle.d.ts +36 -0
- package/bindings/styles/BalloonPopupStyle.js +8 -0
- package/bindings/styles/BalloonPopupStyle.js.map +1 -0
- package/bindings/styles/BalloonPopupStyleBuilder.d.ts +86 -0
- package/bindings/styles/BalloonPopupStyleBuilder.js +34 -0
- package/bindings/styles/BalloonPopupStyleBuilder.js.map +1 -0
- package/bindings/styles/BillboardStyle.d.ts +19 -0
- package/bindings/styles/BillboardStyle.js +8 -0
- package/bindings/styles/BillboardStyle.js.map +1 -0
- package/bindings/styles/BillboardStyleBuilder.d.ts +41 -0
- package/bindings/styles/BillboardStyleBuilder.js +22 -0
- package/bindings/styles/BillboardStyleBuilder.js.map +1 -0
- package/bindings/styles/CartoCSSStyleSet.d.ts +12 -0
- package/bindings/styles/CartoCSSStyleSet.js +8 -0
- package/bindings/styles/CartoCSSStyleSet.js.map +1 -0
- package/bindings/styles/CompiledStyleSet.d.ts +13 -0
- package/bindings/styles/CompiledStyleSet.js +8 -0
- package/bindings/styles/CompiledStyleSet.js.map +1 -0
- package/bindings/styles/GeometryCollectionStyle.d.ts +13 -0
- package/bindings/styles/GeometryCollectionStyle.js +8 -0
- package/bindings/styles/GeometryCollectionStyle.js.map +1 -0
- package/bindings/styles/GeometryCollectionStyleBuilder.d.ts +22 -0
- package/bindings/styles/GeometryCollectionStyleBuilder.js +13 -0
- package/bindings/styles/GeometryCollectionStyleBuilder.js.map +1 -0
- package/bindings/styles/LabelStyle.d.ts +17 -0
- package/bindings/styles/LabelStyle.js +8 -0
- package/bindings/styles/LabelStyle.js.map +1 -0
- package/bindings/styles/LabelStyleBuilder.d.ts +34 -0
- package/bindings/styles/LabelStyleBuilder.js +19 -0
- package/bindings/styles/LabelStyleBuilder.js.map +1 -0
- package/bindings/styles/LineStyle.d.ts +18 -0
- package/bindings/styles/LineStyle.js +8 -0
- package/bindings/styles/LineStyle.js.map +1 -0
- package/bindings/styles/LineStyleBuilder.d.ts +33 -0
- package/bindings/styles/LineStyleBuilder.js +16 -0
- package/bindings/styles/LineStyleBuilder.js.map +1 -0
- package/bindings/styles/MarkerStyle.d.ts +19 -0
- package/bindings/styles/MarkerStyle.js +8 -0
- package/bindings/styles/MarkerStyle.js.map +1 -0
- package/bindings/styles/MarkerStyleBuilder.d.ts +38 -0
- package/bindings/styles/MarkerStyleBuilder.js +20 -0
- package/bindings/styles/MarkerStyleBuilder.js.map +1 -0
- package/bindings/styles/NMLModelStyle.d.ts +14 -0
- package/bindings/styles/NMLModelStyle.js +8 -0
- package/bindings/styles/NMLModelStyle.js.map +1 -0
- package/bindings/styles/NMLModelStyleBuilder.d.ts +23 -0
- package/bindings/styles/NMLModelStyleBuilder.js +13 -0
- package/bindings/styles/NMLModelStyleBuilder.js.map +1 -0
- package/bindings/styles/PointStyle.d.ts +14 -0
- package/bindings/styles/PointStyle.js +8 -0
- package/bindings/styles/PointStyle.js.map +1 -0
- package/bindings/styles/PointStyleBuilder.d.ts +23 -0
- package/bindings/styles/PointStyleBuilder.js +13 -0
- package/bindings/styles/PointStyleBuilder.js.map +1 -0
- package/bindings/styles/Polygon3DStyle.d.ts +12 -0
- package/bindings/styles/Polygon3DStyle.js +8 -0
- package/bindings/styles/Polygon3DStyle.js.map +1 -0
- package/bindings/styles/Polygon3DStyleBuilder.d.ts +17 -0
- package/bindings/styles/Polygon3DStyleBuilder.js +11 -0
- package/bindings/styles/Polygon3DStyleBuilder.js.map +1 -0
- package/bindings/styles/PolygonStyle.d.ts +11 -0
- package/bindings/styles/PolygonStyle.js +8 -0
- package/bindings/styles/PolygonStyle.js.map +1 -0
- package/bindings/styles/PolygonStyleBuilder.d.ts +16 -0
- package/bindings/styles/PolygonStyleBuilder.js +11 -0
- package/bindings/styles/PolygonStyleBuilder.js.map +1 -0
- package/bindings/styles/PopupStyleBuilder.d.ts +11 -0
- package/bindings/styles/PopupStyleBuilder.js +8 -0
- package/bindings/styles/PopupStyleBuilder.js.map +1 -0
- package/bindings/styles/StringCartoCSSStyleSetMap.d.ts +19 -0
- package/bindings/styles/StringCartoCSSStyleSetMap.js +11 -0
- package/bindings/styles/StringCartoCSSStyleSetMap.js.map +1 -0
- package/bindings/styles/Style.d.ts +12 -0
- package/bindings/styles/Style.js +8 -0
- package/bindings/styles/Style.js.map +1 -0
- package/bindings/styles/StyleBuilder.d.ts +16 -0
- package/bindings/styles/StyleBuilder.js +11 -0
- package/bindings/styles/StyleBuilder.js.map +1 -0
- package/bindings/styles/TextMargins.d.ts +14 -0
- package/bindings/styles/TextMargins.js +8 -0
- package/bindings/styles/TextMargins.js.map +1 -0
- package/bindings/styles/TextStyle.d.ts +22 -0
- package/bindings/styles/TextStyle.js +8 -0
- package/bindings/styles/TextStyle.js.map +1 -0
- package/bindings/styles/TextStyleBuilder.d.ts +44 -0
- package/bindings/styles/TextStyleBuilder.js +20 -0
- package/bindings/styles/TextStyleBuilder.js.map +1 -0
- package/bindings/styles/index.d.ts +34 -0
- package/bindings/styles/index.js +37 -0
- package/bindings/styles/index.js.map +1 -0
- package/bindings/ui/BalloonPopupButtonClickInfo.d.ts +15 -0
- package/bindings/ui/BalloonPopupButtonClickInfo.js +8 -0
- package/bindings/ui/BalloonPopupButtonClickInfo.js.map +1 -0
- package/bindings/ui/ClickInfo.d.ts +13 -0
- package/bindings/ui/ClickInfo.js +8 -0
- package/bindings/ui/ClickInfo.js.map +1 -0
- package/bindings/ui/MapClickInfo.d.ts +14 -0
- package/bindings/ui/MapClickInfo.js +8 -0
- package/bindings/ui/MapClickInfo.js.map +1 -0
- package/bindings/ui/MapEventListener.d.ts +15 -0
- package/bindings/ui/MapEventListener.js +8 -0
- package/bindings/ui/MapEventListener.js.map +1 -0
- package/bindings/ui/MapInteractionInfo.d.ts +15 -0
- package/bindings/ui/MapInteractionInfo.js +8 -0
- package/bindings/ui/MapInteractionInfo.js.map +1 -0
- package/bindings/ui/MapView.d.ts +41 -0
- package/bindings/ui/MapView.js +22 -0
- package/bindings/ui/MapView.js.map +1 -0
- package/bindings/ui/PopupClickInfo.d.ts +16 -0
- package/bindings/ui/PopupClickInfo.js +8 -0
- package/bindings/ui/PopupClickInfo.js.map +1 -0
- package/bindings/ui/PopupDrawInfo.d.ts +14 -0
- package/bindings/ui/PopupDrawInfo.js +8 -0
- package/bindings/ui/PopupDrawInfo.js.map +1 -0
- package/bindings/ui/RasterTileClickInfo.d.ts +19 -0
- package/bindings/ui/RasterTileClickInfo.js +8 -0
- package/bindings/ui/RasterTileClickInfo.js.map +1 -0
- package/bindings/ui/UTFGridClickInfo.d.ts +16 -0
- package/bindings/ui/UTFGridClickInfo.js +8 -0
- package/bindings/ui/UTFGridClickInfo.js.map +1 -0
- package/bindings/ui/VectorElementClickInfo.d.ts +17 -0
- package/bindings/ui/VectorElementClickInfo.js +8 -0
- package/bindings/ui/VectorElementClickInfo.js.map +1 -0
- package/bindings/ui/VectorElementDragInfo.d.ts +14 -0
- package/bindings/ui/VectorElementDragInfo.js +8 -0
- package/bindings/ui/VectorElementDragInfo.js.map +1 -0
- package/bindings/ui/VectorTileClickInfo.d.ts +21 -0
- package/bindings/ui/VectorTileClickInfo.js +8 -0
- package/bindings/ui/VectorTileClickInfo.js.map +1 -0
- package/bindings/ui/index.d.ts +13 -0
- package/bindings/ui/index.js +16 -0
- package/bindings/ui/index.js.map +1 -0
- package/bindings/utils/AssetPackage.d.ts +12 -0
- package/bindings/utils/AssetPackage.js +8 -0
- package/bindings/utils/AssetPackage.js.map +1 -0
- package/bindings/utils/AssetUtils.d.ts +10 -0
- package/bindings/utils/AssetUtils.js +8 -0
- package/bindings/utils/AssetUtils.js.map +1 -0
- package/bindings/utils/BitmapUtils.d.ts +10 -0
- package/bindings/utils/BitmapUtils.js +8 -0
- package/bindings/utils/BitmapUtils.js.map +1 -0
- package/bindings/utils/DirAssetPackage.d.ts +15 -0
- package/bindings/utils/DirAssetPackage.js +8 -0
- package/bindings/utils/DirAssetPackage.js.map +1 -0
- package/bindings/utils/Log.d.ts +10 -0
- package/bindings/utils/Log.js +8 -0
- package/bindings/utils/Log.js.map +1 -0
- package/bindings/utils/LogEventListener.d.ts +15 -0
- package/bindings/utils/LogEventListener.js +8 -0
- package/bindings/utils/LogEventListener.js.map +1 -0
- package/bindings/utils/TileUtils.d.ts +11 -0
- package/bindings/utils/TileUtils.js +14 -0
- package/bindings/utils/TileUtils.js.map +1 -0
- package/bindings/utils/ZippedAssetPackage.d.ts +13 -0
- package/bindings/utils/ZippedAssetPackage.js +8 -0
- package/bindings/utils/ZippedAssetPackage.js.map +1 -0
- package/bindings/utils/index.d.ts +8 -0
- package/bindings/utils/index.js +11 -0
- package/bindings/utils/index.js.map +1 -0
- package/bindings/vectorelements/BalloonPopup.d.ts +32 -0
- package/bindings/vectorelements/BalloonPopup.js +19 -0
- package/bindings/vectorelements/BalloonPopup.js.map +1 -0
- package/bindings/vectorelements/BalloonPopupButton.d.ts +17 -0
- package/bindings/vectorelements/BalloonPopupButton.js +11 -0
- package/bindings/vectorelements/BalloonPopupButton.js.map +1 -0
- package/bindings/vectorelements/BalloonPopupEventListener.d.ts +11 -0
- package/bindings/vectorelements/BalloonPopupEventListener.js +8 -0
- package/bindings/vectorelements/BalloonPopupEventListener.js.map +1 -0
- package/bindings/vectorelements/Billboard.d.ts +24 -0
- package/bindings/vectorelements/Billboard.js +13 -0
- package/bindings/vectorelements/Billboard.js.map +1 -0
- package/bindings/vectorelements/CustomPopup.d.ts +15 -0
- package/bindings/vectorelements/CustomPopup.js +12 -0
- package/bindings/vectorelements/CustomPopup.js.map +1 -0
- package/bindings/vectorelements/CustomPopupHandler.d.ts +13 -0
- package/bindings/vectorelements/CustomPopupHandler.js +8 -0
- package/bindings/vectorelements/CustomPopupHandler.js.map +1 -0
- package/bindings/vectorelements/GeometryCollection.d.ts +18 -0
- package/bindings/vectorelements/GeometryCollection.js +12 -0
- package/bindings/vectorelements/GeometryCollection.js.map +1 -0
- package/bindings/vectorelements/Label.d.ts +17 -0
- package/bindings/vectorelements/Label.js +11 -0
- package/bindings/vectorelements/Label.js.map +1 -0
- package/bindings/vectorelements/Line.d.ts +21 -0
- package/bindings/vectorelements/Line.js +13 -0
- package/bindings/vectorelements/Line.js.map +1 -0
- package/bindings/vectorelements/Marker.d.ts +15 -0
- package/bindings/vectorelements/Marker.js +11 -0
- package/bindings/vectorelements/Marker.js.map +1 -0
- package/bindings/vectorelements/NMLModel.d.ts +26 -0
- package/bindings/vectorelements/NMLModel.js +14 -0
- package/bindings/vectorelements/NMLModel.js.map +1 -0
- package/bindings/vectorelements/Point.d.ts +21 -0
- package/bindings/vectorelements/Point.js +13 -0
- package/bindings/vectorelements/Point.js.map +1 -0
- package/bindings/vectorelements/Polygon.d.ts +24 -0
- package/bindings/vectorelements/Polygon.js +14 -0
- package/bindings/vectorelements/Polygon.js.map +1 -0
- package/bindings/vectorelements/Polygon3D.d.ts +27 -0
- package/bindings/vectorelements/Polygon3D.js +15 -0
- package/bindings/vectorelements/Polygon3D.js.map +1 -0
- package/bindings/vectorelements/Popup.d.ts +26 -0
- package/bindings/vectorelements/Popup.js +18 -0
- package/bindings/vectorelements/Popup.js.map +1 -0
- package/bindings/vectorelements/Text.d.ts +20 -0
- package/bindings/vectorelements/Text.js +12 -0
- package/bindings/vectorelements/Text.js.map +1 -0
- package/bindings/vectorelements/VectorElement.d.ts +28 -0
- package/bindings/vectorelements/VectorElement.js +16 -0
- package/bindings/vectorelements/VectorElement.js.map +1 -0
- package/bindings/vectorelements/VectorElementVector.d.ts +19 -0
- package/bindings/vectorelements/VectorElementVector.js +11 -0
- package/bindings/vectorelements/VectorElementVector.js.map +1 -0
- package/bindings/vectorelements/index.d.ts +18 -0
- package/bindings/vectorelements/index.js +21 -0
- package/bindings/vectorelements/index.js.map +1 -0
- package/bindings/vectortiles/MBVectorTileDecoder.d.ts +35 -0
- package/bindings/vectortiles/MBVectorTileDecoder.js +18 -0
- package/bindings/vectortiles/MBVectorTileDecoder.js.map +1 -0
- package/bindings/vectortiles/TorqueTileDecoder.d.ts +21 -0
- package/bindings/vectortiles/TorqueTileDecoder.js +11 -0
- package/bindings/vectortiles/TorqueTileDecoder.js.map +1 -0
- package/bindings/vectortiles/VectorTileDecoder.d.ts +15 -0
- package/bindings/vectortiles/VectorTileDecoder.js +8 -0
- package/bindings/vectortiles/VectorTileDecoder.js.map +1 -0
- package/bindings/vectortiles/index.d.ts +3 -0
- package/bindings/vectortiles/index.js +6 -0
- package/bindings/vectortiles/index.js.map +1 -0
- package/celestial/CelestialArc.android.d.ts +12 -0
- package/celestial/CelestialArc.android.js +17 -0
- package/celestial/CelestialArc.android.js.map +1 -0
- package/celestial/CelestialArc.d.ts +16 -0
- package/celestial/CelestialArc.ios.d.ts +12 -0
- package/celestial/CelestialArc.ios.js +15 -0
- package/celestial/CelestialArc.ios.js.map +1 -0
- package/celestial/CelestialObject.android.d.ts +9 -0
- package/celestial/CelestialObject.android.js +13 -0
- package/celestial/CelestialObject.android.js.map +1 -0
- package/celestial/CelestialObject.d.ts +13 -0
- package/celestial/CelestialObject.ios.d.ts +9 -0
- package/celestial/CelestialObject.ios.js +13 -0
- package/celestial/CelestialObject.ios.js.map +1 -0
- package/celestial/CelestialObjectVector.android.d.ts +9 -0
- package/celestial/CelestialObjectVector.android.js +15 -0
- package/celestial/CelestialObjectVector.android.js.map +1 -0
- package/celestial/CelestialObjectVector.d.ts +13 -0
- package/celestial/CelestialObjectVector.ios.d.ts +9 -0
- package/celestial/CelestialObjectVector.ios.js +12 -0
- package/celestial/CelestialObjectVector.ios.js.map +1 -0
- package/celestial/CelestialSprite.android.d.ts +12 -0
- package/celestial/CelestialSprite.android.js +18 -0
- package/celestial/CelestialSprite.android.js.map +1 -0
- package/celestial/CelestialSprite.d.ts +16 -0
- package/celestial/CelestialSprite.ios.d.ts +12 -0
- package/celestial/CelestialSprite.ios.js +16 -0
- package/celestial/CelestialSprite.ios.js.map +1 -0
- package/celestial/index.d.ts +4 -0
- package/celestial/index.js +5 -0
- package/celestial/index.js.map +1 -0
- package/components/index.android.d.ts +90 -0
- package/components/index.android.js +203 -0
- package/components/index.android.js.map +1 -0
- package/components/index.d.ts +170 -0
- package/components/index.ios.d.ts +90 -0
- package/components/index.ios.js +191 -0
- package/components/index.ios.js.map +1 -0
- package/core/index.android.d.ts +58 -0
- package/core/index.android.js +216 -0
- package/core/index.android.js.map +1 -0
- package/core/index.common.d.ts +40 -0
- package/core/index.common.js +47 -0
- package/core/index.common.js.map +1 -0
- package/core/index.d.ts +84 -0
- package/core/index.ios.d.ts +53 -0
- package/core/index.ios.js +198 -0
- package/core/index.ios.js.map +1 -0
- package/datasources/cache.android.d.ts +26 -0
- package/datasources/cache.android.js +73 -0
- package/datasources/cache.android.js.map +1 -0
- package/datasources/cache.d.ts +46 -0
- package/datasources/cache.ios.d.ts +25 -0
- package/datasources/cache.ios.js +92 -0
- package/datasources/cache.ios.js.map +1 -0
- package/datasources/http.android.d.ts +18 -0
- package/datasources/http.android.js +43 -0
- package/datasources/http.android.js.map +1 -0
- package/datasources/http.d.ts +23 -0
- package/datasources/http.ios.d.ts +18 -0
- package/datasources/http.ios.js +43 -0
- package/datasources/http.ios.js.map +1 -0
- package/datasources/index.android.d.ts +60 -0
- package/datasources/index.android.js +129 -0
- package/datasources/index.android.js.map +1 -0
- package/datasources/index.d.ts +102 -0
- package/datasources/index.ios.d.ts +60 -0
- package/datasources/index.ios.js +129 -0
- package/datasources/index.ios.js.map +1 -0
- package/datasources/maptiler.android.d.ts +11 -0
- package/datasources/maptiler.android.js +12 -0
- package/datasources/maptiler.android.js.map +1 -0
- package/datasources/maptiler.d.ts +13 -0
- package/datasources/maptiler.ios.d.ts +11 -0
- package/datasources/maptiler.ios.js +12 -0
- package/datasources/maptiler.ios.js.map +1 -0
- package/datasources/mbtiles.android.d.ts +12 -0
- package/datasources/mbtiles.android.js +23 -0
- package/datasources/mbtiles.android.js.map +1 -0
- package/datasources/mbtiles.d.ts +19 -0
- package/datasources/mbtiles.ios.d.ts +8 -0
- package/datasources/mbtiles.ios.js +15 -0
- package/datasources/mbtiles.ios.js.map +1 -0
- package/datasources/pmtiles.android.d.ts +8 -0
- package/datasources/pmtiles.android.js +15 -0
- package/datasources/pmtiles.android.js.map +1 -0
- package/datasources/pmtiles.d.ts +18 -0
- package/datasources/pmtiles.ios.d.ts +8 -0
- package/datasources/pmtiles.ios.js +15 -0
- package/datasources/pmtiles.ios.js.map +1 -0
- package/datasources/vector.android.d.ts +25 -0
- package/datasources/vector.android.js +57 -0
- package/datasources/vector.android.js.map +1 -0
- package/datasources/vector.common.d.ts +8 -0
- package/datasources/vector.common.js +4 -0
- package/datasources/vector.common.js.map +1 -0
- package/datasources/vector.d.ts +32 -0
- package/datasources/vector.ios.d.ts +24 -0
- package/datasources/vector.ios.js +52 -0
- package/datasources/vector.ios.js.map +1 -0
- package/geocoding/service.android.d.ts +93 -0
- package/geocoding/service.android.js +154 -0
- package/geocoding/service.android.js.map +1 -0
- package/geocoding/service.common.d.ts +4 -0
- package/geocoding/service.common.js +4 -0
- package/geocoding/service.common.js.map +1 -0
- package/geocoding/service.d.ts +225 -0
- package/geocoding/service.ios.d.ts +95 -0
- package/geocoding/service.ios.js +159 -0
- package/geocoding/service.ios.js.map +1 -0
- package/geometry/feature.android.d.ts +22 -0
- package/geometry/feature.android.js +64 -0
- package/geometry/feature.android.js.map +1 -0
- package/geometry/feature.d.ts +38 -0
- package/geometry/feature.ios.d.ts +22 -0
- package/geometry/feature.ios.js +65 -0
- package/geometry/feature.ios.js.map +1 -0
- package/geometry/index.android.d.ts +31 -0
- package/geometry/index.android.js +45 -0
- package/geometry/index.android.js.map +1 -0
- package/geometry/index.d.ts +50 -0
- package/geometry/index.ios.d.ts +31 -0
- package/geometry/index.ios.js +45 -0
- package/geometry/index.ios.js.map +1 -0
- package/geometry/reader.android.d.ts +16 -0
- package/geometry/reader.android.js +35 -0
- package/geometry/reader.android.js.map +1 -0
- package/geometry/reader.d.ts +16 -0
- package/geometry/reader.ios.d.ts +16 -0
- package/geometry/reader.ios.js +35 -0
- package/geometry/reader.ios.js.map +1 -0
- package/geometry/simplifier.android.d.ts +7 -0
- package/geometry/simplifier.android.js +9 -0
- package/geometry/simplifier.android.js.map +1 -0
- package/geometry/simplifier.d.ts +9 -0
- package/geometry/simplifier.ios.d.ts +7 -0
- package/geometry/simplifier.ios.js +9 -0
- package/geometry/simplifier.ios.js.map +1 -0
- package/geometry/writer.android.d.ts +17 -0
- package/geometry/writer.android.js +27 -0
- package/geometry/writer.android.js.map +1 -0
- package/geometry/writer.d.ts +17 -0
- package/geometry/writer.ios.d.ts +17 -0
- package/geometry/writer.ios.js +27 -0
- package/geometry/writer.ios.js.map +1 -0
- package/index.android.d.ts +44 -0
- package/index.android.js +170 -0
- package/index.android.js.map +1 -0
- package/index.common.d.ts +23 -0
- package/index.common.js +158 -0
- package/index.common.js.map +1 -0
- package/index.d.ts +88 -0
- package/index.ios.d.ts +43 -0
- package/index.ios.js +156 -0
- package/index.ios.js.map +1 -0
- package/layers/CelestialLayer.android.d.ts +16 -0
- package/layers/CelestialLayer.android.js +39 -0
- package/layers/CelestialLayer.android.js.map +1 -0
- package/layers/CelestialLayer.d.ts +23 -0
- package/layers/CelestialLayer.ios.d.ts +21 -0
- package/layers/CelestialLayer.ios.js +39 -0
- package/layers/CelestialLayer.ios.js.map +1 -0
- package/layers/cluster.android.d.ts +18 -0
- package/layers/cluster.android.js +51 -0
- package/layers/cluster.android.js.map +1 -0
- package/layers/cluster.d.ts +30 -0
- package/layers/cluster.ios.d.ts +22 -0
- package/layers/cluster.ios.js +65 -0
- package/layers/cluster.ios.js.map +1 -0
- package/layers/composite.android.d.ts +23 -0
- package/layers/composite.android.js +62 -0
- package/layers/composite.android.js.map +1 -0
- package/layers/composite.d.ts +53 -0
- package/layers/composite.ios.d.ts +26 -0
- package/layers/composite.ios.js +57 -0
- package/layers/composite.ios.js.map +1 -0
- package/layers/index.android.d.ts +29 -0
- package/layers/index.android.js +84 -0
- package/layers/index.android.js.map +1 -0
- package/layers/index.common.d.ts +4 -0
- package/layers/index.common.js +4 -0
- package/layers/index.common.js.map +1 -0
- package/layers/index.d.ts +81 -0
- package/layers/index.ios.d.ts +29 -0
- package/layers/index.ios.js +79 -0
- package/layers/index.ios.js.map +1 -0
- package/layers/raster.android.d.ts +50 -0
- package/layers/raster.android.js +132 -0
- package/layers/raster.android.js.map +1 -0
- package/layers/raster.common.d.ts +5 -0
- package/layers/raster.common.js +4 -0
- package/layers/raster.common.js.map +1 -0
- package/layers/raster.d.ts +106 -0
- package/layers/raster.ios.d.ts +56 -0
- package/layers/raster.ios.js +136 -0
- package/layers/raster.ios.js.map +1 -0
- package/layers/vector.android.d.ts +78 -0
- package/layers/vector.android.js +354 -0
- package/layers/vector.android.js.map +1 -0
- package/layers/vector.common.d.ts +7 -0
- package/layers/vector.common.js +4 -0
- package/layers/vector.common.js.map +1 -0
- package/layers/vector.d.ts +234 -0
- package/layers/vector.ios.d.ts +81 -0
- package/layers/vector.ios.js +379 -0
- package/layers/vector.ios.js.map +1 -0
- package/nativeclass.common.d.ts +58 -0
- package/nativeclass.common.js +102 -0
- package/nativeclass.common.js.map +1 -0
- package/nativescript.config.ts +18 -0
- package/package.json +52 -0
- package/platforms/android/include-settings.gradle +6 -0
- package/platforms/android/include.gradle +45 -0
- package/platforms/android/java/com/nativescript/massifmaps/additions/AssetPackage.java +59 -0
- package/platforms/android/java/com/nativescript/massifmaps/additions/CelestialEventListener.java +53 -0
- package/platforms/android/java/com/nativescript/massifmaps/additions/ClusterElementBuilder.java +241 -0
- package/platforms/android/java/com/nativescript/massifmaps/additions/DirAssetPackage.java +53 -0
- package/platforms/android/java/com/nativescript/massifmaps/additions/FeatureCollectionSearchServiceCallback.java +8 -0
- package/platforms/android/java/com/nativescript/massifmaps/additions/HillshadeRasterTileLayer.java +126 -0
- package/platforms/android/java/com/nativescript/massifmaps/additions/MapEventListener.java +17 -0
- package/platforms/android/java/com/nativescript/massifmaps/additions/MapView.java +167 -0
- package/platforms/android/java/com/nativescript/massifmaps/additions/RasterTileEventListener.java +56 -0
- package/platforms/android/java/com/nativescript/massifmaps/additions/RendererCaptureListener.java +48 -0
- package/platforms/android/java/com/nativescript/massifmaps/additions/SynchronousHandler.java +78 -0
- package/platforms/android/java/com/nativescript/massifmaps/additions/TextureMapView.java +166 -0
- package/platforms/android/java/com/nativescript/massifmaps/additions/TileDownloadListener.java +139 -0
- package/platforms/android/java/com/nativescript/massifmaps/additions/Utils.java +324 -0
- package/platforms/android/java/com/nativescript/massifmaps/additions/VectorElementEventListener.java +51 -0
- package/platforms/android/java/com/nativescript/massifmaps/additions/VectorTileEventListener.java +56 -0
- package/platforms/android/java/com/nativescript/massifmaps/additions2/FeatureCollectionSearchService.java +47 -0
- package/platforms/android/java/com/nativescript/massifmaps/additions2/VectorEditEventListener.java +264 -0
- package/platforms/android/java/com/nativescript/massifmaps/additions2/VectorTileSearchService.java +48 -0
- package/platforms/android/java/com/nativescript/massifmaps/additions2/VectorTileSearchServiceCallback.java +8 -0
- package/platforms/android/java/com/nativescript/massifmaps/geocoding/GeocodingServiceAdditions.java +112 -0
- package/platforms/android/java/com/nativescript/massifmaps/geocoding/GeocodingServiceAddressCallback.java +7 -0
- package/platforms/android/java/com/nativescript/massifmaps/geocoding/PackageManagerReverseGeocodingService.java +13 -0
- package/platforms/android/java/com/nativescript/massifmaps/packagemanager/PackageManagerListener.java +257 -0
- package/platforms/android/java/com/nativescript/massifmaps/packagemanager/ServerPackagesCallback.java +9 -0
- package/platforms/android/java/com/nativescript/massifmaps/routing/RoutingResultToJSONCallback.java +5 -0
- package/platforms/android/java/com/nativescript/massifmaps/routing/RoutingServiceAdditions.java +406 -0
- package/platforms/android/java/com/nativescript/massifmaps/routing/RoutingServiceRouteCallback.java +7 -0
- package/platforms/android/java/com/nativescript/massifmaps/routing/RoutingServiceRouteMatchingCallback.java +7 -0
- package/platforms/android/native-api-usage.json +273 -0
- package/platforms/ios/build.xcconfig +1 -0
- package/platforms/ios/native-api-usage.json +240 -0
- package/platforms/ios/src/Info.plist +0 -0
- package/platforms/ios/src/MassifMapsAdditions.h +14 -0
- package/platforms/ios/src/NSMSFCelestialEventListener.h +11 -0
- package/platforms/ios/src/NSMSFCelestialEventListener.mm +31 -0
- package/platforms/ios/src/NSMSFClusterElementBuilder.h +13 -0
- package/platforms/ios/src/NSMSFClusterElementBuilder.mm +152 -0
- package/platforms/ios/src/NSMSFFeatureCollectionSearchService.swift +27 -0
- package/platforms/ios/src/NSMSFGeocodingServiceAdditions.swift +54 -0
- package/platforms/ios/src/NSMSFHillshadeRasterTileLayer.swift +40 -0
- package/platforms/ios/src/NSMSFMapEventListener.swift +43 -0
- package/platforms/ios/src/NSMSFMapView.swift +106 -0
- package/platforms/ios/src/NSMSFRasterTileEventListener.h +9 -0
- package/platforms/ios/src/NSMSFRasterTileEventListener.mm +28 -0
- package/platforms/ios/src/NSMSFRendererCaptureListener.h +6 -0
- package/platforms/ios/src/NSMSFRendererCaptureListener.mm +25 -0
- package/platforms/ios/src/NSMSFRoutingServiceAdditions.swift +91 -0
- package/platforms/ios/src/NSMSFTileDownloadListener.h +12 -0
- package/platforms/ios/src/NSMSFTileDownloadListener.mm +55 -0
- package/platforms/ios/src/NSMSFVectorEditEventListener.h +13 -0
- package/platforms/ios/src/NSMSFVectorEditEventListener.mm +127 -0
- package/platforms/ios/src/NSMSFVectorElementEventListener.h +6 -0
- package/platforms/ios/src/NSMSFVectorElementEventListener.mm +27 -0
- package/platforms/ios/src/NSMSFVectorTileEventListener.h +6 -0
- package/platforms/ios/src/NSMSFVectorTileEventListener.mm +26 -0
- package/platforms/ios/src/NSMSFVectorTileSearchService.swift +26 -0
- package/platforms/ios/src/Utils.h +31 -0
- package/platforms/ios/src/Utils.m +240 -0
- package/platforms/ios/src/module.modulemap +5 -0
- package/projections/epsg3857.android.d.ts +8 -0
- package/projections/epsg3857.android.js +10 -0
- package/projections/epsg3857.android.js.map +1 -0
- package/projections/epsg3857.d.ts +12 -0
- package/projections/epsg3857.ios.d.ts +8 -0
- package/projections/epsg3857.ios.js +10 -0
- package/projections/epsg3857.ios.js.map +1 -0
- package/projections/epsg4326.android.d.ts +8 -0
- package/projections/epsg4326.android.js +10 -0
- package/projections/epsg4326.android.js.map +1 -0
- package/projections/epsg4326.d.ts +12 -0
- package/projections/epsg4326.ios.d.ts +8 -0
- package/projections/epsg4326.ios.js +10 -0
- package/projections/epsg4326.ios.js.map +1 -0
- package/projections/index.android.d.ts +16 -0
- package/projections/index.android.js +23 -0
- package/projections/index.android.js.map +1 -0
- package/projections/index.common.d.ts +4 -0
- package/projections/index.common.js +4 -0
- package/projections/index.common.js.map +1 -0
- package/projections/index.d.ts +26 -0
- package/projections/index.ios.d.ts +16 -0
- package/projections/index.ios.js +23 -0
- package/projections/index.ios.js.map +1 -0
- package/rastertiles/index.android.d.ts +21 -0
- package/rastertiles/index.android.js +24 -0
- package/rastertiles/index.android.js.map +1 -0
- package/rastertiles/index.d.ts +42 -0
- package/rastertiles/index.ios.d.ts +22 -0
- package/rastertiles/index.ios.js +22 -0
- package/rastertiles/index.ios.js.map +1 -0
- package/references.d.ts +5 -0
- package/renderers/index.android.d.ts +11 -0
- package/renderers/index.android.js +18 -0
- package/renderers/index.android.js.map +1 -0
- package/renderers/index.d.ts +29 -0
- package/renderers/index.ios.d.ts +11 -0
- package/renderers/index.ios.js +18 -0
- package/renderers/index.ios.js.map +1 -0
- package/routing/index.android.d.ts +95 -0
- package/routing/index.android.js +194 -0
- package/routing/index.android.js.map +1 -0
- package/routing/index.common.d.ts +23 -0
- package/routing/index.common.js +45 -0
- package/routing/index.common.js.map +1 -0
- package/routing/index.d.ts +175 -0
- package/routing/index.ios.d.ts +95 -0
- package/routing/index.ios.js +162 -0
- package/routing/index.ios.js.map +1 -0
- package/search/index.android.d.ts +17 -0
- package/search/index.android.js +89 -0
- package/search/index.android.js.map +1 -0
- package/search/index.d.ts +64 -0
- package/search/index.ios.d.ts +17 -0
- package/search/index.ios.js +85 -0
- package/search/index.ios.js.map +1 -0
- package/tsconfig.tsbuildinfo +1 -0
- package/typings/massifmaps.android.d.ts +6063 -0
- package/typings/massifmaps.ios.d.ts +6974 -0
- package/typings/ns.massifmaps.android.d.ts +844 -0
- package/typings/ns.massifmaps.ios.d.ts +272 -0
- package/ui/cssproperties.d.ts +9 -0
- package/ui/cssproperties.js +32 -0
- package/ui/cssproperties.js.map +1 -0
- package/ui/index.android.d.ts +91 -0
- package/ui/index.android.js +347 -0
- package/ui/index.android.js.map +1 -0
- package/ui/index.common.d.ts +74 -0
- package/ui/index.common.js +229 -0
- package/ui/index.common.js.map +1 -0
- package/ui/index.d.ts +193 -0
- package/ui/index.ios.d.ts +86 -0
- package/ui/index.ios.js +373 -0
- package/ui/index.ios.js.map +1 -0
- package/utils/index.android.d.ts +54 -0
- package/utils/index.android.js +275 -0
- package/utils/index.android.js.map +1 -0
- package/utils/index.d.ts +56 -0
- package/utils/index.ios.d.ts +43 -0
- package/utils/index.ios.js +215 -0
- package/utils/index.ios.js.map +1 -0
- package/vectorelements/balloonpopup.android.d.ts +31 -0
- package/vectorelements/balloonpopup.android.js +76 -0
- package/vectorelements/balloonpopup.android.js.map +1 -0
- package/vectorelements/balloonpopup.d.ts +84 -0
- package/vectorelements/balloonpopup.ios.d.ts +31 -0
- package/vectorelements/balloonpopup.ios.js +76 -0
- package/vectorelements/balloonpopup.ios.js.map +1 -0
- package/vectorelements/group.android.d.ts +15 -0
- package/vectorelements/group.android.js +31 -0
- package/vectorelements/group.android.js.map +1 -0
- package/vectorelements/group.common.d.ts +14 -0
- package/vectorelements/group.common.js +14 -0
- package/vectorelements/group.common.js.map +1 -0
- package/vectorelements/group.d.ts +15 -0
- package/vectorelements/group.ios.d.ts +15 -0
- package/vectorelements/group.ios.js +31 -0
- package/vectorelements/group.ios.js.map +1 -0
- package/vectorelements/index.android.d.ts +104 -0
- package/vectorelements/index.android.js +186 -0
- package/vectorelements/index.android.js.map +1 -0
- package/vectorelements/index.common.d.ts +7 -0
- package/vectorelements/index.common.js +27 -0
- package/vectorelements/index.common.js.map +1 -0
- package/vectorelements/index.d.ts +111 -0
- package/vectorelements/index.ios.d.ts +103 -0
- package/vectorelements/index.ios.js +189 -0
- package/vectorelements/index.ios.js.map +1 -0
- package/vectorelements/line.android.d.ts +61 -0
- package/vectorelements/line.android.js +159 -0
- package/vectorelements/line.android.js.map +1 -0
- package/vectorelements/line.d.ts +67 -0
- package/vectorelements/line.ios.d.ts +60 -0
- package/vectorelements/line.ios.js +158 -0
- package/vectorelements/line.ios.js.map +1 -0
- package/vectorelements/marker.android.d.ts +32 -0
- package/vectorelements/marker.android.js +87 -0
- package/vectorelements/marker.android.js.map +1 -0
- package/vectorelements/marker.d.ts +51 -0
- package/vectorelements/marker.ios.d.ts +33 -0
- package/vectorelements/marker.ios.js +88 -0
- package/vectorelements/marker.ios.js.map +1 -0
- package/vectorelements/nmlmodel.android.d.ts +28 -0
- package/vectorelements/nmlmodel.android.js +57 -0
- package/vectorelements/nmlmodel.android.js.map +1 -0
- package/vectorelements/nmlmodel.d.ts +35 -0
- package/vectorelements/nmlmodel.ios.d.ts +28 -0
- package/vectorelements/nmlmodel.ios.js +57 -0
- package/vectorelements/nmlmodel.ios.js.map +1 -0
- package/vectorelements/point.android.d.ts +28 -0
- package/vectorelements/point.android.js +65 -0
- package/vectorelements/point.android.js.map +1 -0
- package/vectorelements/point.d.ts +39 -0
- package/vectorelements/point.ios.d.ts +28 -0
- package/vectorelements/point.ios.js +67 -0
- package/vectorelements/point.ios.js.map +1 -0
- package/vectorelements/polygon.android.d.ts +35 -0
- package/vectorelements/polygon.android.js +111 -0
- package/vectorelements/polygon.android.js.map +1 -0
- package/vectorelements/polygon.d.ts +43 -0
- package/vectorelements/polygon.ios.d.ts +35 -0
- package/vectorelements/polygon.ios.js +111 -0
- package/vectorelements/polygon.ios.js.map +1 -0
- package/vectorelements/polygon3d.android.d.ts +23 -0
- package/vectorelements/polygon3d.android.js +63 -0
- package/vectorelements/polygon3d.android.js.map +1 -0
- package/vectorelements/polygon3d.d.ts +44 -0
- package/vectorelements/polygon3d.ios.d.ts +23 -0
- package/vectorelements/polygon3d.ios.js +62 -0
- package/vectorelements/polygon3d.ios.js.map +1 -0
- package/vectorelements/text.android.d.ts +31 -0
- package/vectorelements/text.android.js +65 -0
- package/vectorelements/text.android.js.map +1 -0
- package/vectorelements/text.d.ts +68 -0
- package/vectorelements/text.ios.d.ts +31 -0
- package/vectorelements/text.ios.js +65 -0
- package/vectorelements/text.ios.js.map +1 -0
- package/vectortiles/index.android.d.ts +34 -0
- package/vectortiles/index.android.js +131 -0
- package/vectortiles/index.android.js.map +1 -0
- package/vectortiles/index.common.d.ts +4 -0
- package/vectortiles/index.common.js +4 -0
- package/vectortiles/index.common.js.map +1 -0
- package/vectortiles/index.d.ts +88 -0
- package/vectortiles/index.ios.d.ts +32 -0
- package/vectortiles/index.ios.js +121 -0
- package/vectortiles/index.ios.js.map +1 -0
- package/vue/index.d.ts +4 -0
- package/vue/index.js +7 -0
- package/vue/index.js.map +1 -0
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
import { Layer, TileLayer } from '.';
|
|
2
|
+
import { Projection } from '../projections';
|
|
3
|
+
import { VectorElement } from '../vectorelements';
|
|
4
|
+
import { MBVectorTileDecoder } from '../vectortiles';
|
|
5
|
+
import { ClusteredVectorLayerLayerOptions, VectorEditEventListener as IVectorEditEventListener, VectorElementEventListener as IVectorElementEventListener, VectorTileEventListener as IVectorTileEventListener, VectorLayerOptions, VectorTileLayerOptions } from './vector';
|
|
6
|
+
import { Accessors as Acc_VectorTileLayer, Methods as Met_VectorTileLayer } from '../bindings/layers/VectorTileLayer';
|
|
7
|
+
import { Accessors as Acc_VectorLayer, Methods as Met_VectorLayer } from '../bindings/layers/VectorLayer';
|
|
8
|
+
import { Accessors as Acc_EditableVectorLayer, Methods as Met_EditableVectorLayer } from '../bindings/layers/EditableVectorLayer';
|
|
9
|
+
import { Accessors as Acc_ClusteredVectorLayer, Methods as Met_ClusteredVectorLayer } from '../bindings/layers/ClusteredVectorLayer';
|
|
10
|
+
import { Accessors as Acc_BaseVectorTileLayer, Methods as Met_BaseVectorTileLayer } from '../bindings/layers/VectorTileLayer';
|
|
11
|
+
import { Accessors as Acc_BaseVectorLayer, Methods as Met_BaseVectorLayer } from '../bindings/layers/VectorLayer';
|
|
12
|
+
export declare enum VectorTileRenderOrder {
|
|
13
|
+
HIDDEN = -1,
|
|
14
|
+
LAYER = 0,
|
|
15
|
+
LAST = 1
|
|
16
|
+
}
|
|
17
|
+
export declare enum VectorElementDragResult {
|
|
18
|
+
IGNORE = 0,
|
|
19
|
+
STOP = 1,
|
|
20
|
+
MODIFY = 2,
|
|
21
|
+
DELETE = 3
|
|
22
|
+
}
|
|
23
|
+
export declare class MSFVectorElementEventListenerImpl extends NSMSFVectorElementEventListener {
|
|
24
|
+
private _layer;
|
|
25
|
+
private _owner;
|
|
26
|
+
private projection?;
|
|
27
|
+
static initWithOwner(owner: WeakRef<IVectorElementEventListener>, layer: WeakRef<BaseVectorLayer<any, any>>, projection?: Projection): MSFVectorElementEventListenerImpl;
|
|
28
|
+
onVectorElementClickedThreaded(info: MSFVectorElementClickInfo): boolean;
|
|
29
|
+
}
|
|
30
|
+
export declare class MSFVectorTileEventListenerImpl extends NSMSFVectorTileEventListener {
|
|
31
|
+
private _layer;
|
|
32
|
+
private _owner;
|
|
33
|
+
private projection?;
|
|
34
|
+
static initWithOwner(owner: WeakRef<IVectorTileEventListener>, layer: any, projection?: Projection): MSFVectorTileEventListenerImpl;
|
|
35
|
+
onVectorTileClickedThreaded(info: MSFVectorTileClickInfo): boolean;
|
|
36
|
+
}
|
|
37
|
+
export declare abstract class BaseVectorTileLayer<T extends MSFVectorTileLayer, U extends VectorTileLayerOptions> extends TileLayer<T, U> {
|
|
38
|
+
listener?: IVectorTileEventListener;
|
|
39
|
+
nListener?: MSFVectorTileEventListener;
|
|
40
|
+
listenerProjection?: Projection;
|
|
41
|
+
constructor(options: any);
|
|
42
|
+
setVectorTileEventListener(listener: IVectorTileEventListener | any, projection?: Projection, nativeClass?: typeof MSFVectorTileEventListenerImpl): void;
|
|
43
|
+
getTileDecoder(): import("../vectortiles").VectorTileDecoder | MBVectorTileDecoder;
|
|
44
|
+
}
|
|
45
|
+
export declare class VectorTileLayer extends BaseVectorTileLayer<MSFVectorTileLayer, VectorTileLayerOptions> {
|
|
46
|
+
createNative(options: VectorTileLayerOptions): MSFVectorTileLayer;
|
|
47
|
+
}
|
|
48
|
+
export declare abstract class BaseVectorLayer<T extends MSFVectorLayer, U extends VectorLayerOptions> extends Layer<T, U> {
|
|
49
|
+
projection?: Projection;
|
|
50
|
+
elementListener?: IVectorElementEventListener;
|
|
51
|
+
nElementListener?: MSFVectorElementEventListener;
|
|
52
|
+
constructor(options: any);
|
|
53
|
+
setVectorElementEventListener(listener: IVectorElementEventListener, projection?: Projection, nativeClass?: typeof MSFVectorElementEventListenerImpl): void;
|
|
54
|
+
}
|
|
55
|
+
export declare class VectorLayer extends BaseVectorLayer<MSFVectorLayer, VectorLayerOptions> {
|
|
56
|
+
createNative(options: VectorLayerOptions): MSFVectorLayer;
|
|
57
|
+
}
|
|
58
|
+
export declare class EditableVectorLayer extends BaseVectorLayer<MSFEditableVectorLayer, VectorLayerOptions> {
|
|
59
|
+
editListener?: IVectorEditEventListener;
|
|
60
|
+
nEditListener?: NSMSFVectorEditEventListener;
|
|
61
|
+
constructor(options: any);
|
|
62
|
+
createNative(options: VectorLayerOptions): MSFEditableVectorLayer;
|
|
63
|
+
setSelectedVectorElement(element: any): void;
|
|
64
|
+
setVectorEditEventListener(listener: IVectorEditEventListener, projection?: Projection): void;
|
|
65
|
+
}
|
|
66
|
+
export declare class ClusteredVectorLayer extends BaseVectorLayer<MSFClusteredVectorLayer, ClusteredVectorLayerLayerOptions> {
|
|
67
|
+
createNative(options: ClusteredVectorLayerLayerOptions): MSFClusteredVectorLayer;
|
|
68
|
+
expandCluster(element: VectorElement<any, any>, px: number): void;
|
|
69
|
+
}
|
|
70
|
+
export interface VectorTileLayer extends Acc_VectorTileLayer, Omit<Met_VectorTileLayer, 'getTileDecoder' | 'setVectorTileEventListener'> {
|
|
71
|
+
}
|
|
72
|
+
export interface VectorLayer extends Acc_VectorLayer, Omit<Met_VectorLayer, 'setVectorElementEventListener'> {
|
|
73
|
+
}
|
|
74
|
+
export interface EditableVectorLayer extends Acc_EditableVectorLayer, Omit<Met_EditableVectorLayer, 'setSelectedVectorElement' | 'setVectorEditEventListener'> {
|
|
75
|
+
}
|
|
76
|
+
export interface ClusteredVectorLayer extends Acc_ClusteredVectorLayer, Omit<Met_ClusteredVectorLayer, 'expandCluster' | 'refresh'> {
|
|
77
|
+
}
|
|
78
|
+
export interface BaseVectorTileLayer<T extends MSFVectorTileLayer, U extends VectorTileLayerOptions> extends Acc_BaseVectorTileLayer, Omit<Met_BaseVectorTileLayer, 'getTileDecoder' | 'setVectorTileEventListener'> {
|
|
79
|
+
}
|
|
80
|
+
export interface BaseVectorLayer<T extends MSFVectorLayer, U extends VectorLayerOptions> extends Acc_BaseVectorLayer, Omit<Met_BaseVectorLayer, 'setVectorElementEventListener'> {
|
|
81
|
+
}
|
|
@@ -0,0 +1,379 @@
|
|
|
1
|
+
import { Layer, TileLayer } from '.';
|
|
2
|
+
import { BaseNative } from '..';
|
|
3
|
+
import { fromNativeMapPos, fromNativeScreenPos } from '../core';
|
|
4
|
+
import { VectorElement } from '../vectorelements';
|
|
5
|
+
import { MBVectorTileDecoder } from '../vectortiles';
|
|
6
|
+
import { ACCESSORS as ACC_VectorTileLayer, METHODS as MET_VectorTileLayer, SELECTORS as SEL_VectorTileLayer } from '../bindings/layers/VectorTileLayer';
|
|
7
|
+
import { bindNative } from '../nativeclass.common';
|
|
8
|
+
import { ACCESSORS as ACC_VectorLayer, METHODS as MET_VectorLayer, SELECTORS as SEL_VectorLayer } from '../bindings/layers/VectorLayer';
|
|
9
|
+
import { ACCESSORS as ACC_EditableVectorLayer, METHODS as MET_EditableVectorLayer, SELECTORS as SEL_EditableVectorLayer } from '../bindings/layers/EditableVectorLayer';
|
|
10
|
+
import { ACCESSORS as ACC_ClusteredVectorLayer, METHODS as MET_ClusteredVectorLayer, SELECTORS as SEL_ClusteredVectorLayer } from '../bindings/layers/ClusteredVectorLayer';
|
|
11
|
+
import { ACCESSORS as ACC_BaseVectorTileLayer, METHODS as MET_BaseVectorTileLayer, SELECTORS as SEL_BaseVectorTileLayer } from '../bindings/layers/VectorTileLayer';
|
|
12
|
+
import { ACCESSORS as ACC_BaseVectorLayer, METHODS as MET_BaseVectorLayer, SELECTORS as SEL_BaseVectorLayer } from '../bindings/layers/VectorLayer';
|
|
13
|
+
export var VectorTileRenderOrder;
|
|
14
|
+
(function (VectorTileRenderOrder) {
|
|
15
|
+
VectorTileRenderOrder[VectorTileRenderOrder["HIDDEN"] = -1] = "HIDDEN";
|
|
16
|
+
VectorTileRenderOrder[VectorTileRenderOrder["LAYER"] = 0] = "LAYER";
|
|
17
|
+
VectorTileRenderOrder[VectorTileRenderOrder["LAST"] = 1] = "LAST";
|
|
18
|
+
})(VectorTileRenderOrder || (VectorTileRenderOrder = {}));
|
|
19
|
+
export var VectorElementDragResult;
|
|
20
|
+
(function (VectorElementDragResult) {
|
|
21
|
+
VectorElementDragResult[VectorElementDragResult["IGNORE"] = 0] = "IGNORE";
|
|
22
|
+
VectorElementDragResult[VectorElementDragResult["STOP"] = 1] = "STOP";
|
|
23
|
+
VectorElementDragResult[VectorElementDragResult["MODIFY"] = 2] = "MODIFY";
|
|
24
|
+
VectorElementDragResult[VectorElementDragResult["DELETE"] = 3] = "DELETE";
|
|
25
|
+
})(VectorElementDragResult || (VectorElementDragResult = {}));
|
|
26
|
+
var MSFVectorElementEventListenerImpl = /** @class */ (function (_super) {
|
|
27
|
+
__extends(MSFVectorElementEventListenerImpl, _super);
|
|
28
|
+
function MSFVectorElementEventListenerImpl() {
|
|
29
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
30
|
+
}
|
|
31
|
+
MSFVectorElementEventListenerImpl.initWithOwner = function (owner, layer, projection) {
|
|
32
|
+
var delegate = MSFVectorElementEventListenerImpl.new();
|
|
33
|
+
delegate._owner = owner;
|
|
34
|
+
delegate._layer = layer;
|
|
35
|
+
delegate.projection = projection;
|
|
36
|
+
return delegate;
|
|
37
|
+
};
|
|
38
|
+
MSFVectorElementEventListenerImpl.prototype.onVectorElementClickedThreaded = function (info) {
|
|
39
|
+
var owner = this._owner.get();
|
|
40
|
+
if (owner && owner.onVectorElementClicked) {
|
|
41
|
+
var nElement = info.getVectorElement();
|
|
42
|
+
var element = new VectorElement(undefined, nElement);
|
|
43
|
+
var position = info.getClickPos();
|
|
44
|
+
var elementPos = info.getElementClickPos();
|
|
45
|
+
if (this.projection) {
|
|
46
|
+
var layerProj = this._layer.get().getNative().getDataSource().getProjection();
|
|
47
|
+
var nProj = this.projection.getNative();
|
|
48
|
+
elementPos = nProj.fromWgs84(layerProj.toWgs84(elementPos));
|
|
49
|
+
position = nProj.fromWgs84(layerProj.toWgs84(position));
|
|
50
|
+
}
|
|
51
|
+
return (owner.onVectorElementClicked({
|
|
52
|
+
clickType: info.getClickType(),
|
|
53
|
+
layer: this._layer.get(),
|
|
54
|
+
element: element,
|
|
55
|
+
native: nElement,
|
|
56
|
+
metaData: element.metaData,
|
|
57
|
+
position: fromNativeMapPos(position),
|
|
58
|
+
elementPos: fromNativeMapPos(elementPos)
|
|
59
|
+
}) || false);
|
|
60
|
+
}
|
|
61
|
+
return false;
|
|
62
|
+
};
|
|
63
|
+
return MSFVectorElementEventListenerImpl;
|
|
64
|
+
}(NSMSFVectorElementEventListener));
|
|
65
|
+
export { MSFVectorElementEventListenerImpl };
|
|
66
|
+
let geojsonWriter;
|
|
67
|
+
function getGeojsonWriter() {
|
|
68
|
+
if (!geojsonWriter) {
|
|
69
|
+
geojsonWriter = MSFGeoJSONGeometryWriter.alloc().init();
|
|
70
|
+
}
|
|
71
|
+
return geojsonWriter;
|
|
72
|
+
}
|
|
73
|
+
var MSFVectorTileEventListenerImpl = /** @class */ (function (_super) {
|
|
74
|
+
__extends(MSFVectorTileEventListenerImpl, _super);
|
|
75
|
+
function MSFVectorTileEventListenerImpl() {
|
|
76
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
77
|
+
}
|
|
78
|
+
MSFVectorTileEventListenerImpl.initWithOwner = function (owner, layer, projection) {
|
|
79
|
+
var delegate = MSFVectorTileEventListenerImpl.new();
|
|
80
|
+
delegate._owner = owner;
|
|
81
|
+
delegate._layer = layer;
|
|
82
|
+
delegate.projection = projection;
|
|
83
|
+
return delegate;
|
|
84
|
+
};
|
|
85
|
+
MSFVectorTileEventListenerImpl.prototype.onVectorTileClickedThreaded = function (info) {
|
|
86
|
+
var _a;
|
|
87
|
+
var owner = this._owner.get();
|
|
88
|
+
if (owner && owner.onVectorTileClicked) {
|
|
89
|
+
var feature = info.getFeature();
|
|
90
|
+
var geometry = feature.getGeometry();
|
|
91
|
+
var position = info.getClickPos();
|
|
92
|
+
var geoPosIndex = info.getFeaturePosIndex();
|
|
93
|
+
var featurePos = void 0;
|
|
94
|
+
if (geoPosIndex !== -1 && /MultiPoint/.test(geometry.constructor.name)) {
|
|
95
|
+
featurePos = (_a = geometry.getGeometry(geoPosIndex)) === null || _a === void 0 ? void 0 : _a.getCenterPos();
|
|
96
|
+
}
|
|
97
|
+
if (!featurePos) {
|
|
98
|
+
featurePos = geometry.getCenterPos();
|
|
99
|
+
}
|
|
100
|
+
var projection = void 0;
|
|
101
|
+
var dataSourceProjection_1 = this._layer.get().getNative().getDataSource().getProjection();
|
|
102
|
+
if (this.projection) {
|
|
103
|
+
projection = this.projection.getNative();
|
|
104
|
+
featurePos = projection.fromWgs84(dataSourceProjection_1.toWgs84(featurePos));
|
|
105
|
+
position = projection.fromWgs84(dataSourceProjection_1.toWgs84(position));
|
|
106
|
+
}
|
|
107
|
+
var geoFeature = {
|
|
108
|
+
feature: feature,
|
|
109
|
+
id: info.getFeatureId(),
|
|
110
|
+
layer: info.getFeatureLayerName(),
|
|
111
|
+
_nativeGeometry: geometry,
|
|
112
|
+
get geometry() {
|
|
113
|
+
if (!this._parsedGeometry) {
|
|
114
|
+
var writer = getGeojsonWriter();
|
|
115
|
+
writer.setSourceProjection(dataSourceProjection_1);
|
|
116
|
+
this._geometry = getGeojsonWriter().writeGeometry(this._nativeGeometry);
|
|
117
|
+
this._parsedGeometry = JSON.parse(this._geometry);
|
|
118
|
+
}
|
|
119
|
+
return this._parsedGeometry;
|
|
120
|
+
},
|
|
121
|
+
get _properties() {
|
|
122
|
+
return info.getFeature().getProperties().toString();
|
|
123
|
+
},
|
|
124
|
+
get properties() {
|
|
125
|
+
if (!this._parsedProperties) {
|
|
126
|
+
this._parsedProperties = JSON.parse(this._properties);
|
|
127
|
+
}
|
|
128
|
+
return this._parsedProperties;
|
|
129
|
+
}
|
|
130
|
+
};
|
|
131
|
+
return (owner.onVectorTileClicked({
|
|
132
|
+
clickType: info.getClickType(),
|
|
133
|
+
layer: this._layer.get(),
|
|
134
|
+
feature: geoFeature,
|
|
135
|
+
featureId: geoFeature.id,
|
|
136
|
+
featureData: geoFeature.properties,
|
|
137
|
+
featureLayerName: geoFeature.layer,
|
|
138
|
+
featureGeometry: geometry,
|
|
139
|
+
featureGeometryPosIndex: geoPosIndex,
|
|
140
|
+
featurePosition: fromNativeMapPos(featurePos),
|
|
141
|
+
position: fromNativeMapPos(position)
|
|
142
|
+
}) || false);
|
|
143
|
+
}
|
|
144
|
+
return false;
|
|
145
|
+
};
|
|
146
|
+
return MSFVectorTileEventListenerImpl;
|
|
147
|
+
}(NSMSFVectorTileEventListener));
|
|
148
|
+
export { MSFVectorTileEventListenerImpl };
|
|
149
|
+
export class BaseVectorTileLayer extends TileLayer {
|
|
150
|
+
constructor(options) {
|
|
151
|
+
super(options);
|
|
152
|
+
for (const property of ['listener', 'nListener']) {
|
|
153
|
+
const descriptor = Object.getOwnPropertyDescriptor(BaseVectorTileLayer.prototype, property);
|
|
154
|
+
if (descriptor) {
|
|
155
|
+
descriptor.enumerable = false;
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
setVectorTileEventListener(listener, projection, nativeClass = MSFVectorTileEventListenerImpl) {
|
|
160
|
+
this.listener = listener;
|
|
161
|
+
this.listenerProjection = projection;
|
|
162
|
+
if (listener) {
|
|
163
|
+
if (listener instanceof MSFVectorTileEventListener) {
|
|
164
|
+
this.getNative().setVectorTileEventListener(listener);
|
|
165
|
+
this.nListener = listener;
|
|
166
|
+
}
|
|
167
|
+
else {
|
|
168
|
+
this.nListener = nativeClass.initWithOwner(new WeakRef(listener), new WeakRef(this), projection);
|
|
169
|
+
this.getNative().setVectorTileEventListener(this.nListener);
|
|
170
|
+
}
|
|
171
|
+
}
|
|
172
|
+
else {
|
|
173
|
+
this.nListener = null;
|
|
174
|
+
this.getNative().setVectorTileEventListener(null);
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
getTileDecoder() {
|
|
178
|
+
if (this.options.decoder) {
|
|
179
|
+
return this.options.decoder;
|
|
180
|
+
}
|
|
181
|
+
else {
|
|
182
|
+
return new MBVectorTileDecoder(undefined, this.getNative().getTileDecoder());
|
|
183
|
+
}
|
|
184
|
+
}
|
|
185
|
+
}
|
|
186
|
+
export class VectorTileLayer extends BaseVectorTileLayer {
|
|
187
|
+
createNative(options) {
|
|
188
|
+
if (!!options.dataSource && !!options.decoder) {
|
|
189
|
+
const dataSource = options.dataSource.getNative();
|
|
190
|
+
const decoder = options.decoder.getNative();
|
|
191
|
+
if (dataSource && decoder) {
|
|
192
|
+
return MSFVectorTileLayer.alloc().initWithDataSourceDecoder(dataSource, decoder);
|
|
193
|
+
}
|
|
194
|
+
}
|
|
195
|
+
return null;
|
|
196
|
+
}
|
|
197
|
+
}
|
|
198
|
+
export class BaseVectorLayer extends Layer {
|
|
199
|
+
constructor(options) {
|
|
200
|
+
super(options);
|
|
201
|
+
for (const property of ['elementListener', 'nElementListener']) {
|
|
202
|
+
const descriptor = Object.getOwnPropertyDescriptor(BaseVectorLayer.prototype, property);
|
|
203
|
+
if (descriptor) {
|
|
204
|
+
descriptor.enumerable = false;
|
|
205
|
+
}
|
|
206
|
+
}
|
|
207
|
+
}
|
|
208
|
+
// setVectorElementEventListener(listener: IVectorElementEventListener) {
|
|
209
|
+
// initVectorElementEventListener();
|
|
210
|
+
// this.getNative().setVectorElementEventListener(new VectorElementEventListener(new WeakRef(listener), new WeakRef(this)));
|
|
211
|
+
// }
|
|
212
|
+
setVectorElementEventListener(listener, projection, nativeClass = MSFVectorElementEventListenerImpl) {
|
|
213
|
+
this.elementListener = listener;
|
|
214
|
+
this.projection = projection;
|
|
215
|
+
if (listener) {
|
|
216
|
+
this.nElementListener = nativeClass.initWithOwner(new WeakRef(listener), new WeakRef(this), projection);
|
|
217
|
+
this.getNative().setVectorElementEventListener(this.nElementListener);
|
|
218
|
+
}
|
|
219
|
+
else {
|
|
220
|
+
this.nElementListener = null;
|
|
221
|
+
this.getNative().setVectorElementEventListener(null);
|
|
222
|
+
}
|
|
223
|
+
}
|
|
224
|
+
}
|
|
225
|
+
export class VectorLayer extends BaseVectorLayer {
|
|
226
|
+
createNative(options) {
|
|
227
|
+
if (!!options.dataSource) {
|
|
228
|
+
const dataSource = options.dataSource.getNative();
|
|
229
|
+
if (dataSource) {
|
|
230
|
+
return MSFVectorLayer.alloc().initWithDataSource(dataSource);
|
|
231
|
+
}
|
|
232
|
+
}
|
|
233
|
+
return null;
|
|
234
|
+
}
|
|
235
|
+
}
|
|
236
|
+
var MSFVectorEditEventListenerImpl = /** @class */ (function (_super) {
|
|
237
|
+
__extends(MSFVectorEditEventListenerImpl, _super);
|
|
238
|
+
function MSFVectorEditEventListenerImpl() {
|
|
239
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
240
|
+
}
|
|
241
|
+
MSFVectorEditEventListenerImpl.initWithOwner = function (owner) {
|
|
242
|
+
var delegate = MSFVectorEditEventListenerImpl.new();
|
|
243
|
+
delegate._owner = owner;
|
|
244
|
+
return delegate;
|
|
245
|
+
};
|
|
246
|
+
MSFVectorEditEventListenerImpl.prototype.onDragEndThreaded = function (dragInfo) {
|
|
247
|
+
var owner = this._owner.get();
|
|
248
|
+
if (owner && owner.onDragEnd) {
|
|
249
|
+
return owner.onDragEnd.call(owner, {
|
|
250
|
+
layer: this,
|
|
251
|
+
element: new VectorElement(undefined, dragInfo.getVectorElement()),
|
|
252
|
+
position: fromNativeMapPos(dragInfo.getMapPos()),
|
|
253
|
+
screenPosition: fromNativeScreenPos(dragInfo.getScreenPos()),
|
|
254
|
+
dragMode: dragInfo.getDragMode()
|
|
255
|
+
});
|
|
256
|
+
}
|
|
257
|
+
return MSFVectorElementDragResult.F_VECTOR_ELEMENT_DRAG_RESULT_IGNORE;
|
|
258
|
+
};
|
|
259
|
+
MSFVectorEditEventListenerImpl.prototype.onDragMoveThreaded = function (dragInfo) {
|
|
260
|
+
var owner = this._owner.get();
|
|
261
|
+
if (owner && owner.onDragMove) {
|
|
262
|
+
return owner.onDragMove.call(owner, {
|
|
263
|
+
layer: this,
|
|
264
|
+
element: new VectorElement(undefined, dragInfo.getVectorElement()),
|
|
265
|
+
position: fromNativeMapPos(dragInfo.getMapPos()),
|
|
266
|
+
screenPosition: fromNativeScreenPos(dragInfo.getScreenPos()),
|
|
267
|
+
dragMode: dragInfo.getDragMode()
|
|
268
|
+
});
|
|
269
|
+
}
|
|
270
|
+
return MSFVectorElementDragResult.F_VECTOR_ELEMENT_DRAG_RESULT_IGNORE;
|
|
271
|
+
};
|
|
272
|
+
MSFVectorEditEventListenerImpl.prototype.onDragStartThreaded = function (dragInfo) {
|
|
273
|
+
var owner = this._owner.get();
|
|
274
|
+
if (owner && owner.onDragStart) {
|
|
275
|
+
return owner.onDragStart.call(owner, {
|
|
276
|
+
layer: this,
|
|
277
|
+
element: new VectorElement(undefined, dragInfo.getVectorElement()),
|
|
278
|
+
position: fromNativeMapPos(dragInfo.getMapPos()),
|
|
279
|
+
screenPosition: fromNativeScreenPos(dragInfo.getScreenPos()),
|
|
280
|
+
dragMode: dragInfo.getDragMode()
|
|
281
|
+
});
|
|
282
|
+
}
|
|
283
|
+
return MSFVectorElementDragResult.F_VECTOR_ELEMENT_DRAG_RESULT_IGNORE;
|
|
284
|
+
};
|
|
285
|
+
MSFVectorEditEventListenerImpl.prototype.onElementDeleteThreaded = function (element) {
|
|
286
|
+
var owner = this._owner.get();
|
|
287
|
+
if (owner && owner.onElementDelete) {
|
|
288
|
+
var el = new VectorElement(undefined, element);
|
|
289
|
+
owner.onElementDelete.call(owner, el);
|
|
290
|
+
}
|
|
291
|
+
};
|
|
292
|
+
MSFVectorEditEventListenerImpl.prototype.onElementDeselectedThreaded = function (element) {
|
|
293
|
+
var owner = this._owner.get();
|
|
294
|
+
if (owner && owner.onElementDelete) {
|
|
295
|
+
var el = new VectorElement(undefined, element);
|
|
296
|
+
owner.onElementDelete.call(owner, el);
|
|
297
|
+
}
|
|
298
|
+
};
|
|
299
|
+
MSFVectorEditEventListenerImpl.prototype.onElementModifyThreadedGeometry = function (element, geometry) {
|
|
300
|
+
var owner = this._owner.get();
|
|
301
|
+
if (owner && owner.onElementModify) {
|
|
302
|
+
var el = new VectorElement(undefined, element);
|
|
303
|
+
owner.onElementModify.call(owner, el, geometry);
|
|
304
|
+
}
|
|
305
|
+
};
|
|
306
|
+
MSFVectorEditEventListenerImpl.prototype.onElementSelectThreaded = function (element) {
|
|
307
|
+
var owner = this._owner.get();
|
|
308
|
+
if (owner && owner.onElementSelect) {
|
|
309
|
+
var el = new VectorElement(undefined, element);
|
|
310
|
+
return owner.onElementSelect.call(owner, el);
|
|
311
|
+
}
|
|
312
|
+
return true;
|
|
313
|
+
};
|
|
314
|
+
MSFVectorEditEventListenerImpl.prototype.onSelectDragPointStyleThreadedDragPointStyle = function (element, dragPointStyle) {
|
|
315
|
+
var owner = this._owner.get();
|
|
316
|
+
if (owner && owner.onElementSelect) {
|
|
317
|
+
var el = new VectorElement(undefined, element);
|
|
318
|
+
var styleBuilder = owner.onSelectDragPointStyle.call(owner, el);
|
|
319
|
+
return styleBuilder ? styleBuilder.buildStyle() : null;
|
|
320
|
+
}
|
|
321
|
+
return null;
|
|
322
|
+
};
|
|
323
|
+
return MSFVectorEditEventListenerImpl;
|
|
324
|
+
}(NSMSFVectorEditEventListener));
|
|
325
|
+
export class EditableVectorLayer extends BaseVectorLayer {
|
|
326
|
+
constructor(options) {
|
|
327
|
+
super(options);
|
|
328
|
+
for (const property of ['editListener', 'nEditListener']) {
|
|
329
|
+
const descriptor = Object.getOwnPropertyDescriptor(EditableVectorLayer.prototype, property);
|
|
330
|
+
if (descriptor) {
|
|
331
|
+
descriptor.enumerable = false;
|
|
332
|
+
}
|
|
333
|
+
}
|
|
334
|
+
}
|
|
335
|
+
createNative(options) {
|
|
336
|
+
if (!!options.dataSource) {
|
|
337
|
+
const dataSource = options.dataSource.getNative();
|
|
338
|
+
if (dataSource) {
|
|
339
|
+
const result = MSFEditableVectorLayer.alloc().initWithDataSource(options.dataSource.getNative());
|
|
340
|
+
// result.setVectorEditEventListener(MSFVectorEditEventListenerImpl.initWithOwner(new WeakRef(this)));
|
|
341
|
+
// result.setVectorElementEventListener(MSFVectorElementEventListenerImpl.initWithOwner(new WeakRef(this)));
|
|
342
|
+
return result;
|
|
343
|
+
}
|
|
344
|
+
}
|
|
345
|
+
return null;
|
|
346
|
+
}
|
|
347
|
+
setSelectedVectorElement(element) {
|
|
348
|
+
if (this.native) {
|
|
349
|
+
this.native.setSelectedVectorElement(element instanceof BaseNative ? element.getNative() : element);
|
|
350
|
+
}
|
|
351
|
+
}
|
|
352
|
+
setVectorEditEventListener(listener, projection) {
|
|
353
|
+
this.editListener = listener;
|
|
354
|
+
this.projection = projection;
|
|
355
|
+
if (listener) {
|
|
356
|
+
this.nEditListener = MSFVectorEditEventListenerImpl.initWithOwner(new WeakRef(listener));
|
|
357
|
+
this.getNative().setVectorEditEventListener(this.nEditListener);
|
|
358
|
+
}
|
|
359
|
+
else {
|
|
360
|
+
this.nEditListener = null;
|
|
361
|
+
this.getNative().setVectorEditEventListener(null);
|
|
362
|
+
}
|
|
363
|
+
}
|
|
364
|
+
}
|
|
365
|
+
export class ClusteredVectorLayer extends BaseVectorLayer {
|
|
366
|
+
createNative(options) {
|
|
367
|
+
return MSFClusteredVectorLayer.alloc().initWithDataSourceClusterElementBuilder(options.dataSource.getNative(), options.builder.getNative?.() || options.builder);
|
|
368
|
+
}
|
|
369
|
+
expandCluster(element, px) {
|
|
370
|
+
this.getNative().expandClusterPx(element.getNative(), px);
|
|
371
|
+
}
|
|
372
|
+
}
|
|
373
|
+
bindNative(VectorTileLayer, MET_VectorTileLayer, ACC_VectorTileLayer, { selectors: SEL_VectorTileLayer });
|
|
374
|
+
bindNative(VectorLayer, MET_VectorLayer, ACC_VectorLayer, { selectors: SEL_VectorLayer });
|
|
375
|
+
bindNative(EditableVectorLayer, MET_EditableVectorLayer, ACC_EditableVectorLayer, { selectors: SEL_EditableVectorLayer });
|
|
376
|
+
bindNative(ClusteredVectorLayer, MET_ClusteredVectorLayer, ACC_ClusteredVectorLayer, { selectors: SEL_ClusteredVectorLayer });
|
|
377
|
+
bindNative(BaseVectorTileLayer, MET_BaseVectorTileLayer, ACC_BaseVectorTileLayer, { selectors: SEL_BaseVectorTileLayer });
|
|
378
|
+
bindNative(BaseVectorLayer, MET_BaseVectorLayer, ACC_BaseVectorLayer, { selectors: SEL_BaseVectorLayer });
|
|
379
|
+
//# sourceMappingURL=vector.ios.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"vector.ios.js","sourceRoot":"","sources":["../../../src/ui-massifmaps/layers/vector.ios.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,SAAS,EAAE,MAAM,GAAG,CAAC;AACrC,OAAO,EAAE,UAAU,EAAE,MAAM,IAAI,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EAAE,uBAAuB,EAAE,CAAC,CAAC;AAG1H,UAAU,CAAC,eAAe,EAAE,mBAAmB,EAAE,mBAAmB,EAAE,EAAE,SAAS,EAAE,mBAAmB,EAAE,CAAC,CAAC"}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Prototype-level binding for MassifMaps native classes.
|
|
3
|
+
*
|
|
4
|
+
* The SDK exposes the same API on both platforms, so a method that only forwards to
|
|
5
|
+
* the native object does not need to be written twice (or at all). `bindNative`
|
|
6
|
+
* installs those forwarders on the prototype from a generated name list, and turns
|
|
7
|
+
* `getX()`/`setX(v)` pairs into a plain `x` property.
|
|
8
|
+
*
|
|
9
|
+
* Why a generated list rather than a Proxy: roughly half of the raw native surface is
|
|
10
|
+
* SWIG plumbing that must never reach the public API, a Proxy forwards whatever the
|
|
11
|
+
* native object answers to, and a list is also what feeds the two native-api-usage.json
|
|
12
|
+
* files. Forwarders on the prototype are additionally ~2-6x cheaper per call than any
|
|
13
|
+
* Proxy trap and show up properly in stack traces.
|
|
14
|
+
*
|
|
15
|
+
* Anything already on the prototype wins, so a hand-written method or an
|
|
16
|
+
* `@nativeProperty` decorator always overrides the generated forwarder.
|
|
17
|
+
*/
|
|
18
|
+
export interface NativeConverter {
|
|
19
|
+
toNative(value: any, key: string): any;
|
|
20
|
+
fromNative(value: any, key: string): any;
|
|
21
|
+
}
|
|
22
|
+
export interface NativeBinding {
|
|
23
|
+
/** android method name -> ObjC selector, generated. Ignored on android. */
|
|
24
|
+
selectors?: Record<string, string>;
|
|
25
|
+
/** by synthesised property name; replaces the @native*Property decorators */
|
|
26
|
+
converters?: Record<string, NativeConverter>;
|
|
27
|
+
/** trailing arguments to pad a short call with, by method name */
|
|
28
|
+
defaults?: Record<string, any[]>;
|
|
29
|
+
/** skip these entirely (declared natively but not part of our public API) */
|
|
30
|
+
exclude?: string[];
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Anything the plugin wraps is passed to the SDK as its native instance, so a value on
|
|
34
|
+
* its way down is unwrapped whenever it can answer `getNative()`. That is what makes
|
|
35
|
+
* `options.terrainOptions = terrain` work instead of `setTerrainOptions(terrain.getNative())`,
|
|
36
|
+
* and it applies the same way to method arguments and to accessor setters.
|
|
37
|
+
*/
|
|
38
|
+
export declare function unwrapNative(value: any): any;
|
|
39
|
+
export declare function bindNative(cls: any, methods: readonly string[], accessors?: Record<string, [string, string]>, binding?: NativeBinding): any;
|
|
40
|
+
type Uncap<S extends string> = S extends `${infer A}${infer B}` ? `${Lowercase<A>}${B}` : S;
|
|
41
|
+
/**
|
|
42
|
+
* `getSize(): number` paired with `setSize(v)` becomes `size: number`. The paired
|
|
43
|
+
* check matters: a getter with no setter is not turned into a property at runtime,
|
|
44
|
+
* so typing it as one would lie.
|
|
45
|
+
*/
|
|
46
|
+
type AccessorsWithPrefix<T, Pre extends string> = {
|
|
47
|
+
[K in keyof T as K extends `${Pre}${infer P}` ? (T[K] extends () => any ? (`set${P}` extends keyof T ? Uncap<P> : never) : never) : never]: T[K] extends () => infer R ? R : never;
|
|
48
|
+
};
|
|
49
|
+
/**
|
|
50
|
+
* The public property surface of a native class, derived from the generated ambient
|
|
51
|
+
* typings. Covers both `getX`/`setX` and the boolean `isX`/`setX` form SWIG emits.
|
|
52
|
+
* `Omit` the few keys that go through a converter and redeclare them.
|
|
53
|
+
*/
|
|
54
|
+
export type NativeAccessors<T> = AccessorsWithPrefix<T, 'get'> & AccessorsWithPrefix<T, 'is'>;
|
|
55
|
+
export type NativeMethods<T> = {
|
|
56
|
+
[K in keyof T as T[K] extends (...args: any[]) => any ? K : never]: T[K];
|
|
57
|
+
};
|
|
58
|
+
export {};
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Prototype-level binding for MassifMaps native classes.
|
|
3
|
+
*
|
|
4
|
+
* The SDK exposes the same API on both platforms, so a method that only forwards to
|
|
5
|
+
* the native object does not need to be written twice (or at all). `bindNative`
|
|
6
|
+
* installs those forwarders on the prototype from a generated name list, and turns
|
|
7
|
+
* `getX()`/`setX(v)` pairs into a plain `x` property.
|
|
8
|
+
*
|
|
9
|
+
* Why a generated list rather than a Proxy: roughly half of the raw native surface is
|
|
10
|
+
* SWIG plumbing that must never reach the public API, a Proxy forwards whatever the
|
|
11
|
+
* native object answers to, and a list is also what feeds the two native-api-usage.json
|
|
12
|
+
* files. Forwarders on the prototype are additionally ~2-6x cheaper per call than any
|
|
13
|
+
* Proxy trap and show up properly in stack traces.
|
|
14
|
+
*
|
|
15
|
+
* Anything already on the prototype wins, so a hand-written method or an
|
|
16
|
+
* `@nativeProperty` decorator always overrides the generated forwarder.
|
|
17
|
+
*/
|
|
18
|
+
/**
|
|
19
|
+
* Anything the plugin wraps is passed to the SDK as its native instance, so a value on
|
|
20
|
+
* its way down is unwrapped whenever it can answer `getNative()`. That is what makes
|
|
21
|
+
* `options.terrainOptions = terrain` work instead of `setTerrainOptions(terrain.getNative())`,
|
|
22
|
+
* and it applies the same way to method arguments and to accessor setters.
|
|
23
|
+
*/
|
|
24
|
+
export function unwrapNative(value) {
|
|
25
|
+
return value !== null && typeof value === 'object' && typeof value.getNative === 'function' ? value.getNative() : value;
|
|
26
|
+
}
|
|
27
|
+
function forwarder(nativeName, pad) {
|
|
28
|
+
return function () {
|
|
29
|
+
const native = this.getNative();
|
|
30
|
+
const len = arguments.length;
|
|
31
|
+
if (len === 0 && !pad) {
|
|
32
|
+
return native[nativeName]();
|
|
33
|
+
}
|
|
34
|
+
const total = pad ? Math.max(len, pad.length) : len;
|
|
35
|
+
const args = new Array(total);
|
|
36
|
+
for (let i = 0; i < len; i++) {
|
|
37
|
+
// eslint-disable-next-line prefer-rest-params
|
|
38
|
+
args[i] = unwrapNative(arguments[i]);
|
|
39
|
+
}
|
|
40
|
+
for (let i = len; i < total; i++) {
|
|
41
|
+
args[i] = pad[i];
|
|
42
|
+
}
|
|
43
|
+
// eslint-disable-next-line prefer-spread
|
|
44
|
+
return native[nativeName].apply(native, args);
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
export function bindNative(cls, methods, accessors = {}, binding = {}) {
|
|
48
|
+
const proto = cls.prototype;
|
|
49
|
+
const selectors = __IOS__ ? binding.selectors : undefined;
|
|
50
|
+
const { converters, defaults, exclude } = binding;
|
|
51
|
+
for (const name of methods) {
|
|
52
|
+
if (name in proto || exclude?.indexOf(name) >= 0) {
|
|
53
|
+
continue;
|
|
54
|
+
}
|
|
55
|
+
Object.defineProperty(proto, name, {
|
|
56
|
+
configurable: true,
|
|
57
|
+
writable: true,
|
|
58
|
+
value: forwarder(selectors?.[name] ?? name, defaults?.[name])
|
|
59
|
+
});
|
|
60
|
+
}
|
|
61
|
+
for (const key in accessors) {
|
|
62
|
+
if (key in proto || exclude?.indexOf(key) >= 0) {
|
|
63
|
+
continue;
|
|
64
|
+
}
|
|
65
|
+
const [rawGetter, rawSetter] = accessors[key];
|
|
66
|
+
const getterName = selectors?.[rawGetter] ?? rawGetter;
|
|
67
|
+
const setterName = selectors?.[rawSetter] ?? rawSetter;
|
|
68
|
+
const converter = converters?.[key];
|
|
69
|
+
Object.defineProperty(proto, key, {
|
|
70
|
+
configurable: true,
|
|
71
|
+
enumerable: true,
|
|
72
|
+
get() {
|
|
73
|
+
const native = this.native || this.getNative();
|
|
74
|
+
if (!native) {
|
|
75
|
+
return this.options?.[key];
|
|
76
|
+
}
|
|
77
|
+
const value = native[getterName]();
|
|
78
|
+
return converter ? converter.fromNative.call(this, value, key) : value;
|
|
79
|
+
},
|
|
80
|
+
set(value) {
|
|
81
|
+
if (this.options) {
|
|
82
|
+
this.options[key] = value;
|
|
83
|
+
}
|
|
84
|
+
const native = this.native || this.getNative();
|
|
85
|
+
if (!native || !native[setterName]) {
|
|
86
|
+
return;
|
|
87
|
+
}
|
|
88
|
+
const actualValue = converter ? converter.toNative.call(this, value, key) : unwrapNative(value);
|
|
89
|
+
if (actualValue === undefined) {
|
|
90
|
+
console.warn('undefined is not a correct value to pass to ' + setterName + ' on ' + native);
|
|
91
|
+
}
|
|
92
|
+
else {
|
|
93
|
+
native[setterName](actualValue);
|
|
94
|
+
// a style builder caches its built style; any property change invalidates it
|
|
95
|
+
this.mBuildStyle = null;
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
});
|
|
99
|
+
}
|
|
100
|
+
return cls;
|
|
101
|
+
}
|
|
102
|
+
//# sourceMappingURL=nativeclass.common.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"nativeclass.common.js","sourceRoot":"","sources":["../../src/ui-massifmaps/nativeclass.common.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAkBH;;;;;GAKG;AACH,MAAM,UAAU,YAAY,CAAC,KAAU;IACnC,OAAO,KAAK,KAAK,IAAI,IAAI,OAAO,KAAK,KAAK,QAAQ,IAAI,OAAO,KAAK,CAAC,SAAS,KAAK,UAAU,CAAC,CAAC,CAAC,KAAK,CAAC,SAAS,EAAE,CAAC,CAAC,CAAC,KAAK,CAAC;AAC5H,CAAC;AAED,SAAS,SAAS,CAAC,UAAkB,EAAE,GAAW;IAC9C,OAAO;QACH,MAAM,MAAM,GAAG,IAAI,CAAC,SAAS,EAAE,CAAC;QAChC,MAAM,GAAG,GAAG,SAAS,CAAC,MAAM,CAAC;QAC7B,IAAI,GAAG,KAAK,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC;YACpB,OAAO,MAAM,CAAC,UAAU,CAAC,EAAE,CAAC;QAChC,CAAC;QACD,MAAM,KAAK,GAAG,GAAG,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,GAAG,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC;QACpD,MAAM,IAAI,GAAG,IAAI,KAAK,CAAC,KAAK,CAAC,CAAC;QAC9B,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,GAAG,EAAE,CAAC,EAAE,EAAE,CAAC;YAC3B,8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AS,CAAC,QAAQ,CAAC,IAAI,CAAC,IAAI,EAAE,KAAK,EAAE,GAAG,CAAC,CAAC,CAAC,CAAC,YAAY,CAAC,KAAK,CAAC,CAAC;gBAChG,IAAI,WAAW,KAAK,SAAS,EAAE,CAAC;oBAC5B,OAAO,CAAC,IAAI,CAAC,8CAA8C,GAAG,UAAU,GAAG,MAAM,GAAG,MAAM,CAAC,CAAC;gBAChG,CAAC;qBAAM,CAAC;oBACJ,MAAM,CAAC,UAAU,CAAC,CAAC,WAAW,CAAC,CAAC;oBAChC,6EAA6E;oBAC7E,IAAI,CAAC,WAAW,GAAG,IAAI,CAAC;gBAC5B,CAAC;YACL,CAAC;SACJ,CAAC,CAAC;IACP,CAAC;IACD,OAAO,GAAG,CAAC;AACf,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
ios: {
|
|
3
|
+
SPMPackages: [
|
|
4
|
+
// {
|
|
5
|
+
// name: 'massifmaps-sdk',
|
|
6
|
+
// libs: ['MassifMaps'],
|
|
7
|
+
// repositoryURL: 'https://github.com/massif-maps/MassifMaps-ios-swift.git',
|
|
8
|
+
// version: '6.0.0',
|
|
9
|
+
// },
|
|
10
|
+
{
|
|
11
|
+
name: 'massifmaps-SwiftTryCatch-sdk',
|
|
12
|
+
libs: ['SwiftTryCatch'],
|
|
13
|
+
repositoryURL: 'https://github.com/farfromrefug/SwiftTryCatch.git',
|
|
14
|
+
version: '1.0.0',
|
|
15
|
+
},
|
|
16
|
+
],
|
|
17
|
+
},
|
|
18
|
+
}
|