Skip to content

Commit 1f7809f

Browse files
committed
feat(JawgPlaces): add support all or a boolean on Leaflet and MapLibre marker option
Now MapLibre is using uniq id on layers and sources Improve zoom to features on Leaflet and MapLibre
1 parent 03a45b8 commit 1f7809f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@jawg/types",
3-
"version": "1.0.6",
3+
"version": "1.1.0",
44
"description": "Shared TypeScript definitions for Jawg Maps projects",
55
"types": "./index.d.ts",
66
"type": "module",

src/places-js.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -439,7 +439,7 @@ declare namespace JawgPlaces {
439439
/**
440440
* Option to configure result markers on the map.
441441
*/
442-
marker?: MapGLMarkerOptions;
442+
marker?: MapGLMarkerOptions | boolean | 'all';
443443
/**
444444
* Option to configure transition on result selection.
445445
*/
@@ -475,7 +475,7 @@ declare namespace JawgPlaces {
475475
/**
476476
* Option to configure result markers on the map.
477477
*/
478-
marker?: LeafletMarkerOptions;
478+
marker?: LeafletMarkerOptions | boolean | 'all';
479479
/**
480480
* Option to configure transition on result selection.
481481
*/

0 commit comments

Comments
 (0)