rlayers icon indicating copy to clipboard operation
rlayers copied to clipboard

rlayers not supported for OpenLayers 8.0.0

Open hemikak opened this issue 1 year ago • 4 comments

I am getting this error when trying to use rlayers with OpenLayers 8.0.0. Error comes up when trying to build.

node_modules/rlayers/layer/RLayerStamen.d.ts:3:10 - error TS2305: Module '"ol/source"' has no exported member 'Stamen'.

3 import { Stamen } from 'ol/source';
           ~~~~~~


Found 1 error in node_modules/rlayers/layer/RLayerStamen.d.ts:3

This may have been because of the new Stadia maps that replaces Stamen. Refer: https://github.com/openlayers/openlayers/blob/main/changelog/upgrade-notes.md#new-stadiamaps-source-replaces-the-stamen-source

hemikak avatar Sep 07 '23 08:09 hemikak

Wait for next release of rlayers...author is already dealing with as seen in the repo commits

tarmooo avatar Sep 07 '23 08:09 tarmooo

Try installing the latest git checkout

npm install https://github.com/mmomtchev/rlayers.git
npm install [email protected]

and tell me if everything works

mmomtchev avatar Sep 07 '23 11:09 mmomtchev

Try installing the latest git checkout

npm install https://github.com/mmomtchev/rlayers.git
npm install [email protected]

and tell me if everything works

it works for me

xferqr avatar Sep 07 '23 12:09 xferqr

Its working for me as well.

hemikak avatar Sep 08 '23 13:09 hemikak