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

Reply
New Contributor
Posts: 7
Registered: ‎09-10-2013
My Device: Blackberry 6 Torch 9800

Blackberry map does not display properly on Blackberry 6 device

[ Edited ]

I have a blackberry application developed using jQuery Mobile and wrapped in Phone Gap. There I am trying to open the 'Directions' map as separate while clicking on a button. For that, I have been trying the BB map like mentioned in the page http://developer.blackberry.com/html5/api/blackberry.invoke.MapsArguments.html.

I call the following script function while clicking.

<script type="text/javascript">
    var args = new blackberry.invoke.MapsArguments(43.26, -80.30);
    blackberry.invoke.invoke(blackberry.invoke.APP_MAPS, args);
</script>

Also I have included the following feature in config.xml

<feature id="blackberry.invoke.MapsArguments" />

While clicking, it opens up but , the map is not getting displayed(no grids and lines).

 

I tried google map for the same but it was redirecting to google home page and also creating memory issues while it works fine in BB10.

window.open("http://maps.google.com/maps?f=d&source=s_d&saddr=9.9482213,76.293493&daddr=45.636583000000000,-72.91...","_blank");

 

Also, while loading the google map in to a div, it creates memory issues in BB6.

Everything works fine for BB10 (Z10) device.

Can any one please help me?

Thanks in advance.

Developer
Posts: 19,612
Registered: ‎07-14-2008
My Device: Not Specified

Re: Blackberry map does not display properly on Blackberry 6 device

Wrong forum, you really need to be here:

http://supportforums.blackberry.com/t5/Web-and-WebWorks-Development/bd-p/browser_dev

 

I will see if I can get this Thread moved.

New Contributor
Posts: 7
Registered: ‎09-10-2013
My Device: Blackberry 6 Torch 9800

Re: Blackberry map does not display properly on Blackberry 6 device

Thank you Peter for moving my question to the exact forum.

 

Can any one please help me with a solution or work around for this issue?

 

Thanks in advance.

 

BlackBerry Development Advisor
Posts: 834
Registered: ‎07-15-2008
My Device: Passport
My Carrier: Bell

Re: Blackberry map does not display properly on Blackberry 6 device

So the Maps application is opening but it's not loading any mapping data?

 

Does it load any mapping data normally, if it was loaded from the homescreen?

 

What device and OS version is this on?

Tim Windsor
Open Source Technical Lead
New Contributor
Posts: 7
Registered: ‎09-10-2013
My Device: Blackberry 6 Torch 9800

Re: Blackberry map does not display properly on Blackberry 6 device

Hi,


Yes, the Maps application is opening but it's not loading any mapping data.
I am unable to see the Maps application icon in the device even it is there installed and able to change its settings (Options-> Device -> Maps).
The device is Blackberry Torch 9800.
Please advise.


Thanks.
Nabeel

BlackBerry Development Advisor
Posts: 834
Registered: ‎07-15-2008
My Device: Passport
My Carrier: Bell

Re: Blackberry map does not display properly on Blackberry 6 device

If the Maps application doesn't appear on the device, then you may need to follow the steps on this page to install it properly: http://ca.blackberry.com/apps/blackberry-apps/blackberry-maps/blackberry-maps-download.html

 

I think thay may be the issue that you're running into.

Tim Windsor
Open Source Technical Lead
New Contributor
Posts: 7
Registered: ‎09-10-2013
My Device: Blackberry 6 Torch 9800

Re: Blackberry map does not display properly on Blackberry 6 device

Hi,

 

 

Thanks for your reply.

I installed the map app from the given link. There was no change.

 

Anyway, due to memory issues in Blackberry6 device, the client asked to remove map option in BB6 device and keep only in Z10 device. 

 

Thanks.

Nabeel