I m working on an application which renders google maps on an image as below
Make sure you have enabled "Static Maps API" service in addition to "Google Maps API".