rlayers
rlayers copied to clipboard
rlayers not supported for OpenLayers 8.0.0
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
Wait for next release of rlayers...author is already dealing with as seen in the repo commits
Try installing the latest git checkout
npm install https://github.com/mmomtchev/rlayers.git
npm install [email protected]
and tell me if everything works
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
Its working for me as well.