cazgp / leaflet-nightmare

Generate server side leaflet images with nightmare (phantomjs)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Leaflet nightmare

Node module to generate maps server-side and produce images. Useful for generating static maps from multiple sources on the server.

Requires

  • phantomjs

Usage

See examples for now.

To do

There are lots of things to do:

  • Remove everything that's hard-coded and shouldn't be.
  • Restructure (it's one big mess at the moment).
  • Tests.
  • Ability for non-auto-generated layers.
  • etc.

About

Generate server side leaflet images with nightmare (phantomjs)


Languages

Language:JavaScript 59.4%Language:CSS 40.6%