@meridian/web-sdk
Advanced tools
Comparing version 0.15.0 to 0.16.0
@@ -8,2 +8,9 @@ # Changelog | ||
## [0.16.0] - 2021-04-01 | ||
### Added | ||
- `placemarks.labelZoomLevel` Zoom level at which placemark labels appear when | ||
label mode is set to "zoom" (defaults to `0.2`) | ||
## [0.15.0] - 2021-03-15 | ||
@@ -10,0 +17,0 @@ |
@@ -15,4 +15,5 @@ /** @jsx h */ | ||
labelMode: CreateMapPlacemarksOptions["labelMode"]; | ||
labelZoomLevel: CreateMapPlacemarksOptions["labelZoomLevel"]; | ||
} | ||
declare const Placemark: FunctionComponent<PlacemarkProps>; | ||
export default Placemark; |
@@ -14,2 +14,3 @@ /** | ||
}; | ||
/** New object with just one key missing from it. */ | ||
export declare function objectWithoutKey<T>(object: T, key: keyof typeof object): T; | ||
@@ -16,0 +17,0 @@ /** Like lodash.groupBy, but the values are not in arrays. */ |
@@ -6,4 +6,4 @@ /** @jsx h */ | ||
*/ | ||
import { h } from "preact"; | ||
declare const Watermark: () => h.JSX.Element; | ||
import { FunctionComponent } from "preact"; | ||
declare const Watermark: FunctionComponent; | ||
export default Watermark; |
@@ -147,2 +147,4 @@ /** @jsx h */ | ||
labelMode?: "always" | "never" | "hover" | "zoom"; | ||
/** Zoom level at which placemark lables appear when label mode is "zoom" */ | ||
labelZoomLevel?: number; | ||
} | ||
@@ -332,11 +334,2 @@ /** | ||
* ``` | ||
* | ||
* Call this before navigating to a new page, to close network connections. This | ||
* is critical for usage within a single page application, or even just an | ||
* interactive page with JS that unmounts the map container element (e.g. | ||
* removing it from the DOM or setting the `innerHTML`). | ||
* | ||
* ```js | ||
* map.destroy(); | ||
* ``` | ||
*/ | ||
@@ -343,0 +336,0 @@ export declare function createMap(element: HTMLElement, options: CreateMapOptions): MeridianMap; |
{ | ||
"name": "@meridian/web-sdk", | ||
"private": false, | ||
"version": "0.15.0", | ||
"version": "0.16.0", | ||
"description": "Web SDK for showing Aruba Meridian maps, tags, and more", | ||
@@ -6,0 +6,0 @@ "main": "./dist/web-sdk.js", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
416886
1451