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

Posts: 20
Registered: ‎02-26-2011
My Device: Not Specified

Add coordinates to Blackberry maps

If I run this code on the simulator: <script type="text/javascript"> var args = new blackberry.invoke.MapsArguments(50.956466, 4.827576); blackberry.invoke.invoke(blackberry.invoke.APP_MAPS, args); </script> I get this error: TypeError: Cannot convert 'undefined' to an object. Running at line 1: var args=new blackberry.invoke.MapsArguments(50.956466,4.827576);. what am I doing wrong?
Posts: 128
Registered: ‎08-01-2008
My Device: Bold 9900, 9810, 9780, 9650 and so many others
My Carrier: T-Mobile

Re: Add coordinates to Blackberry maps

What simulator are you running?

Do I see "blackberry.invoke.invoke" ?