Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

sprusr/mewmap

Open more actions menu

Repository files navigation

mewmap

Bundle size badge

Interactive vector maps in a tiny bundle size, powered by SVG.

import { mewmap } from 'mewmap';

const map = mewmap({
    svg: document.getElementById("mewmap"),
    longitude: 24.9384,
    latitude: 60.1699,
    zoom: 12,
});
<svg id="mewmap" width="600" height="400"></svg>

Note that for complex maps some browsers may struggle to render at high frame rates, particularly on mobile devices.

Why

Simplicity. More complex map rendering libraries are undoubtedly impressive and have their place, but many scenarios don't need their advanced features.

If you're looking to have a map on your website, with maybe a few markers and ability for visitors to interact with it, mewmap is a great choice.

Roadmap

The aim is to cover most common use cases of a map on a website.

  • Functional rendering with reference map style (VersaTiles colorful; excluding symbols)
  • Raster sources/layers (satellite)
  • Symbols rendering (text and icons)
  • GeoJSON sources (markers, external data)
  • More comprehensive Maplibe/Mapbox style spec support
  • Server rendering
  • Lightweight React wrapper

If there's something more you'd like to see, please open an issue or submit a pull request.

About

Interactive maps powered by SVG 🐈

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Contributors

Morty Proxy This is a proxified and sanitized view of the page, visit original site.