@minmaps-dev/mm-web-sdk 1.0.0-rc.53 → 1.0.0-rc.55

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/dist/index.d.ts CHANGED
@@ -3222,5 +3222,23 @@ type ResolvedIconSource = {
3222
3222
  */
3223
3223
  declare function resolveAmenityIconSource(amenity: AmenityLike, preferredLocale?: string): ResolvedIconSource | null;
3224
3224
 
3225
- export { BABY_CHANGING_EXTENSOR_KEY, BUILDING_NAME_EXTENSOR_KEY, DAY_KEYS, IMAGE_ALT_EXTENSOR_KEY, INSTANCE_FLAG_KEYS, MinuteMaps, OPEN_HOURS_EXTENSOR_KEY, OPEN_HOURS_VERSION, PHONE_EXTENSOR_KEY, POINT_OF_INTEREST_EXTENSOR_KEY, RESERVED_EXTENSOR_PREFIX, SNAPSHOT_SCHEMA_VERSION, SnapshotProvider, SnapshotUnavailableError, VenueDirectory, WHEELCHAIR_ACCESSIBLE_EXTENSOR_KEY, activeSectionIndex, amenityVariants, chooseAmenityInstances, createMinuteMapsSDK, customerDisplayName, dayKeyAt, getOpenStatus, groupStepsIntoFloorSections, instanceFlag, isConnectorAmenity, isMapLocation, parseBuildingName, parseFlag, parseImageAlt, parseOpenHours, parsePhone, parsePointOfInterest, resolveAmenityIconSource, resolveSnapshotLocale, timeZoneAbbreviation };
3225
+ /** Basemap layers whose features are POI points from protomaps' `pois`. Street
3226
+ * labels, road shields and water labels are left alone so the roads and water
3227
+ * around the venue stay named. */
3228
+ declare const BASEMAP_POI_MASK_LAYER_IDS: readonly ["basemap-poi-marine", "basemap-poi-civic", "basemap-park-labels"];
3229
+ /** Default padding, in metres, around the venue's bounds. Enough to catch a
3230
+ * POI pinned just outside the outermost parking lot without blanking the
3231
+ * neighbouring blocks. */
3232
+ declare const DEFAULT_BASEMAP_POI_MASK_PADDING_M = 50;
3233
+ /** Grow `bounds` outward by `meters` on every side. */
3234
+ declare function padBoundsMeters(bounds: Bounds, meters: number): Bounds;
3235
+ /** The mask polygon for `bounds` padded by `paddingMeters`. */
3236
+ declare function basemapPoiMaskPolygon(bounds: Bounds, paddingMeters: number): GeoJSON.Polygon;
3237
+ /**
3238
+ * AND `["!", ["within", mask]]` onto every `BASEMAP_POI_MASK_LAYER_IDS` layer
3239
+ * in `style`, in place. Layers a custom style doesn't have are skipped.
3240
+ */
3241
+ declare function applyBasemapPoiMask(style: StyleSpecification, mask: GeoJSON.Polygon): void;
3242
+
3243
+ export { BABY_CHANGING_EXTENSOR_KEY, BASEMAP_POI_MASK_LAYER_IDS, BUILDING_NAME_EXTENSOR_KEY, DAY_KEYS, DEFAULT_BASEMAP_POI_MASK_PADDING_M, IMAGE_ALT_EXTENSOR_KEY, INSTANCE_FLAG_KEYS, MinuteMaps, OPEN_HOURS_EXTENSOR_KEY, OPEN_HOURS_VERSION, PHONE_EXTENSOR_KEY, POINT_OF_INTEREST_EXTENSOR_KEY, RESERVED_EXTENSOR_PREFIX, SNAPSHOT_SCHEMA_VERSION, SnapshotProvider, SnapshotUnavailableError, VenueDirectory, WHEELCHAIR_ACCESSIBLE_EXTENSOR_KEY, activeSectionIndex, amenityVariants, applyBasemapPoiMask, basemapPoiMaskPolygon, chooseAmenityInstances, createMinuteMapsSDK, customerDisplayName, dayKeyAt, getOpenStatus, groupStepsIntoFloorSections, instanceFlag, isConnectorAmenity, isMapLocation, padBoundsMeters, parseBuildingName, parseFlag, parseImageAlt, parseOpenHours, parsePhone, parsePointOfInterest, resolveAmenityIconSource, resolveSnapshotLocale, timeZoneAbbreviation };
3226
3244
  export type { AccessibleFallback, Amenity, AmenityBadgeStyle, AmenityInstanceChoice, AmenityVariant, AmenityWithFloor, Bounds, BoundsPadding, CameraState, Customer, CustomerVenues, DayKey, Destination, DestinationPhone, EventCallback, Floor, FloorMetadata, HoursRange, InstanceFlagKey, JMapAuth, JMapConfig, JacsAuth, JacsConfig, JacsProviderConfig, JacsReader, ListCustomerVenuesOptions, MapEvent, MapLocation, OpenHours, OpenHoursTransition, OpenStatus, OpenStatusOptions, POI, POISearchResult, ResolvedIconSource, RouteEndPreview, RouteFloorImage, RouteFloorSection, RouteImageOptions, RoutePoint, RoutingOptions, SDKConfig, SDKOptions, SnapshotProviderConfig, SnapshotUpdateCheck, SnapshotVersions, ThemeName, TransitionStep, VenueDirectoryConfig, VenueSummary, ViewOptions, WayfindCenterMode, WayfindStep, Waypoint, Zone };