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

Web and WebWorks Development


Thank you for visiting the BlackBerry Support Community Forums.

BlackBerry will be closing the BlackBerry Support Community Forums Device Forums on April 1st (Developers, see below)

BlackBerry remains committed to providing excellent customer support to our customers. We are delighted to direct you to the CrackBerry Forums, a well-established and thorough support channel, for continued BlackBerry support. Please visit http://forums.crackberry.com or http://crackberry.com/ask. You can also continue to visit BlackBerry Support or the BlackBerry Knowledge Base for official support options available for your BlackBerry Smartphone.

"When we launched CrackBerry.com 10 years ago, we set out to make it a fun and useful destination where BlackBerry Smartphone owners could share their excitement and learn to unleash the full potential of their BlackBerry. A decade later, the CrackBerry community is as active and passionate as ever and I know our knowledgeable members and volunteers will be excited to welcome and assist more BlackBerry owners with their questions."

- Kevin Michaluk, Founder, CrackBerry.com

Developers, for more information about the BlackBerry Developer Community please review Join the Conversation on the BlackBerry Developer Community Forums found on Inside BlackBerry.


Reply
New Contributor
Posts: 3
Registered: ‎10-24-2012
My Device: BlackBerry Torch 9800
My Carrier: Bell

Google map positioning with Google Maps API V3

I am working on a mobile web app that displays  a google map using Google Maps API V3. However, when it's viewed on blackberry the coordinates I have given when creating the map are not what is displayed. 

 

For example I set my center to be 46.4633, -80.9706 but on blackberry the center is around 46.4582, -80.976

 

I have defined the center as:

 

        var mapOptions = {

          center: new google.maps.LatLng(46.4633, -80.9706),

          streetViewControl: false,

          zoom: 14,

          mapTypeId: google.maps.MapTypeId.ROADMAP

 

Has anyone had similar issues or a possible solution?

Highlighted
Retired
Posts: 165
Registered: ‎09-24-2012
My Device: Passport
My Carrier: Bell

Re: Google map positioning with Google Maps API V3

[ Edited ]

Hi Juliia,

 

What device/OS version have you tested this with? I tried the following example and it works as intended on a BB10 Dev Alpha https://google-developers.appspot.com/maps/documentation/javascript/examples/map-coordinates

New Contributor
Posts: 3
Registered: ‎10-24-2012
My Device: BlackBerry Torch 9800
My Carrier: Bell

Re: Google map positioning with Google Maps API V3

It was tested with version 7 of the OS, people who will be using the app will probably have 7 or lower.

Retired
Posts: 165
Registered: ‎09-24-2012
My Device: Passport
My Carrier: Bell

Re: Google map positioning with Google Maps API V3

Are you packaging this into a WebWorks app? Or is this a mobile site that users will visit using their devices?

New Contributor
Posts: 3
Registered: ‎10-24-2012
My Device: BlackBerry Torch 9800
My Carrier: Bell

Re: Google map positioning with Google Maps API V3

[ Edited ]

For now just the mobile web that any phone can access. In the future I'm hoping to have it with WebWorks.

 

EDIT: I have tested it with the dev of OS 10 and it works perfectly.