Skip to content

Commit cabd2b8

Browse files
committed
updates per code review
1 parent 0acc909 commit cabd2b8

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

components/mapbox/actions/create-tileset/create-tileset.mjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ export default {
1818
tilesetName: {
1919
type: "string",
2020
label: "Tileset Name",
21-
description: "A unique name for the tileset source to be created. Limited to 32 characters. The only allowed special characters are - and _.",
21+
description: "A unique name for the tileset source to be created. Limited to 32 characters. The only allowed special characters are `-` (hyphen) and `_` (underscore)",
2222
},
2323
filePath: {
2424
type: "string",
@@ -28,7 +28,7 @@ export default {
2828
recipe: {
2929
type: "object",
3030
label: "Recipe",
31-
description: "A recipe that describes how the GeoJSON data you uploaded should be transformed into tiles. A tileset source is raw geographic data formatted as [line-delimited GeoJSON](https://en.wikipedia.org/wiki/JSON_streaming#Line-delimited_JSON), or a supported [raster file format](https://docs.mapbox.com/mapbox-tiling-service/raster/supported-file-formats/). For more information on how to create and format recipes, see the ]Recipe reference](https://docs.mapbox.com/mapbox-tiling-service/reference/) and [Recipe examples](https://docs.mapbox.com/mapbox-tiling-service/examples/).",
31+
description: "A recipe that describes how the GeoJSON data you uploaded should be transformed into tiles. A tileset source is raw geographic data formatted as [line-delimited GeoJSON](https://en.wikipedia.org/wiki/JSON_streaming#Line-delimited_JSON), or a supported [raster file format](https://docs.mapbox.com/mapbox-tiling-service/raster/supported-file-formats/). For more information on how to create and format recipes, see the [Recipe reference](https://docs.mapbox.com/mapbox-tiling-service/reference/) and [Recipe examples](https://docs.mapbox.com/mapbox-tiling-service/examples/).",
3232
},
3333
description: {
3434
type: "string",

components/mapbox/actions/generate-directions/generate-directions.mjs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@ export default {
1111
startCoordinate: {
1212
type: "string",
1313
label: "Start Coordinate",
14-
description: "The starting point in the format `longitude,latitude`",
14+
description: "The starting point in the format `longitude,latitude`, E.g. `37.835819,-85.244869`",
1515
},
1616
endCoordinate: {
1717
type: "string",
1818
label: "End Coordinate",
19-
description: "The ending point in the format `longitude,latitude`",
19+
description: "The ending point in the format `longitude,latitude`, E.g. `37.835819,-85.244869`",
2020
},
2121
transportationMode: {
2222
propDefinition: [
@@ -28,6 +28,7 @@ export default {
2828
type: "boolean",
2929
label: "Steps",
3030
description: "Whether to return steps and turn-by-turn instructions (`true`) or not (`false`, default)",
31+
optional: true,
3132
},
3233
alternatives: {
3334
type: "boolean",

0 commit comments

Comments
 (0)