Avatar

Level 4

While looking into Google Map API, I found a way to receive static image (.jpg/.png/etc) by calling the below URL having some needed parameters:

http://maps.google.com/maps/api/staticmap?center=New Delhi,India&zoom=14&size=400x400&sensor=false

This URL response me with a Image. Now I want to use this Image to be displayed in Image Field of a PDF form. It may need to convert this image in Base64 format then assign it to ImageField.rawValue. But before that I need to call this URL and get the Image in some variable.

Please help.

-

Abhinav