Skip to content

Commit

Permalink
feat(JawgPlaces): add support all or a boolean on Leaflet and MapLi…
Browse files Browse the repository at this point in the history
…bre `marker` option

Now MapLibre is using uniq id on layers and sources
Improve zoom to features on Leaflet and MapLibre
  • Loading branch information
Joxit committed Nov 26, 2024
1 parent 03a45b8 commit 1f7809f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@jawg/types",
"version": "1.0.6",
"version": "1.1.0",
"description": "Shared TypeScript definitions for Jawg Maps projects",
"types": "./index.d.ts",
"type": "module",
Expand Down
4 changes: 2 additions & 2 deletions src/places-js.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -439,7 +439,7 @@ declare namespace JawgPlaces {
/**
* Option to configure result markers on the map.
*/
marker?: MapGLMarkerOptions;
marker?: MapGLMarkerOptions | boolean | 'all';
/**
* Option to configure transition on result selection.
*/
Expand Down Expand Up @@ -475,7 +475,7 @@ declare namespace JawgPlaces {
/**
* Option to configure result markers on the map.
*/
marker?: LeafletMarkerOptions;
marker?: LeafletMarkerOptions | boolean | 'all';
/**
* Option to configure transition on result selection.
*/
Expand Down

0 comments on commit 1f7809f

Please sign in to comment.