Free Maps API
Beautiful, fast vector map tiles powered by OpenStreetMap. Drop-in compatible with MapLibre GL JS. Add interactive maps to your app in minutes.
What Are Vector Map Tiles?
Vector map tiles deliver map data as compact, resolution-independent vector graphics instead of pre-rendered images. This means sharper maps at every zoom level, smooth rotation and tilting, and the ability to fully customize the map's appearance with your own styles.
Our tiles are served in the Protobuf (PBF) format and are designed to work seamlessly with MapLibre GL JS β the leading open-source map rendering library.
Key Features
πΊοΈ Vector Tiles
Crisp, scalable maps at every zoom level with smooth animations.
π¨ Custom Styles
Full control over colors, labels, and layers. Dark mode, light mode, or your own brand theme.
π Maps Key
Dedicated pk_latlng_ key that's safe to embed in frontend code.
β‘ Edge-Cached
Tiles served from Cloudflare's global edge network for fast load times.
Quick Start with MapLibre GL JS
Add an interactive map to your page in just a few lines of code:
// Initialize map with LatLng tiles const map = new maplibregl.Map({ container: 'map', style: { version: 8, sources: { osm: { type: 'vector', url: 'https://tiles.latlng.work/v1/metadata?key=pk_latlng_YOUR_KEY' } }, layers: [/* your style layers */] }, center: [-122.33, 47.60], zoom: 12 });
LatLng vs Other Map Tile Providers
| Feature | Google Maps | Mapbox | LatLng |
|---|---|---|---|
| Free Tier | $200 credit/mo | 50K loads/mo | Free to start |
| Tile Format | Raster | Vector | Vector (PBF) |
| Open Data | No | Partial | Yes (OSM) |
| Credit Card Required | Yes | Yes | No |
| Custom Styles | Limited | Yes | Yes |
| MapLibre Compatible | No | Yes | Yes |
Why Choose Our Free Maps API?
- No Credit Card: Sign up and start embedding maps instantly
- Open Data: Built on OpenStreetMap β community-maintained and always improving
- Frontend-Safe Keys: Dedicated maps keys (
pk_latlng_) safe for client-side use - Domain Restriction: Lock your maps key to specific domains for extra security
- Full Stack: Combine with our Geocoding and Places APIs for a complete location platform
- No Vendor Lock-in: Standard vector tiles work with any MapLibre-compatible renderer
Common Use Cases
- Interactive store locators and branch finders
- Real estate property maps and neighborhood views
- Logistics dashboards and fleet tracking
- Travel and tourism apps with custom map styles
- Data visualization and geographic analysis
- Embedding maps in blogs, documentation, and dashboards