BT-Creator / maplibre-cwc

A Web components library for easily integrate MapLibre Maps in a declarative manner
MIT License
0 stars 0 forks source link

`RasterLayer` compomenent #21

Open BT-Creator opened 1 year ago

BT-Creator commented 1 year ago

This issue is about creating a component that allows users to define a base map.

Currently, the application is hardcoded to us the demo tiles, provided by Maplibre themselves, but we of course want to give users to have the ability to switch this out.

The most common use case is to render the OSM basemap on a map. This map uses a raster source, so you'll probably want to add a generic component for this type of source.

Once this generic component has been added, you can document this and maybe add an example on how to add a specific source component.

BT-Creator commented 1 year ago

Also: