@neshan-maps-platform/react-openlayers 2.0.7 → 2.0.9

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 +5 -6
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  <p align="center">
2
2
  <a href="https://platform.neshan.org">
3
- <img width="200" src="./public/neshan.svg">
3
+ <img width="150" src="https://static.neshanmap.ir/content/places/assets/images/21.png">
4
4
  </a>
5
5
  </p>
6
6
 
@@ -61,8 +61,8 @@ English | [Português](./README-pt_BR.md) | [简体中文](./README-zh_CN.md) |
61
61
  - [Electron](https://www.electronjs.org/)
62
62
 
63
63
  | [<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 |
64
- | --- | --- | --- | --- | --- |
65
- | Edge | last 2 versions | last 2 versions | last 2 versions | last 2 versions | -->
64
+ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
65
+ | Edge | last 2 versions | last 2 versions | last 2 versions | last 2 versions | --> |
66
66
 
67
67
  ## 📦 Install
68
68
 
@@ -77,7 +77,7 @@ yarn add @neshan-maps-platform/react-openlayers
77
77
  ## 🔨 Usage
78
78
 
79
79
  ```jsx
80
- import { useEffect, useRef, useState } from "react"
80
+ import { useEffect, useRef } from "react"
81
81
  import classes from "./App.module.scss"
82
82
 
83
83
  import { NeshanMap, NeshanMapRef } from '../dist/React-NeshanMap-Openlayers'
@@ -93,8 +93,7 @@ function App() {
93
93
  setTimeout(() => {
94
94
  console.log(mapRef.current);
95
95
  }, 2000);
96
-
97
- }, [() => mapRef.current])
96
+ }, )
98
97
 
99
98
  return (
100
99
  <NeshanMap
package/package.json CHANGED
@@ -3,7 +3,7 @@
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.7",
6
+ "version": "2.0.9",
7
7
  "type": "module",
8
8
  "types": "./dist/types/components/index.ts",
9
9
  "files": [