I am working on a project that involves allowing users to create maps using Google Maps and then save the image. My current workaround uses both the Google Maps API V3 and the Static Maps API.
The user can interact with the dynamic Google map by scrolling, zooming, and exploring until they find the desired map. They can then click a button to extract the data from the dynamic map (center, zoom level, etc) which is sent to the Static Google Maps API. The static API returns an image that can be saved.
While I have this functionality mostly working, there are some inconsistencies. Sometimes, the images returned by the static Google Maps API match exactly what the user sees in the dynamic map. Other times, the image may be slightly off in terms of distance (possibly due to differences in latitude and longitude precision between the dynamic and static APIs), or could even be completely incorrect in terms of location (the reason for which I'm unsure). These discrepancies seem to be more pronounced at higher zoom levels due to the precision variations.
I'm curious if anyone has successfully converted a dynamic map to a static map without encountering bugs, or if there is a better solution that addresses these issues.