1.4.1 • Published 10 months ago
@daviking/openlayers v1.4.1
React - OpenLayers
Do not try this at home, this is made for custom needs and not battle tested.
This library brings a lightweight abstraction over open layers to allow for simpler usage in a react application.
Credits
Credits goes to https://github.com/mbrown3321/openlayers-react-map, from which I took the initial code.
Example usage
import React, { FC } from 'react';
import { Layers, Map, TileLayer, View } from 'react-openlayers';
import OSM from 'ol/source/OSM';
const App: FC = () => <Map>
<View options={{ center: [0, 0], zoom: 2 }} />
<Layers>
<TileLayer options={{ source: new OSM() }} />
</Layers>
</Map>
1.4.1
10 months ago
1.4.0
12 months ago
1.2.0
1 year ago
1.3.1
1 year ago
1.3.0
1 year ago
1.1.19
1 year ago
1.1.22
1 year ago
1.1.21
1 year ago
1.1.20
1 year ago
1.1.18
2 years ago
1.1.17
2 years ago
1.1.16
2 years ago
1.1.15
2 years ago
1.1.9
3 years ago
1.1.8
3 years ago
1.1.7
3 years ago
1.1.6
3 years ago
1.1.5
3 years ago
1.1.4
3 years ago
1.1.3
3 years ago
1.1.2
3 years ago
1.1.12
3 years ago
1.1.11
3 years ago
1.1.10
3 years ago
1.1.14
3 years ago
1.1.13
3 years ago
1.1.1
3 years ago