I am using pys60 to create an application for a client.
Now, I need to show a google map in the screen. I have found the PyS60 Google Maps API documentation and code and it´s supposed that this code does everything for you.
I thought that I only needed to copy the code and do some changes to work it but it doesn´t.
Everything works fine except when I need to get the image.
When I´m trying to do this: gImage = gmap.retrieveStaticImage(320, 240, 51.510605, -0.130728, 8, "png32")
I get an error and I don´t know why because I can´t see the error´s text. Also I have tested all the programm and I am sure that line is the problem.
There is not a lot of information about this API so I would like to know if someone could help me because I don´t know what can I do.
My gps code is:
appuifw2.app.body = self.google_display
gmap = GoogleMaps('Secret')
gAddress = gmap.geocodeAddress("Leicester Square, London")
tMap = gmap.adjust(gAddress,gAddress,100,0,8)
gImage = gmap.retrieveStaticImage(320, 240, tMap,tMap, 8, "png32")
With that code, the program fails but if I do the same code without gImage line, it works.
The rest of the PyS60 Google Maps API code is here: http://wiki.forum.nokia.com/index.ph...oogle_Maps_API.
Thank you for everything and sorry for my English, I am Spanish.