Closed itsdapi closed 2 months ago
never mind it was pretty simple
export default function GeoVisBaseLayer() {
return (
<RLayerTile url={`https://tiles1.geovisearth.com/base/v1/vec/{z}/{x}/{y}?format=webp&tmsIds=w&token=${config.mapToken}`} />
);
}
Vanilla ol has a feature that can load different source of osm map by giving url.
Here if can provide a props to access the source would be an lazy option not to new a custom layer lol😆