Nondeterministic Programming Methodology
Miss any of our Open RFC calls?Watch the recordings here! »

map-glyph-server

1.1.2 • Public • Published

NPM version Build Status Dependency Status Dev Dependency Status

map-glyph-server

Server for glyph/font files compatible with mapbox-gl-js

Install

$ npm install --global map-glyph-server

Usage

Prior to starting the server glyphs should be located in MAP_GLYPH_SERVER_PORT directory. This can be achieved using openmaptiles/fonts or a similar utility.

MAP_GLYPH_SERVER_PORT is the port number map-glyph-server will use

/etc/default/map-glyph-server can be used to set environment variables

In order to use the fonts edit Style JSON and change the endpoint for glyphs:

"glyphs": "https://fonts.example.com/{fontstack}/{range}.pbf",

License

MIT © Damian Krzeminski

Install

npm i map-glyph-server

DownloadsWeekly Downloads

3

Version

1.1.2

License

MIT

Unpacked Size

7.05 kB

Total Files

7

Last publish

Collaborators

  • avatar