Socket
Socket
Sign inDemoInstall

osm-static-maps

Package Overview
Dependencies
348
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install
Previous13Next

3.7.0

Diff

Changelog

Source

3.7.0

Add serve command to CLI

  • Add serve subcommand to CLI
  • Fix sample-server
  • Updated all dependencies to latest version
jperelli
published 3.6.0 •

Changelog

Source

3.6.0

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
jperelli
published 3.5.1 •

Changelog

Source

3.5.1

Fix geojson option

  • Fix geojson option being an object was not being parsed right and throwed an error
jperelli
published 3.5.0 •

Changelog

Source

3.5.0

Add scale and marker icon options

  • Add scale parameter to render a scale ruler
  • Add marker icon options
jperelli
published 3.4.1 •

Changelog

Source

3.4.1

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
jperelli
published 3.4.0 •

Changelog

Source

3.4.0

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
jperelli
published 3.3.0 •

Changelog

Source

3.3.0

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
jperelli
published 3.2.0 •

Changelog

Source

3.2.0

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)
jperelli
published 3.1.1 •

Changelog

Source

3.1.1

Bugfixing

  • Fix bug wrong zooming when no geojson
  • Default to different zoom levels depending on vector vs raster tiles
jperelli
published 3.1.0 •

Changelog

Source

3.1.0

Add mapbox vector tiles and expose more options

  • Add CHANGELOG file to track version changes
  • Add vectorserverUrl and vectorserverToken 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 and quality to control returned image format
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc