Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rlayers not supported for OpenLayers 8.0.0 #182

Open
hemikak opened this issue Sep 7, 2023 · 4 comments
Open

rlayers not supported for OpenLayers 8.0.0 #182

hemikak opened this issue Sep 7, 2023 · 4 comments

Comments

@hemikak
Copy link

hemikak commented Sep 7, 2023

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

@tarmooo
Copy link
Contributor

tarmooo commented Sep 7, 2023

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

@mmomtchev
Copy link
Owner

Try installing the latest git checkout

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

and tell me if everything works

@xferqr
Copy link

xferqr commented Sep 7, 2023

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

@hemikak
Copy link
Author

hemikak commented Sep 8, 2023

Its working for me as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants