Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
7e4034f
Add support for legendDisplay on the layer (#119)
sclebal Aug 21, 2025
e9564fe
Start prerelease
sclebal Aug 21, 2025
7d71fba
RELEASING: Releasing 1 package(s)
sclebal Aug 21, 2025
810f8aa
Update prerelease docs/meta
sclebal Aug 21, 2025
fe52684
clean up changelogs
noisyneuron Aug 26, 2025
32ca8b6
RELEASING: Releasing 1 package(s)
noisyneuron Aug 27, 2025
4b96e5f
Update prerelease docs/meta
noisyneuron Aug 27, 2025
10bea40
Enter prerelease
tomhicks Sep 26, 2025
3d9527b
Add duplicateLayer method (#122)
noisyneuron Sep 25, 2025
2809108
RELEASING: Releasing 1 package(s)
tomhicks Sep 26, 2025
8b8540f
Update prerelease docs/meta
tomhicks Sep 26, 2025
34b9ed3
Feature Contextual Action (#123)
noisyneuron Sep 26, 2025
e416026
RELEASING: Releasing 1 package(s)
tomhicks Sep 26, 2025
39213c1
Update prerelease docs/meta
tomhicks Sep 26, 2025
baef377
Rename UIPanel onClose to onClickClose (#98)
sclebal Jun 24, 2025
c4aef02
Add tool setting to hide/show inspector (#96)
sclebal Jun 24, 2025
642620b
Clean changelog and pre.json
tomhicks Jul 10, 2025
ff04892
RELEASING: Releasing 1 package(s)
tomhicks Jul 10, 2025
08da45e
min docs
noisyneuron Jun 4, 2025
5c41401
docs
noisyneuron Jun 16, 2025
58b9088
docs v1.7.0-9
noisyneuron Jun 16, 2025
3a6e5b6
1.7.0-next.13
noisyneuron Jun 26, 2025
f692417
update
noisyneuron Jul 2, 2025
c66ee7a
v1.7.0-next.19
noisyneuron Jul 2, 2025
41adc1d
1.7.0-next.20
noisyneuron Jul 4, 2025
6a11833
v1.7
noisyneuron Jul 10, 2025
2fe6bb2
v1.8
sclebal Aug 21, 2025
6ec445c
v1.9-next.0
sclebal Aug 21, 2025
8e6a3da
docs for 1.10.0-next-0
noisyneuron Sep 26, 2025
1f688da
feature action docs
noisyneuron Sep 30, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/empty-camels-pay.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@feltmaps/js-sdk": minor
---

Add feature actions
11 changes: 11 additions & 0 deletions .changeset/pre.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"mode": "exit",
"tag": "next",
"initialVersions": {
"@feltmaps/js-sdk": "1.9.0"
},
"changesets": [
"empty-camels-pay",
"sharp-files-dance"
]
}
5 changes: 5 additions & 0 deletions .changeset/sharp-files-dance.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@feltmaps/js-sdk": minor
---

Add duplicateLayer method
18 changes: 18 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,23 @@
# @feltmaps/js-sdk

## 1.10.0-next.1

### Minor Changes

- 34b9ed3: Add feature actions

## 1.10.0-next.0

### Minor Changes

- 3d9527b: Add duplicateLayer method

## 1.9.0

### Minor Changes

- 7e4034f: Add support for legendDisplay on the layer

## 1.8.0

### Minor Changes
Expand Down
7 changes: 4 additions & 3 deletions DEVELOPING.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,12 +70,13 @@ Once you have added your module:

1. Run `npm run build` to ensure everything compiles and the docs are generated. It's possible for the docs to
fail to build if some types are not exported, but you will be warned in the console about this.
1. Run `npm run update-api` to run api-extractor which updates the "api spec" file, which allows
2. Run `npm run update-api` to run api-extractor which updates the "api spec" file, which allows
reviewers to understand the changes made to the API.
1. Stage or commit your changes. This is important, because the next step will fail if you have
3. Stage or commit your changes. This is important, because the next step will fail if you have
docs changes that are unstaged as it is used to check that the docs are up to date.
1. Run `npm run check` which will check that the package is correctly built, the docs have been
4. Run `npm run check` which will check that the package is correctly built, the docs have been
updated, the API spec has been updated and the tests are passing.
5. If you make any further changes, run steps 1 to 4 again.

If this all works, your module is ready and should be working.

Expand Down
157 changes: 157 additions & 0 deletions docs-minimal/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,157 @@
# @feltmaps/js-sdk

## 1.10.0-next.1

### Minor Changes

* 34b9ed3: Add feature actions

## 1.10.0-next.0

### Minor Changes

* 3d9527b: Add duplicateLayer method

## 1.9.0

### Minor Changes

* 7e4034f: Add support for legendDisplay on the layer

## 1.8.0

### Minor Changes

* 336538b: Improve controller method documentation

### Patch Changes

* 7b04db4: Update filter docs

## 1.7.0

### Minor Changes

* f40a75c: Update getPrecomputedAggregates types
* 4c4ebfd: Add UIIframeElement to custom ui panel
* b87393f: Better docs, types and method consistency for Custom Panels API
* aff926a: Return UIPanel on custom panel API methods
* f5ca219: Speed up initial Felt/SDK connection
* 0b06e28: Add support for align and distribute items on grid container
* bd1952f: Merge create and update panel methods and require using createPanelId
* 27cc597: Add UIGridContainerElement to custom ui panel
* f2fcd2a: Add checkbox, radio and toggle controls to custom ui panel
* 15a35a5: Add method getPrecomputedAggregates
* 6ce4a76: Rename UIPanel onClose to onClickClose
* c16c55a: Support disabled on custom ui control option
* 2688f9c: Add UIButtonRowElement to custom ui panel
* 49d8895: Add Custom UI API for action triggers
* 0754363: Add new variants, drop thin variants and add tint prop to UIButtonElement
* 535e539: Include element id on every custom ui callback args
* b848937: Add tool setting to hide/show inspector
* 1e8e6f1: Return UIActionTrigger on custom action trigger API methods
* 2b0f08f: Add Custom UI API for panels
* f73dccf: Remove UIButtonGroupElement from custom ui panel

### Patch Changes

* 58bd6dd: Add isDeterministicId to LayerFeature
* 07b27c6: Export bundled controller types file for consumption as single file
* 41e1612: Update getAggregates examples to be correct
* 475c98e: Update getAggregates + MultiAggregationConfig docs
* ea5c7ff: Run patch on prepare, not install
* 4c83cfe: Don't try to patch packages not in dev mode
* 2008356: Documentation improvements
* 2fd720d: Use singular for custom ui types
* a1c6322: Make custom panel API consistent with other methods

## 1.6.0

### Minor Changes

* 160ca6d: Implement getFeatures method on LayersController
* 6a1e536: Widen allowed boundary types
* 56077be: Add setLayerBoundary, getLayerBoundaries, onLayerBoundaryChange

## 1.5.1

### Patch Changes

* ac68984: Update getLayerSchema example

## 1.5.0

### Minor Changes

* d327b46: Add `afterCreation` option in pin tool settings to control what happens after creating a Place
* 6a66d40: Add updateLayer and expand createLayersFromGeoJson options
* 6504fea: Change documentation for getElementGeoemtry to document Highlighter and Marker functionality, and allow holes in Highlighter geometry
* cf6711e: Make programmatic element CRUD types more accurate
* 4c83c60: Add programmatic element creation, editing and deletion
* 46e8ddc: Add onElementChange and onElementDelete
* 3e87812: Adds APIs to use Felt's drawing tools on read-only maps
* d877a83: Add getFeature for getting a single feature as GeoJSON with full detail geometry
* 7f1d6aa: Add "interaction" to element schema
* cf1dd7c: Improve Text and Note types and docs
* 1f6a386: Add getViewportConstraints and setViewportConstraints methods definition
* b059b70: Add onLayerFiltersChange to allow listening to changes to layer filters, be it ephemeral, style or widget filters that changed.
* 19b41ce: Improve createLayer API
* c20e605: Add setLayerLegendVisibility and setLayerGroupLegendVisibility methods definition
* cbfd3fd: Reject promises when method handlers are invalid
* 0915f48: Add showLayerDataTable and hideLayerDataTable methods
* 9620df9: Change Circle.coordinates for Circle.center
* 63c3042: Add getLayerSchema method
* 69cc0a9: Fix spelling mistake in types
* 87304d8: Fix geometry filter type
* 1f22654: Add screen point to pointer events
* b0e4149: Improves type readability and docs
* 65bf269: Add createLayer and deleteLayer
* 4bd0ae9: Add getMapDetails method definition
* 5f903fb: Update Layer type and createLayerFromGeoJson to separate out Source concept
* 597a8d6: Return coordinates on Circle and Place elements as they are only a single point.
* f2f4289: Add layer stats methods

### Patch Changes

* 993fd44: Allow workers to be SDK clients
* 417b8f4: Fixes incorrect value in documentation and updates links to other methods
* 9620df9: Improve element docs
* f0892c4: Improve documentation
* bb79037: Fix per-geometry styling for created layers

## 1.4.0

### Minor Changes

* 555a25a: Add clearSelection method
* 1f5d950: Add option to pass auth token when embedding

## 1.3.0

### Minor Changes

* 4bbde62: Allow setting a note to show with layer filters

## 1.2.0

### Minor Changes

* 7badd4b: Add onMapIdle event
* 41efd53: Add selectFeature method to select feature by layer and feature ID
* 208c492: Add areaQuery param to getRenderedFeatures

## 1.1.0

### Minor Changes

* 5f607ec: Return style with layers, and allow updating layer styles via setLayerStyle

### Patch Changes

* 3a8bec8: Fix API reference link in README

## 1.0.2

### Major Changes

* Release v1 of Felt JS SDK
30 changes: 30 additions & 0 deletions docs-minimal/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# API Reference

To get started:

```
import { Felt } from "@feltmaps/js-sdk";

const felt = await Felt.embed(
document.querySelector("#container"),
"FELT_MAP_ID",
{
uiControls: {
cooperativeGestures: false,
fullScreenButton: false,
showLegend: false,
},
}
);
const layers = await map.getLayers();
```

**View Main.FeltController | FeltController for a complete list of available functions. Main.FeltEmbedOptions | FeltEmbedOptions enumerates initialization options.**

# Documents

* [CHANGELOG](CHANGELOG.md)

# Modules

* [client](client.md)
Binary file added docs-minimal/_media/button-row-end-alignment.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs-minimal/_media/button-row-label.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs-minimal/_media/button-row-overflow.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs-minimal/_media/button-showcase.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs-minimal/_media/checkbox-group-basic.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs-minimal/_media/grid-flexible-space.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs-minimal/_media/grid-horizontal-stack.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs-minimal/_media/iframe-basic.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs-minimal/_media/iframe-custom-height.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs-minimal/_media/legend-default.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs-minimal/_media/legend-name-only.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs-minimal/_media/radio-group-basic.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs-minimal/_media/toggle-group-basic.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs-minimal/_media/toggle-group-with-label.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading