diTii.com Digital News Hub

Sign up with your email address to be the first to know about latest news and more.

I agree to have my personal information transfered to MailChimp (more information)


Snapshot your maps using Google Static Maps API and SnapshotControl

SnapshotControl makes it easy to generate an image “snapshot” of your interactive map, using Google Static Maps API v2. The default behavior of the control is to add a button on the map, and that button pops up a snapshot when clicked. However, the control can be hidden and the generated snapshot URLs can be programmatically retrieved, so that the library may be used in a more flexible manner. This control also knows how to encode polylines, using the Douglas-Peucker algorithm, which means that it can be used on maps with very long paths. For e.g. the control can create static maps for driving direction routes, as shown in demo. Check this demo to play with different options and see the generated URL.

More infoSnapshotControl

Share This Story, Choose Your Platform!

Get Latest News

Subscribe to Digital News Hub

Get our daily newsletter about the latest news in the industry.
First Name
Last Name
Email address
Secure and Spam free...