Search code examples
c#.netimagegoogle-maps

Getting Google Maps square chunk image and corner coordinates


I need to get Image object from Google Maps, centered to a given address, and get its corners coordinates. How to achieve this in C#?


Solution

  • Per the terms of service you can not get the chunk images from Google maps, You can use the API to get a image of what you want, see the documentation on how to request a specific address, it is simply a set of url encoded parameters

    http://maps.googleapis.com/maps/api/staticmap?center=Berkeley,CA&zoom=14&size=400x400&sensor=false