ol-react
ol-react copied to clipboard
React bindings for OpenLayers
Does what it says on the tin - this PR adds support for declaring Point, MultiPoint and Circle geometries as children of a tag.
This PR exposes the `updateSize()` method of the OpenLayers map component in the interface of the corresponding React component.
This pull request adds support for TileWMS and XYZ layer sources. It also refactors the handling of layer sources a bit so we can extract some common code out into...
Should cover 100% of the current build. Could use tests to cover more ground easily.
Id is a required prop of Feature. The square needs the first point repeated in order to be closed.
Request for support these features: **OL transform feature example:** ``` var feature = new ol.Feature(); var point = new ol.geom.Point([item.long, item.lat]); feature.setGeometry(point.transform('EPSG:4326', 'EPSG:3857')); ``` **Popup feature example:** ``` var map...