@neshan-maps-platform/react-openlayers 2.0.11 → 2.0.13

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/README.md +3 -3
  2. package/package.json +5 -5
package/README.md CHANGED
@@ -65,7 +65,7 @@ English | [Português](./README-pt_BR.md) | [简体中文](./README-zh_CN.md) |
65
65
 
66
66
  | [<img src="https://raw.githubusercontent.com/alrra/browser-logos/master/src/edge/edge_48x48.png" alt="Edge" width="24px" height="24px" />](http://godban.github.io/browsers-support-badges/)<br>Edge | [<img src="https://raw.githubusercontent.com/alrra/browser-logos/master/src/firefox/firefox_48x48.png" alt="Firefox" width="24px" height="24px" />](http://godban.github.io/browsers-support-badges/)<br>Firefox | [<img src="https://raw.githubusercontent.com/alrra/browser-logos/master/src/chrome/chrome_48x48.png" alt="Chrome" width="24px" height="24px" />](http://godban.github.io/browsers-support-badges/)<br>Chrome | [<img src="https://raw.githubusercontent.com/alrra/browser-logos/master/src/safari/safari_48x48.png" alt="Safari" width="24px" height="24px" />](http://godban.github.io/browsers-support-badges/)<br>Safari | [<img src="https://raw.githubusercontent.com/alrra/browser-logos/master/src/electron/electron_48x48.png" alt="Electron" width="24px" height="24px" />](http://godban.github.io/browsers-support-badges/)<br>Electron |
67
67
  | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
68
- | Edge | last 2 versions | last 2 versions | last 2 versions | last 2 versions | --> |
68
+ | Edge | last 2 versions | last 2 versions | last 2 versions | last 2 versions | -->
69
69
  ## ⚙️ Before Install
70
70
  You need a map key to use our map on your react web application.
71
71
  You can signup and get a key from [Our Platfrom](https://platform.neshan.org/panel/api-key).
@@ -127,7 +127,7 @@ function App() {
127
127
  return (
128
128
  <>
129
129
  <NeshanMap
130
- mapKey="web.ef01013a8aad4ba293504994d34aa8ad"
130
+ mapKey="YOUR_MAP_KEY"
131
131
  defaultType="neshan"
132
132
  center={{ latitude: 35.7665394, longitude: 51.4749824 }}
133
133
  style={{ height: "48vh", width: "100%" }}
@@ -137,7 +137,7 @@ function App() {
137
137
  <hr />
138
138
  <NeshanMap
139
139
  ref={mapRef}
140
- mapKey="web.ef01013a8aad4ba293504994d34aa8ad"
140
+ mapKey="YOUR_MAP_KEY"
141
141
  traffic={false}
142
142
  defaultType="dreamy"
143
143
  style={{ height: "48vh", width: "100%" }}
package/package.json CHANGED
@@ -3,14 +3,14 @@
3
3
  "title": "react-neshanmap-openlayers",
4
4
  "description": "A react map component wrapping neshan openlayers map.",
5
5
  "private": false,
6
- "version": "2.0.11",
6
+ "version": "2.0.13",
7
7
  "type": "module",
8
8
  "types": "./dist/types/components/index.ts",
9
9
  "files": [
10
10
  "./dist/**"
11
11
  ],
12
- "main": "./dist/React-NeshanMap-Openlayers.js",
13
- "module": "./dist/React-NeshanMap-Openlayers.js",
12
+ "main": "./dist/React-Openlayers.js",
13
+ "module": "./dist/React-Openlayers.js",
14
14
  "scripts": {
15
15
  "dev": "vite",
16
16
  "build": "vite build && tsc",
@@ -22,13 +22,13 @@
22
22
  "react-dom": "18.x"
23
23
  },
24
24
  "devDependencies": {
25
- "react": "^18.2.0",
26
- "react-dom": "^18.2.0",
27
25
  "@types/node": "^18.11.18",
28
26
  "@types/ol": "^6.5.3",
29
27
  "@types/react": "^18.0.27",
30
28
  "@types/react-dom": "^18.0.10",
31
29
  "@vitejs/plugin-react": "^3.1.0",
30
+ "react": "^18.2.0",
31
+ "react-dom": "^18.2.0",
32
32
  "sass": "^1.58.0",
33
33
  "typescript": "^4.9.3",
34
34
  "vite": "^4.1.0"