Maps
LocationIQ provides beautiful and customizable map tiles to visualize location data on your websites and apps.
Add a map to your Website
Our map tiles can be rendered by most open-source libraries like OpenLayers, MapLibre GL JS, or Leaflet JS to add a map to your website.
We've added demos & code-samples for most popular use-cases:
- Maps using MapLibre GL JS (recommended)
- Maps using OpenLayers
- Maps using LeafletJS (for compatibility with older browsers)
Request
Request Format
Depending on which Maps SDK you decide to use, you will need to use either the
Style Specification URLorTile URLs.
MapLibre-GL SDKs
Style Specification URL: For MapLibre-GL SDKs, use a Style Specification URL. A Style URL looks like this:
https://tiles.locationiq.com/v3/<theme>/<type>.json?key=<access_token>