All Projects → protomaps → protomaps.js

protomaps / protomaps.js

Licence: BSD-3-Clause license
Lightweight vector map rendering, labeling and symbology for the web

Programming Languages

typescript
32286 projects
CSS
56736 projects
javascript
184084 projects - #8 most used programming language
HTML
75241 projects

Projects that are alternatives of or similar to protomaps.js

fishfrymap
Fish Fry Map project repository
Stars: ✭ 14 (-96.1%)
Mutual labels:  cartography, leaflet
leaflet.minichart
Leaflet.minichart is a leaflet plugin for adding to a leaflet map small animated charts
Stars: ✭ 27 (-92.48%)
Mutual labels:  leaflet
harp-leaflet
Leaflet plugin for harp.gl
Stars: ✭ 16 (-95.54%)
Mutual labels:  leaflet
L.Control.LineStringSelect
Polyline selection control for Leaflet
Stars: ✭ 43 (-88.02%)
Mutual labels:  leaflet
ci-ifd-lead
Code Institute | Interactive Frontend Development | 6-week _lead project
Stars: ✭ 16 (-95.54%)
Mutual labels:  leaflet
osmcz
JS mapová appka pro openstreetmap.cz (osmcz-app)
Stars: ✭ 35 (-90.25%)
Mutual labels:  leaflet
coronavirus-map-dashboard
🦠 Coronavirus (COVID-19) Map Dashboard using coronavirus-tracker-api
Stars: ✭ 41 (-88.58%)
Mutual labels:  leaflet
leaflet-layer-tree-plugin
No description or website provided.
Stars: ✭ 31 (-91.36%)
Mutual labels:  leaflet
svelte-leaflet
Svelte component for leaflet.
Stars: ✭ 37 (-89.69%)
Mutual labels:  leaflet
frakegps
Simulate a simple GPS device with gpsd or geoclue2
Stars: ✭ 22 (-93.87%)
Mutual labels:  leaflet
leaflet-tag-filter-button
Adds tag filter control for layers (marker, geojson features etc.) to LeafLet.
Stars: ✭ 48 (-86.63%)
Mutual labels:  leaflet
leaflet-paintpolygon
Leaflet plugin to create polygon with circle as paint
Stars: ✭ 38 (-89.42%)
Mutual labels:  leaflet
CivMap
Interactive, editable personal web map for Civ-style Minecraft servers
Stars: ✭ 21 (-94.15%)
Mutual labels:  leaflet
geog4572
Geovisual Analytics @ Oregon State University
Stars: ✭ 67 (-81.34%)
Mutual labels:  cartography
Leaflet.MarkerCluster.LayerSupport
Sub-plugin for Leaflet.markercluster plugin; brings compatibility with Layers Control and other plugins
Stars: ✭ 53 (-85.24%)
Mutual labels:  leaflet
geofind
Multiplayer Geographical Guessing Game using PostGIS, Nuxt, Leaflet & Colyseus.
Stars: ✭ 31 (-91.36%)
Mutual labels:  leaflet
census-loader
A quick way to get started with ABS Census 2016 data
Stars: ✭ 32 (-91.09%)
Mutual labels:  cartography
lrm-esri
use Esri's hosted routing service in Leaflet to generate walk, car and truck routes/directions
Stars: ✭ 22 (-93.87%)
Mutual labels:  leaflet
go-go-map
百度地图瓦片下载工具 离线地图生成
Stars: ✭ 27 (-92.48%)
Mutual labels:  leaflet
geoportal-extensions
French Geoportal Extensions for well-known javascript mapping libraries (Leaflet and OpenLayers)
Stars: ✭ 49 (-86.35%)
Mutual labels:  leaflet

protomaps.js

A vector map renderer for the web.

npm Test suite minzipped size

This project is a complete web map renderer - including quality label layout, pattern fills, and icons - in as simple as possible of an implementation. It's an alternative to renderers like Mapbox GL JS in a fraction of the size.

Features

  • Render static maps to Canvas elements or interactive maps with Leaflet integration
  • Supports variable web fonts with multiple weights and italics in a single font file
  • Can read normal Z/X/Y tile URLs or offline, S3-hosted tile archives in PMTiles format
  • Full out-of-the-box support for right-to-left and Indic/Brahmic writing systems
  • Configurable via plain JavaScript
  • Extensible API for defining your own symbolizers

See the docs on what protomaps.js is, what protomaps.js is not

Demos

How to use

<script src="https://unpkg.com/protomaps@latest/dist/protomaps.min.js"></script>
<script>
    const map = L.map('map')
    var layer = protomaps.leafletLayer({url:'FILE.pmtiles OR ENDPOINT/{z}/{x}/{y}.pbf'})
    layer.addTo(map)
</script>

Exports of OpenStreetMap data in PMTiles format can be obtained from https://protomaps.com/bundles.

Project Status

The design is still evolving rapidly, so do not expect any kind of stable internal or external-facing API between minor versions. But please do report bugs and discuss requirements in the Issues.

See Also

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].