Hash
Defined in: ui/hash.ts:11
Adds the map's position to its page's location hash. Passed as an option to the map object.
Methods
addTo()
addTo(
map:MapLibreMap):Hash
Defined in: ui/hash.ts:24
Map element to listen for coordinate changes
Parameters
| Parameter | Type | Description |
|---|---|---|
map |
MapLibreMap |
The map object |
Returns
Hash
remove()
remove():
Hash
Defined in: ui/hash.ts:34
Removes hash
Returns
Hash
Properties
_updateHash()
_updateHash: () =>
Timeout
Defined in: ui/hash.ts:159
Mobile Safari doesn't allow updating the hash more than 100 times per 30 seconds.
Returns
Timeout