@yarrow-uz/rn-map-sdk 0.4.0 → 0.6.0
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/CHANGELOG.md +66 -0
- package/README.md +85 -15
- package/dist/index.d.ts +2 -1331
- package/dist/index.js +3 -2701
- package/dist/preflight.d.ts +15 -0
- package/dist/preflight.js +37 -0
- package/dist/surface-DIyAsyCh.d.ts +1463 -0
- package/dist/surface-DMNyWc2D.js +3013 -0
- package/dist/surface.d.ts +2 -0
- package/dist/surface.js +3 -0
- package/package.json +1 -3
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { $ as YarrowMapViewProps, $t as RouteDirection, A as useYarrowOfflineRegions, At as ClusteringConfig, B as OfflineRegionHandle, Bt as BoundingBox, C as PlaceLocation, Cn as setTokenStorage, Ct as LayerPressInfo, D as YarrowOfflineManagerOptions, Dt as ClusterChild, E as YarrowOfflineManager, Et as useYarrowLayerPress, F as OFFLINE_METADATA_VERSION, Ft as PixelCluster, G as YarrowCamera, Gt as DEFAULT_CACHE_LIFESPAN_DAYS, H as OfflineRegionSummary, Ht as CACHE_PROTOCOL, I as OfflineBounds, It as groupByPixelRadius, J as YarrowMarker, Jt as ICONS_ENDPOINT, K as ZoomToOptions, Kt as FetchRoutesInput, L as OfflineRegionDownloadOptions, Lt as normalizeClusteringConfig, M as estimateRegion, Mt as DEFAULT_CLUSTER_MIN_POINTS, N as DEFAULT_OFFLINE_MAX_ZOOM, Nt as DEFAULT_CLUSTER_RADIUS_PX, O as UseYarrowOfflineRegionsOptions, Ot as ClusterClickHandler, P as DEFAULT_OFFLINE_MIN_ZOOM, Pt as NormalizedClusteringConfig, Q as YarrowMapView, Qt as ROUTE_API_URL, R as OfflineRegionErrorCode, Rt as ClusterBadge, S as HighlightPoiData, Sn as normalizeStyleType, St as ClickLayerTarget, T as ResolvedPoiData, Tn as transformRouteCoordinates, Tt as YARROW_CLICK_LAYER_IDS, U as YarrowOfflineError, Ut as CacheConfig, V as OfflineRegionProgress, Vt as CACHED_AT_HEADER, W as FitBoundsOptions, Wt as CachedArrayBufferResponse, X as HighlightMarkerView, Xt as MILLISECONDS_PER_DAY, Y as YarrowMarkerProps, Yt as ICON_CACHE_NAME, Z as HighlightMarkerViewProps, Zt as NormalizedCacheConfig, _ as YarrowMapRuntime, _n as getBoundingBox, _t as UseYarrowMapSearchResult, a as trackDau, an as TokenStorage, at as BrandBadgePosition, b as PoiHighlightLayer, bn as hasCacheStorage, bt as UseYarrowSearchResult, c as UseYarrowPoiHighlightResult, cn as YARROW_SEARCH_API_URL, ct as YarrowImagesProps, d as POI_BASE_LAYER, dn as YarrowStyleType, dt as resolveCategoryIcon, en as RouteDirectionModifier, et as buildStyleUrl, f as fetchPlaceLocation, fn as addApiKeyToUrl, ft as BuildRouteInput, g as YarrowMapPress, gn as fetchSearchResults, gt as UseYarrowMapSearchOptions, h as YarrowMapContext, hn as fetchRoutes, ht as useYarrowRouting, i as setAsyncStorageTokenStorage, in as TILE_CACHE_NAME, it as YarrowMapConfigOptions, j as AVG_TILE_BYTES, jt as DEFAULT_CLUSTER_MAX_ZOOM, k as UseYarrowOfflineRegionsResult, kt as ClusterPoint, l as YarrowPoiHighlight, ln as YarrowApiError, lt as YarrowIconsMap, m as resolvePoiData, mn as fetchArrayBufferWithCache, mt as UseYarrowRoutingResult, n as MapRef, nn as RoutesMeta, nt as RouteLayerProps, o as SearchResultsLayer, on as USER_TOKEN_STORAGE_KEY, ot as DEFAULT_BRAND_BADGE_SCALE, p as lookupPoiInViewport, pn as buildStyleEndpoint, pt as UseYarrowRoutingOptions, q as useYarrowCamera, qt as FetchRoutesResult, r as AsyncStorageLike, rn as SearchResult, rt as YarrowMapConfig, s as SearchResultsLayerProps, sn as YARROW_MAP_URL, st as YarrowImages, t as CameraRef, tn as RouteFeature, tt as RouteLayer, u as useYarrowPoiHighlight, un as YarrowApiErrorCode, ut as fetchYarrowIcons, v as YarrowRegionState, vn as getOrCreateUserToken, vt as useYarrowMapSearch, w as PoiHighlightPressInfo, wn as setYarrowApiKey, wt as UseYarrowLayerPressOptions, x as PoiHighlightLayerProps, xn as haversineDistance, xt as useYarrowSearch, y as useYarrowMapRuntime, yn as getYarrowApiKey, yt as UseYarrowSearchOptions, z as OfflineRegionEstimate, zt as ClusterBadgeProps } from "./surface-DIyAsyCh.js";
|
|
2
|
+
export { AVG_TILE_BYTES, type AsyncStorageLike, type BoundingBox, type BrandBadgePosition, type BuildRouteInput, CACHED_AT_HEADER, CACHE_PROTOCOL, type CacheConfig, type CachedArrayBufferResponse, type CameraRef, type ClickLayerTarget, ClusterBadge, type ClusterBadgeProps, type ClusterChild, type ClusterClickHandler, type ClusterPoint, type ClusteringConfig, DEFAULT_BRAND_BADGE_SCALE, DEFAULT_CACHE_LIFESPAN_DAYS, DEFAULT_CLUSTER_MAX_ZOOM, DEFAULT_CLUSTER_MIN_POINTS, DEFAULT_CLUSTER_RADIUS_PX, DEFAULT_OFFLINE_MAX_ZOOM, DEFAULT_OFFLINE_MIN_ZOOM, type FetchRoutesInput, type FetchRoutesResult, type FitBoundsOptions, HighlightMarkerView, type HighlightMarkerViewProps, type HighlightPoiData, ICONS_ENDPOINT, ICON_CACHE_NAME, type LayerPressInfo, MILLISECONDS_PER_DAY, type MapRef, type NormalizedCacheConfig, type NormalizedClusteringConfig, OFFLINE_METADATA_VERSION, type OfflineBounds, type OfflineRegionDownloadOptions, type OfflineRegionErrorCode, type OfflineRegionEstimate, type OfflineRegionHandle, type OfflineRegionProgress, type OfflineRegionSummary, POI_BASE_LAYER, type PixelCluster, type PlaceLocation, PoiHighlightLayer, type PoiHighlightLayerProps, type PoiHighlightPressInfo, ROUTE_API_URL, type ResolvedPoiData, type RouteDirection, type RouteDirectionModifier, type RouteFeature, RouteLayer, type RouteLayerProps, type RoutesMeta, type SearchResult, SearchResultsLayer, type SearchResultsLayerProps, TILE_CACHE_NAME, type TokenStorage, USER_TOKEN_STORAGE_KEY, type UseYarrowLayerPressOptions, type UseYarrowMapSearchOptions, type UseYarrowMapSearchResult, type UseYarrowOfflineRegionsOptions, type UseYarrowOfflineRegionsResult, type UseYarrowPoiHighlightResult, type UseYarrowRoutingOptions, type UseYarrowRoutingResult, type UseYarrowSearchOptions, type UseYarrowSearchResult, YARROW_CLICK_LAYER_IDS, YARROW_MAP_URL, YARROW_SEARCH_API_URL, YarrowApiError, type YarrowApiErrorCode, type YarrowCamera, type YarrowIconsMap, YarrowImages, type YarrowImagesProps, YarrowMapConfig, type YarrowMapConfigOptions, YarrowMapContext, type YarrowMapPress, type YarrowMapRuntime, YarrowMapView, type YarrowMapViewProps, YarrowMarker, type YarrowMarkerProps, type YarrowOfflineError, YarrowOfflineManager, type YarrowOfflineManagerOptions, type YarrowPoiHighlight, type YarrowRegionState, type YarrowStyleType, type ZoomToOptions, addApiKeyToUrl, buildStyleEndpoint, buildStyleUrl, estimateRegion, fetchArrayBufferWithCache, fetchPlaceLocation, fetchRoutes, fetchSearchResults, fetchYarrowIcons, getBoundingBox, getOrCreateUserToken, getYarrowApiKey, groupByPixelRadius, hasCacheStorage, haversineDistance, lookupPoiInViewport, normalizeClusteringConfig, normalizeStyleType, resolveCategoryIcon, resolvePoiData, setAsyncStorageTokenStorage, setTokenStorage, setYarrowApiKey, trackDau, transformRouteCoordinates, useYarrowCamera, useYarrowLayerPress, useYarrowMapRuntime, useYarrowMapSearch, useYarrowOfflineRegions, useYarrowPoiHighlight, useYarrowRouting, useYarrowSearch };
|
package/dist/surface.js
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { $ as addApiKeyToUrl, A as fetchPlaceLocation, B as ClusterBadge, C as useYarrowMapSearch, D as YarrowMapContext, E as useYarrowLayerPress, F as DEFAULT_CLUSTER_MAX_ZOOM, G as ICON_CACHE_NAME, H as CACHE_PROTOCOL, I as DEFAULT_CLUSTER_MIN_POINTS, J as TILE_CACHE_NAME, K as MILLISECONDS_PER_DAY, L as DEFAULT_CLUSTER_RADIUS_PX, M as resolvePoiData, N as fetchYarrowIcons, O as useYarrowMapRuntime, P as resolveCategoryIcon, Q as YarrowApiError, R as groupByPixelRadius, S as useYarrowRouting, T as YARROW_CLICK_LAYER_IDS, U as DEFAULT_CACHE_LIFESPAN_DAYS, V as CACHED_AT_HEADER, W as ICONS_ENDPOINT, X as YARROW_MAP_URL, Y as USER_TOKEN_STORAGE_KEY, Z as YARROW_SEARCH_API_URL, _ as buildStyleUrl, a as PoiHighlightLayer, at as getOrCreateUserToken, b as DEFAULT_BRAND_BADGE_SCALE, c as DEFAULT_OFFLINE_MAX_ZOOM, ct as haversineDistance, d as AVG_TILE_BYTES, dt as setYarrowApiKey, et as buildStyleEndpoint, f as estimateRegion, ft as transformRouteCoordinates, g as YarrowMapView, h as HighlightMarkerView, i as useYarrowPoiHighlight, it as getBoundingBox, j as lookupPoiInViewport, k as POI_BASE_LAYER, l as DEFAULT_OFFLINE_MIN_ZOOM, lt as normalizeStyleType, m as YarrowMarker, n as trackDau, nt as fetchRoutes, o as useYarrowOfflineRegions, ot as getYarrowApiKey, p as useYarrowCamera, q as ROUTE_API_URL, r as SearchResultsLayer, rt as fetchSearchResults, s as YarrowOfflineManager, st as hasCacheStorage, t as setAsyncStorageTokenStorage, tt as fetchArrayBufferWithCache, u as OFFLINE_METADATA_VERSION, ut as setTokenStorage, v as RouteLayer, w as useYarrowSearch, x as YarrowImages, y as YarrowMapConfig, z as normalizeClusteringConfig } from "./surface-DMNyWc2D.js";
|
|
2
|
+
|
|
3
|
+
export { AVG_TILE_BYTES, CACHED_AT_HEADER, CACHE_PROTOCOL, ClusterBadge, DEFAULT_BRAND_BADGE_SCALE, DEFAULT_CACHE_LIFESPAN_DAYS, DEFAULT_CLUSTER_MAX_ZOOM, DEFAULT_CLUSTER_MIN_POINTS, DEFAULT_CLUSTER_RADIUS_PX, DEFAULT_OFFLINE_MAX_ZOOM, DEFAULT_OFFLINE_MIN_ZOOM, HighlightMarkerView, ICONS_ENDPOINT, ICON_CACHE_NAME, MILLISECONDS_PER_DAY, OFFLINE_METADATA_VERSION, POI_BASE_LAYER, PoiHighlightLayer, ROUTE_API_URL, RouteLayer, SearchResultsLayer, TILE_CACHE_NAME, USER_TOKEN_STORAGE_KEY, YARROW_CLICK_LAYER_IDS, YARROW_MAP_URL, YARROW_SEARCH_API_URL, YarrowApiError, YarrowImages, YarrowMapConfig, YarrowMapContext, YarrowMapView, YarrowMarker, YarrowOfflineManager, addApiKeyToUrl, buildStyleEndpoint, buildStyleUrl, estimateRegion, fetchArrayBufferWithCache, fetchPlaceLocation, fetchRoutes, fetchSearchResults, fetchYarrowIcons, getBoundingBox, getOrCreateUserToken, getYarrowApiKey, groupByPixelRadius, hasCacheStorage, haversineDistance, lookupPoiInViewport, normalizeClusteringConfig, normalizeStyleType, resolveCategoryIcon, resolvePoiData, setAsyncStorageTokenStorage, setTokenStorage, setYarrowApiKey, trackDau, transformRouteCoordinates, useYarrowCamera, useYarrowLayerPress, useYarrowMapRuntime, useYarrowMapSearch, useYarrowOfflineRegions, useYarrowPoiHighlight, useYarrowRouting, useYarrowSearch };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yarrow-uz/rn-map-sdk",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.6.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"description": "Yarrow Map SDK for React Native: interactive MapLibre maps, search and routing on iOS and Android.",
|
|
@@ -43,7 +43,6 @@
|
|
|
43
43
|
"peerDependencies": {
|
|
44
44
|
"@maplibre/maplibre-react-native": "^11.5.1",
|
|
45
45
|
"@react-native-async-storage/async-storage": ">=2",
|
|
46
|
-
"@react-native-community/blur": "^4.4.1",
|
|
47
46
|
"react": ">=19.1.0",
|
|
48
47
|
"react-native": ">=0.80.0"
|
|
49
48
|
},
|
|
@@ -57,7 +56,6 @@
|
|
|
57
56
|
"@js-map-sdk/core": "workspace:*",
|
|
58
57
|
"@maplibre/maplibre-react-native": "^11.5.1",
|
|
59
58
|
"@react-native-async-storage/async-storage": "^3.1.1",
|
|
60
|
-
"@react-native-community/blur": "^4.4.1",
|
|
61
59
|
"@testing-library/react": "^16.3.2",
|
|
62
60
|
"@types/geojson": "^7946.0.16",
|
|
63
61
|
"@types/react": "~19.1.10",
|