@opengeoweb/webmap-react 9.23.1 → 9.24.0

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 (2) hide show
  1. package/index.esm.js +13 -9
  2. package/package.json +1 -1
package/index.esm.js CHANGED
@@ -60,7 +60,8 @@ var en = {
60
60
  "webmap-react-point": "Point",
61
61
  "webmap-react-polygon": "Polygon",
62
62
  "webmap-react-box": "Box",
63
- "webmap-react-linestring": "LineString"
63
+ "webmap-react-linestring": "LineString",
64
+ "webmap-react-delete": "Delete"
64
65
  };
65
66
  var fi = {
66
67
  "webmap-react-event": "tapahtuma:",
@@ -104,7 +105,8 @@ var fi = {
104
105
  "webmap-react-point": "Piste",
105
106
  "webmap-react-polygon": "Monikulmio",
106
107
  "webmap-react-box": "Laatikko",
107
- "webmap-react-linestring": "Viivajono"
108
+ "webmap-react-linestring": "Viivajono",
109
+ "webmap-react-delete": "Poista"
108
110
  };
109
111
  var no = {
110
112
  "webmap-react-event": "hendelse:",
@@ -148,7 +150,8 @@ var no = {
148
150
  "webmap-react-point": "Punkt",
149
151
  "webmap-react-polygon": "Polygon",
150
152
  "webmap-react-box": "Boks",
151
- "webmap-react-linestring": "Linje"
153
+ "webmap-react-linestring": "Linje",
154
+ "webmap-react-delete": "Fjerne"
152
155
  };
153
156
  var nl = {
154
157
  "webmap-react-event": "event:",
@@ -192,7 +195,8 @@ var nl = {
192
195
  "webmap-react-point": "Punt",
193
196
  "webmap-react-polygon": "Polygoon",
194
197
  "webmap-react-box": "Rechthoek",
195
- "webmap-react-linestring": "Lijn"
198
+ "webmap-react-linestring": "Lijn",
199
+ "webmap-react-delete": "Verwijder"
196
200
  };
197
201
  var webmapReactTranslations = {
198
202
  en: en,
@@ -6132,7 +6136,7 @@ const getIcon = selectionType => {
6132
6136
  const defaultPoint = {
6133
6137
  drawModeId: 'drawtools-point',
6134
6138
  value: DRAWMODE.POINT,
6135
- title: 'Point',
6139
+ title: `${WEBMAP_REACT_NAMESPACE}:webmap-react-point`,
6136
6140
  shape: emptyPoint,
6137
6141
  isSelectable: true,
6138
6142
  selectionType: 'point'
@@ -6140,7 +6144,7 @@ const defaultPoint = {
6140
6144
  const defaultPolygon = {
6141
6145
  drawModeId: 'drawtools-polygon',
6142
6146
  value: DRAWMODE.POLYGON,
6143
- title: 'Polygon',
6147
+ title: `${WEBMAP_REACT_NAMESPACE}:webmap-react-polygon`,
6144
6148
  shape: emptyPolygon,
6145
6149
  isSelectable: true,
6146
6150
  selectionType: 'poly'
@@ -6148,7 +6152,7 @@ const defaultPolygon = {
6148
6152
  const defaultBox = {
6149
6153
  drawModeId: 'drawtools-box',
6150
6154
  value: DRAWMODE.BOX,
6151
- title: 'Box',
6155
+ title: `${WEBMAP_REACT_NAMESPACE}:webmap-react-box`,
6152
6156
  shape: emptyBox,
6153
6157
  isSelectable: true,
6154
6158
  selectionType: 'box'
@@ -6156,7 +6160,7 @@ const defaultBox = {
6156
6160
  const defaultLineString = {
6157
6161
  drawModeId: 'drawtools-linestring',
6158
6162
  value: DRAWMODE.LINESTRING,
6159
- title: 'LineString',
6163
+ title: `${WEBMAP_REACT_NAMESPACE}:webmap-react-linestring`,
6160
6164
  shape: emptyLineString,
6161
6165
  isSelectable: true,
6162
6166
  selectionType: 'linestring'
@@ -6164,7 +6168,7 @@ const defaultLineString = {
6164
6168
  const defaultDelete = {
6165
6169
  drawModeId: 'drawtools-delete',
6166
6170
  value: 'DELETE',
6167
- title: 'Delete',
6171
+ title: `${WEBMAP_REACT_NAMESPACE}:webmap-react-delete`,
6168
6172
  shape: emptyGeoJSON,
6169
6173
  isSelectable: false,
6170
6174
  selectionType: 'delete'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opengeoweb/webmap-react",
3
- "version": "9.23.1",
3
+ "version": "9.24.0",
4
4
  "description": "GeoWeb react wrapper for webmap",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {