Relative Content

Tag Archive for maplibre-gl

Maplibre: Do not send request to glyphs and not working with plugin: “maplibre-gl-measures”

I have demo project from Angular. I create one page and one components map-layout for maplibre-gl-js.
Then i install plugin maplibre-gl-measures.
This is my code from exmaple
enter image description here
Then i added new control from maplibre-gl-measures and he partially works.
I see button, he paint lines or polygon but i not see total area or length.
enter image description here
The mistake is that maplibre-gl does not send request to glyphs at the specified address as in the example.

how can i cut a map in Maplibre?

I want to render the map only where the data is.
The bounds I applied to map-tile.json worked, but I don’t know how to handle background(in map-style.json).