map-tools icon indicating copy to clipboard operation
map-tools copied to clipboard

Add support for static maps

Open bcherny opened this issue 9 years ago • 3 comments

bcherny avatar May 04 '15 00:05 bcherny

Hey @bcherny what do you mean exactly by that? I could have a method that returns a URL to replicate the current Map state. Is that what you need?

yagoferrer avatar May 04 '15 02:05 yagoferrer

See gmaps -

  • http://hpneo.github.io/gmaps/examples/static.html
  • http://hpneo.github.io/gmaps/examples/static_markers.html

bcherny avatar May 04 '15 03:05 bcherny

Yes! this can totally be implemented. No big deal! https://github.com/hpneo/gmaps/blob/master/lib/gmaps.static.js

yagoferrer avatar May 04 '15 14:05 yagoferrer