Closed lzio closed 3 years ago
Indeed @lzio, this project was indeed done for OL5. For OL6 I think you should create a new layer type like done in this project: https://github.com/geoblocks/mapboxlayer/blob/master/src/MapBoxLayer.js
See also https://github.com/geoblocks/mapboxlayer-legacy/blob/master/examples/demo.js and https://github.com/geoblocks/mapboxlayer-legacy/blob/master/src/MapBoxLayer.js for the corresponding legacy OL5 code.
Indeed @lzio, this project was indeed done for OL5. For OL6 I think you should create a new layer type like done in this project: https://github.com/geoblocks/mapboxlayer/blob/master/src/MapBoxLayer.js
See also https://github.com/geoblocks/mapboxlayer-legacy/blob/master/examples/demo.js and https://github.com/geoblocks/mapboxlayer-legacy/blob/master/src/MapBoxLayer.js for the corresponding legacy OL5 code.
Thank you for you reply, it's exactly what i want
THX