Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Native Development

Reply
Contributor
Annie_A20
Posts: 11
Registered: ‎03-15-2013
My Device: Developer
Accepted Solution

Google Maps issues

I have built an location-based app, taking refrence from  casacade webView sample and facing a strange problem

Google maps loads perfectly at my end in india , but at the BB vendor support end Google maps fails to load at all.

 

Did anyone ever faced such issues? any idea   any help ...i am bit struck with this problem

Developer
peter9477
Posts: 6,473
Registered: ‎12-08-2010
My Device: PlayBook, Z10

Re: Google Maps issues

Maybe post some of the URLs involved?

Peter Hansen -- (BB10 and dev-related blog posts at http://peterhansen.ca.)
Author of White Noise and Battery Guru for BB10 and for PlayBook | Get more from your battery!
Contributor
Annie_A20
Posts: 11
Registered: ‎03-15-2013
My Device: Developer

Re: Google Maps issues

Hi Peter,

 

Thanks for the reply!

 

map url i am using     https://maps.googleapis.com/maps/api/js?v=3.exp&sensor=false;


Do you think i should use API key also?

Developer
helex
Posts: 295
Registered: ‎02-14-2012
My Device: Nokia N950 / BB Playbook

Re: Google Maps issues

Over here in Germany I get this error message using your Link:

 

alert("Ihre Anfrage wurde vom Google Maps-API-Server abgelehnt. Der in der Anfrage angegebene \x22sensor\x22-Parameter muss entweder \x22true\x22 oder \x22false\x22 sein.")

Translated:

The query was rejected by Google Maps API Server. The \x22sensor\x22-Parameter in the query should be \x22true\x22 or \x22false\x22

 

I'm not sure if it really helps. But as you see, your Link seems to work only at the google server in india, but not in other countries. Maybe BlackBerry will get in Canada a similar error. OR: You have your API key stored locally in a cookie and your key is missing at my machine.

But I have myself never worked with the google API. So maybe it is something totally different. Good luck! :smileyhappy:

Developer
madkristoff
Posts: 58
Registered: ‎11-30-2012
My Device: BlackBerry Z10

Re: Google Maps issues

Getting the same error here in Canada.
__________________________________________________________

If my post helped, click the like button!

Developer of Reader|YC , an open source Hackernews client
Contributor
paiki
Posts: 32
Registered: ‎01-18-2011
My Device: Curve 8900

Re: Google Maps issues

[ Edited ]

I use the same URL, without the ";"

 

https://maps.googleapis.com/maps/api/js?v=3.exp&sensor=false

 

Developer
lalthomas
Posts: 24
Registered: ‎05-16-2013
My Device: Developer

Re: Google Maps issues

I think you have to use the API key

<script src='http://maps.googleapis.com/maps/api/js?key=XXXXXX&sensor=true'></script>

Contributor
Annie_A20
Posts: 11
Registered: ‎03-15-2013
My Device: Developer

Re: Google Maps issues

Hi,

 

A Big thanks to ALL  involved....

 

 

Issue is resloved  by Adding API_key in Google maps Urls