-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* WIP tool selection * Build docs * Update documentation shape * Reduce type duplication * Update Input type for tool settings * Refine types and docs further * Fix issue reporting errors from Felt when return type is string * Update API definition * Remove unwanted API * Improve documentation * docs(changeset): Adds APIs to use Felt's drawing tools on read-only maps
- Loading branch information
Showing
30 changed files
with
1,287 additions
and
67 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@feltmaps/js-sdk": minor | ||
--- | ||
|
||
Adds APIs to use Felt's drawing tools on read-only maps |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
*** | ||
|
||
## Properties | ||
|
||
### color | ||
|
||
> **color**: `string` | ||
*** | ||
|
||
### fillOpacity | ||
|
||
> **fillOpacity**: `number` | ||
*** | ||
|
||
### strokeOpacity | ||
|
||
> **strokeOpacity**: `number` | ||
*** | ||
|
||
### strokeWidth | ||
|
||
> **strokeWidth**: `number` | ||
*** | ||
|
||
### strokeStyle | ||
|
||
> **strokeStyle**: `"solid"` | `"dashed"` | `"dotted"` | ||
*** | ||
|
||
### radiusMarker | ||
|
||
> **radiusMarker**: `boolean` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
*** | ||
|
||
> **ConfigurableToolType**: keyof [`ToolSettingsMap`](ToolSettingsMap.md) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
*** | ||
|
||
## Properties | ||
|
||
### color | ||
|
||
> **color**: `string` | ||
*** | ||
|
||
### opacity | ||
|
||
> **opacity**: `number` | ||
*** | ||
|
||
### size | ||
|
||
> **size**: `number` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
*** | ||
|
||
> **InputToolSettings**: `{ [K in ConfigurableToolType]: Partial<ToolSettingsMap[K]> & { tool: K } }`\[[`ConfigurableToolType`](ConfigurableToolType.md)] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
*** | ||
|
||
## Properties | ||
|
||
### color | ||
|
||
> **color**: `string` | ||
*** | ||
|
||
### strokeOpacity | ||
|
||
> **strokeOpacity**: `number` | ||
*** | ||
|
||
### strokeWidth | ||
|
||
> **strokeWidth**: `number` | ||
*** | ||
|
||
### strokeStyle | ||
|
||
> **strokeStyle**: `"solid"` | `"dashed"` | `"dotted"` | ||
*** | ||
|
||
### distanceMarker | ||
|
||
> **distanceMarker**: `boolean` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
*** | ||
|
||
## Properties | ||
|
||
### color | ||
|
||
> **color**: `string` | ||
*** | ||
|
||
### opacity | ||
|
||
> **opacity**: `number` | ||
*** | ||
|
||
### size | ||
|
||
> **size**: `number` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
*** | ||
|
||
## Properties | ||
|
||
### color | ||
|
||
> **color**: `string` | ||
*** | ||
|
||
### align | ||
|
||
> **align**: `"left"` | `"center"` | `"right"` | ||
*** | ||
|
||
### style | ||
|
||
> **style**: `"italic"` | `"light"` | `"regular"` | `"caps"` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
*** | ||
|
||
> **PinFrame**: `"frame-circle"` | `"frame-square"` | `null` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
*** | ||
|
||
> **PinSymbol**: `"dot"` | `"square"` | `"diamond"` | `"triangle"` | `"x"` | `"plus"` | `"circle-line"` | `"circle-slash"` | `"star"` | `"heart"` | `"hexagon"` | `"octagon"` | `"pedestrian"` | `"bicycle"` | `"wheelchair"` | `"airport"` | `"car"` | `"bus"` | `"train"` | `"truck"` | `"ferry"` | `"sailboat"` | `"electric-service"` | `"gas-service"` | `"blood-clinic"` | `"badge"` | `"traffic-light"` | `"traffic-cone"` | `"road-sign-caution"` | `"person"` | `"restroom"` | `"house"` | `"work"` | `"letter"` | `"hotel"` | `"factory"` | `"hospital"` | `"religious-facility"` | `"school"` | `"government"` | `"university"` | `"bank"` | `"landmark"` | `"museum"` | `"clothing"` | `"shopping"` | `"store"` | `"bar"` | `"pub"` | `"cafe"` | `"food"` | `"park"` | `"amusement-park"` | `"camping-tent"` | `"cabin"` | `"picnic"` | `"water-refill"` | `"trailhead"` | `"guidepost"` | `"viewpoint"` | `"camera"` | `"us-football"` | `"football"` | `"tennis"` | `"binoculars"` | `"swimming"` | `"zap"` | `"battery-full"` | `"battery-half"` | `"battery-low"` | `"boom"` | `"radar"` | `"wind-turbine"` | `"solar-panel"` | `"antenna"` | `"telephone-pole"` | `"oil-well"` | `"oil-barrel"` | `"railroad-track"` | `"bridge"` | `"lighthouse"` | `"lock-closed"` | `"lock-open"` | `"wifi"` | `"trash"` | `"recycle"` | `"tree"` | `"flower"` | `"leaf"` | `"fire"` | `"mountain"` | `"snowy-mountain"` | `"volcano"` | `"island"` | `"wave"` | `"hot-springs"` | `"water"` | `"lake"` | `"ocean"` | `"animal"` | `"bird"` | `"duck"` | `"dog"` | `"fish"` | `"beach"` | `"wetland"` | `"sun"` | `"moon"` | `"cloud"` | `"partial-sun"` | `"rain"` | `"lightning"` | `"snowflake"` | `"wind"` | `"snow"` | `"fog"` | `"sleet"` | `"hurricane"` | `"warning"` | `"parking"` | `"info"` | `"circle-exclamation"` | `"circle-triangle"` | `"circle-x"` | `"circle-plus"` | `` `:${string}:` `` & \{} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
*** | ||
|
||
## Properties | ||
|
||
### color | ||
|
||
> **color**: `string` | ||
*** | ||
|
||
### frame | ||
|
||
> **frame**: `null` | `"frame-circle"` | `"frame-square"` | ||
*** | ||
|
||
### symbol | ||
|
||
> **symbol**: [`PinSymbol`](PinSymbol.md) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
*** | ||
|
||
## Properties | ||
|
||
### color | ||
|
||
> **color**: `string` | ||
*** | ||
|
||
### fillOpacity | ||
|
||
> **fillOpacity**: `number` | ||
*** | ||
|
||
### strokeOpacity | ||
|
||
> **strokeOpacity**: `number` | ||
*** | ||
|
||
### strokeWidth | ||
|
||
> **strokeWidth**: `number` | ||
*** | ||
|
||
### strokeStyle | ||
|
||
> **strokeStyle**: `"solid"` | `"dashed"` | `"dotted"` | ||
*** | ||
|
||
### areaMarker | ||
|
||
> **areaMarker**: `boolean` |
Oops, something went wrong.