Fix vector map labels
- Fix vector map labels not being rendered with 100% opacity
Fix vectorserverUrl
- Fix vectorserverUrl option was never returning the image
- Change equal default zoom for vector and raster tiles
Change commonjs to nodejs modules
- Breaking: Change commonjs to nodejs modules
- Upgrade all dependencies to latest versions
- Fix imagemin missing binary
- Change oxipng compression to level 0
Improve docker files
- Add prod config without volumes and autoreload
Better dependencies pinning
- Uningnored package-lock.json to better pin dependencies
Improve speed
- Speed up results:
- Add cache to resolve faster tilesets in sample-server
- Correct default tile url to use https to avoid redirection
- Remove unnecessary network wait. Change it to wait for map load event
- Remove tile fade-in effect to be able to resolve earlier
- Upgrade all dependencies to latest versions
- Removed not-working heroku demo
- Removed validation that broke the /dynamic endpoint
Support AWS functions hotfix
- Move dependencies right.
Support AWS functions
- Move dependencies to dev to conform the 50Mib limit
Hotfix
- Fix broken local puppeteer
Add support to vercel api functions
- Use chrome-aws-lambda as alternative to base puppeteer
Maintenance
- Upgrade dependencies to latest versions
Read geojson from file or stdin
- Add new option
-f
to read geojson from file, stdin (-
) or url - Fix issue on console error misses, add
haltOnConsoleError
option - Prevent HTML/JS injection vulnerability in sample server
- Upgrade dependencies
Maintenance
- Upgrade dependencies, outstandingly puppeteer from 3.x to 5.x
- Improve sample-server logging client information
Add styling options to features
- Add per feature and global style configuration option
- Add timeout option
- Add Dockerfile kanji font support
- Add geojson typescript type
- Fix arrows argument crashing lib
- Update all dependencies to the latest version
Add serve command to CLI
- Add serve subcommand to CLI
- Fix sample-server
- Updated all dependencies to latest version
New CLI interface, puppeteer singleton
- Add CLI interface
- Fix sample server using too many resources, make headless browser singleton
- Updated all dependencies to latest version
- Refactored README
- Refactored project directory structure
Fix geojson option
- Fix geojson option being an object was not being parsed right and throwed an error
Add scale and marker icon options
- Add scale parameter to render a scale ruler
- Add marker icon options
Improve code reliability
- Improved requirements' path resolution: use builtin require() function instead of relying in custom paths
- Updated all dependencies to latest version
- Fix center parameter issue in sample server
Add typescript definitions, allow POST in server
- Add typescript definitions
- Allow sample-server to use POST json enconded body to get the parameters
- Allow library to be called without any arguments
Add arrows option on linestrings
- Add
arrows
boolean option to show the direction of each linestring inside the geojson - Updated all dependencies to latest version
- Improved nodemon to watch html template file
- Remove annoying package-lock.json and pin all versions directly
Add optional lossless compresion
- Add
imagemin
boolean option to lossless compress the result image using imagemin (optipng / jpegtran) - Add
oxipng
boolean option to lossless compress the result image using oxipng (only for png images) (searches in/root/.cargo/bin/oxipng
, see how to install it in Dockerfile)
Bugfixing
- Fix bug wrong zooming when no geojson
- Default to different zoom levels depending on vector vs raster tiles
Add mapbox vector tiles and expose more options
- Add CHANGELOG file to track version changes
- Add
vectorserverUrl
andvectorserverToken
options for taking a screenshot using Mapbox Vector Tiles (MVT) Layer (style.json) - Expose
center
option - Expose
zoom
andmaxZoom
options - Expose
attribution
option to set the legend / copyright - Expose
renderToHtml
option - Expose
type
andquality
to control returned image format
Upgrade packages and improve speed
- Replace unmaintained node-webshot with puppeteer
- Upgrade all dependencies, including leaflet
- Fix bug geojson
Point
s were not being rendered - Add docker-compose support
- Upgrade heroku config to latest CEDAR stack
Add options
- Add
tileserverUrl
option - Add Dockerfile
Make it reusable as a library
- Refactored to be a npm library
- Publish package in npm
- Started using semver
Improve reliability for a stable release
- Serve leaflet locally instead of using a cdn
- Upgrade packages to latest versions
- Improve readme
Initial useful version.
- Express application that takes a screenshot of a geojson over a leafletmap with parameters
geojson
,height
,width
- Published in heroku