How to make a dynamic generated preview thumbnail of an user generated map/route?

1,035 views
Skip to first unread message

123gotoandplay

unread,
Mar 6, 2013, 4:37:41 AM3/6/13
to google-map...@googlegroups.com
Hello,

Is there a way we can generate a thumbnail of the map/route an user has created and saved?

I like to show some kind of litte preview

Any tips, info?

Barry Hunter

unread,
Mar 6, 2013, 8:59:18 AM3/6/13
to google-maps-js-api-v3
Pretty much what the Static Maps API is for :)



The trick will be distilling down the content of the map, so as not to overwelm the little map (and cause a long URL for the API) - you possibly want to only plot a sample of features on the preview map. 


--
You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-maps-js-a...@googlegroups.com.
To post to this group, send email to google-map...@googlegroups.com.
Visit this group at http://groups.google.com/group/google-maps-js-api-v3?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

wesweat youshop

unread,
Mar 6, 2013, 5:31:11 PM3/6/13
to google-map...@googlegroups.com
Wow Barry, totally overlooked static maps. 

Thanks for pointing it out.

Do you have a tip on the distilling part. In my case some users have plotted a map with over 20 points. 

I was thinking of skipping every 3rd lat/lng so 20 points will be drawn by 7

regards



--
You received this message because you are subscribed to a topic in the Google Groups "Google Maps JavaScript API v3" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-maps-js-api-v3/CSXdNhIej_Q/unsubscribe?hl=en.
To unsubscribe from this group and all its topics, send an email to google-maps-js-a...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages