भारत

Maps of the whole world, labelled in Hindi and 21 other languages of India.

Pick a language. Drag the map to explore anywhere.

Add it to your app in one line

Choose a theme and a language and you get a style URL. Pass it to MapLibre GL JS 6.7 or newer. You don't need an API key or an account.

Theme
Language

Embed a map with one script

Paste two lines into any web page: a plain HTML site, WordPress, React or Vue. The map below is the embed itself.

<script src="https://maps.anthaathi.com/embed.js" async></script>

<anthaathi-map
  lang="bn"
  theme="light"
  center="88.3639,22.5726"
  zoom="11"
  marker="88.3426,22.5448"
  popup="Victoria Memorial"
  style="height: 420px">
</anthaathi-map>
lang

Label language: hi, bn, ta, te, mr and the other language codes listed below. Default hi.

theme

light, dark, white, grayscale or black.

center, zoom

Start position as longitude,latitude and a zoom level from 0 to 15.

marker, popup

Drop pins at lng,lat. Separate several with ;. The popup opens when someone taps the first pin.

cooperative

true needs Ctrl+scroll or two fingers to zoom, so the page still scrolls.

interactive, controls

false gives a still image or hides the zoom buttons.

Can't add scripts? Use an iframe

<iframe
  src="https://maps.anthaathi.com/embed?lang=ta&theme=light&center=80.27,13.08&zoom=11"
  width="100%" height="420" style="border:0" loading="lazy">
</iframe>

From JavaScript

// after embed.js has loaded
const map = await AnthaathiMaps.create(document.getElementById("map"), {
  lang: "te", theme: "dark", center: [78.4867, 17.385], zoom: 11,
});
map.anthaathi.setLanguage("hi");   // switch language later
// `map` is a normal MapLibre GL JS map: add layers, markers and events as usual

Every scheduled language of India

Place names appear in the language you choose, with the English name underneath. If OpenStreetMap doesn't have a name in that language yet, the label shows English. Select a language to see it on the map.

The map also comes in 37 other languages, including Arabic, Chinese, French, German, Japanese, Russian and Spanish. You can add missing names on openstreetmap.org with a name:ta, name:bn, … tag. They show up here after the next rebuild.

Build your own style

The vector tiles follow the Protomaps basemap layers, so any Protomaps style or the @protomaps/basemaps package works with them.

World tiles
https://maps.anthaathi.com/planet/{z}/{x}/{y}.mvtTileJSON: /planet.json. Zoom 0–15, every country
India tiles
https://maps.anthaathi.com/india/{z}/{x}/{y}.mvtTileJSON: /india.json. Names in all 22 scheduled languages
Glyphs
https://maps.anthaathi.com/fonts/{fontstack}/{range}.pbf
Sprites
https://maps.anthaathi.com/sprites/v4/{theme}
Indian script fonts
https://maps.anthaathi.com/fonts-ttf/NotoSansTamil-Regular.ttfNoto TTFs for MapLibre font-faces. Every style already includes them.

With @protomaps/basemaps

import { layers, namedFlavor } from "@protomaps/basemaps";

const style = {
  version: 8,
  glyphs: "https://maps.anthaathi.com/fonts/{fontstack}/{range}.pbf",
  sprite: "https://maps.anthaathi.com/sprites/v4/light",
  sources: {
    protomaps: { type: "vector", url: "https://maps.anthaathi.com/planet.json" },
  },
  layers: layers("protomaps", namedFlavor("light"), { lang: "hi" }),
};

Open data, served at the edge

OpenStreetMap

Roads, buildings, rivers and places mapped by millions of volunteers. The tiles come from the daily Protomaps planet build.

Cloudflare R2

One 140 GB PMTiles archive, served as tiles by a Worker and cached at the nearest Cloudflare location.

Real script shaping

Conjuncts, matras and ligatures render correctly because MapLibre shapes the text with the actual Noto fonts.

Map data © OpenStreetMap contributors, ODbL. Basemap by Protomaps. Fonts: Noto, OFL. Keep the attribution visible on your map.