Skip to content

Openfreemap

image image image

Using OpenFreeMap Vector Tiles

OpenFreeMap lets you display custom maps on your website and apps for free. It provides several vector tilesets for free, including:

  • liberty: https://tiles.openfreemap.org/styles/liberty
  • positron: https://tiles.openfreemap.org/styles/positron
  • bright: https://tiles.openfreemap.org/styles/bright

For more information, please visit https://openfreemap.org/quick_start.

Uncomment the following line to install leafmap if needed.

1
# %pip install "leafmap[maplibre]"
1
import leafmap.maplibregl as leafmap
1
2
m = leafmap.Map(style="liberty")
m

image

1
2
m = leafmap.Map(style="bright")
m
1
2
m = leafmap.Map(style="positron2")
m