12-01-2009 07:43 AM
While integarating a web page containing google map with my bb widget .. I 'm just getting a blank screen. I 've added http://maps.google.com as the access element in cofing.xml.
Also generated the API key using google.
12-01-2009 09:40 AM
I'm 99% certain that 'full' Google Maps isn't supported by the BlackBerry browser. Consequently it isn't supported in a widget either (just visit maps.google.com from the browser and you'll find that it doesn't work). Even if it did work in the browser, you would have to add an access element for gstatic.com to your config.xml because most of the little images overlaid on top of the map tiles come from there.
What all of this means is that if you are limited to using the Google Static Maps API in widgets (you can use the same API key as you've been using with the full maps API). One problem you'll most likely encounter with this however is that a bug in the widget runtime or BB browser seems to prevent images generated by the the Google Static Maps server from loading reliably in widgets. I've worked around this by making map requests by proxy through a simply pass-through page running on my own server. Happy to share the source for this if it would help.
04-01-2011 03:18 PM
We just hit this problem - hard! Have been scratching my head and scratching my head and pulling out all my hair until I found your post. Thought I was going nuts there for a while.
Any chance you can share your workaround? We have a project supposed to be going live in the next couple of days, and any help would be very very much appreciated.
p.s. company name is snipp.com - just realized I signed up here with my personal email
email@example.com or firstname.lastname@example.org