Search code examples
mathgoogle-maps-static-api

Panning Google Maps Static Image API


I am trying to implement panning using Google's static image api, but don't really know where to start.

Given: lat,lng = 36.059534,-94.171257 of the center of the image zoom level = 19 image size = 400x400

Question: How do I calculate the lat,lng of the upper left and lower right corners of the image?


Solution

  • I should have searched better. This is exactly what I needed.