terra-draw 0.0.1-alpha.11 → 0.0.1-alpha.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/CHANGELOG.md +17 -0
  2. package/README.md +10 -0
  3. package/package.json +16 -1
package/CHANGELOG.md CHANGED
@@ -2,6 +2,23 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
+ ### [0.0.1-alpha.12](https://github.com/JamesLMilner/terra-draw/compare/v0.0.1-alpha.11...v0.0.1-alpha.12) (2022-12-11)
6
+
7
+
8
+ ### Features
9
+
10
+ * add openlayers adapter ([1454086](https://github.com/JamesLMilner/terra-draw/commit/1454086220e0b18eb504e23cca433c5db51075e3))
11
+ * add rectangle mode as a builtin mode ([ca9a12b](https://github.com/JamesLMilner/terra-draw/commit/ca9a12b449dc9ce35a268a92e8d3cdb06ba07aee))
12
+ * disable double click when a drawing mode is enabled ([ba02ac6](https://github.com/JamesLMilner/terra-draw/commit/ba02ac689052726f8a059b0548ad541bd842555f))
13
+
14
+
15
+ ### Chore
16
+
17
+ * add keywords to package.json ([1270f26](https://github.com/JamesLMilner/terra-draw/commit/1270f26f0d650c97fc8c264d730231c5aac9fe43))
18
+ * add openlayers to development example ([0d24796](https://github.com/JamesLMilner/terra-draw/commit/0d24796754819bc622a071eae9af4c40d7fd1d16))
19
+ * do not use git add . with husky pre-commit hook ([032d002](https://github.com/JamesLMilner/terra-draw/commit/032d002a9212e767715876f63e4ca5bc90857a3a))
20
+ * update list of supported libraries in README ([2825d6c](https://github.com/JamesLMilner/terra-draw/commit/2825d6cb095f6709cae15887cb56a7ed26b1ef3d))
21
+
5
22
  ### [0.0.1-alpha.11](https://github.com/JamesLMilner/terra-draw/compare/v0.0.1-alpha.10...v0.0.1-alpha.11) (2022-11-29)
6
23
 
7
24
 
package/README.md CHANGED
@@ -6,6 +6,16 @@ Frictionless map drawing across mapping libraries.
6
6
 
7
7
  TerraDraw centralises map drawing logic and provides a host of out the box drawing modes that work across map providers (currently Leaflet, Mapbox, Google) via adapters.
8
8
 
9
+ ### Support
10
+
11
+ Terra Draw uses the concept of 'adapters' to allow it to work with a host of different mapping libraries. Currently supported are:
12
+
13
+ * [Leaflet](https://leafletjs.com/) v1
14
+ * [OpenLayers](https://openlayers.org/) v7
15
+ * [Mapbox GL JS](https://www.mapbox.com/mapbox-gljs) v2
16
+ * [MapLibre](https://maplibre.org/projects/maplibre-gl-js/) v2
17
+ * [Google Maps JS API](https://developers.google.com/maps/documentation/javascript/overview) v3
18
+
9
19
  ### Install
10
20
 
11
21
  You can install the Terra Draw into your project like so:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "terra-draw",
3
- "version": "0.0.1-alpha.11",
3
+ "version": "0.0.1-alpha.12",
4
4
  "description": "Frictionless map drawing across mapping provider",
5
5
  "scripts": {
6
6
  "docs": "typedoc --out docs src/terra-draw.ts --exclude 'src/geometry/**/*.ts' --exclude 'src/test/**/*.ts' --exclude 'src/util/**/*.ts'",
@@ -32,6 +32,20 @@
32
32
  "author": "James Milner",
33
33
  "license": "MIT",
34
34
  "repository": "JamesLMilner/terra-draw",
35
+ "keywords": [
36
+ "map",
37
+ "drawing",
38
+ "draw",
39
+ "map drawing",
40
+ "geometry",
41
+ "leaflet",
42
+ "leafletjs",
43
+ "mapbox",
44
+ "mapboxgl",
45
+ "google maps",
46
+ "openlayers",
47
+ "maplibre"
48
+ ],
35
49
  "devDependencies": {
36
50
  "@commitlint/cli": "^17.1.2",
37
51
  "@commitlint/config-conventional": "^17.1.0",
@@ -54,6 +68,7 @@
54
68
  "mapbox-gl": "^2.9.1",
55
69
  "maplibre-gl": "^2.4.0",
56
70
  "microbundle": "^0.15.0",
71
+ "ol": "^7.1.0",
57
72
  "serve": "^13.0.4",
58
73
  "standard-version": "^9.5.0",
59
74
  "ts-jest": "^28.0.5",