moshen / node-googlemaps

A simple way to query the Google Maps API from Node.js
MIT License
559 stars 148 forks source link

static api: adds support for 'scale' parameter #113

Closed jacoscaz closed 8 years ago

jacoscaz commented 8 years ago

Hello!

There's an undocumented scale parameter that allows for @2x icons in markers. I've simply added it to the array of supported parameters in lib/utils/parseMarkers.js. If you're happy with this I can add a little paragraph about it in the readme.

Source: http://stackoverflow.com/questions/10336646/how-can-i-use-high-resolution-custom-markers-with-the-scale-parameter-in-google/17130379#17130379

fabriziomoscon commented 8 years ago

Sounds good! Go for it.

jacoscaz commented 8 years ago

@fabriziomoscon done! Feel free to reword it to your liking.

jacoscaz commented 8 years ago

@fabriziomoscon I've rebased my fork to tidy things up as I caught a few wording mistakes. Should be ok now.