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
Developer
shahumang8
Posts: 643
Registered: ‎08-09-2010
My Device: Not Specified

How to show multiple pin in mapview?

Hello,

 

  Any one know how to show multiple pin in mapview??

 

  If  you have any refrence or sample app please reply me asap.

Please use plain text.
BlackBerry Development Advisor (Retired)
robbieDubya
Posts: 418
Registered: ‎07-18-2012
My Device: Q10
My Carrier: Bell Canada

Re: How to show multiple pin in mapview?

[ Edited ]

http://blackberry.github.io/Cascades-Samples/mapview.html shows dropping/clearing multiple pins.

--
Rob is no longer associated with BlackBerry.
Please use plain text.
Developer
shahumang8
Posts: 643
Registered: ‎08-09-2010
My Device: Not Specified

Re: How to show multiple pin in mapview?

Thanks RobbieDubya.

 

I check this app but there are no option to add multiple lat and lon.

 

 

Please use plain text.
BlackBerry Development Advisor (Retired)
robbieDubya
Posts: 418
Registered: ‎07-18-2012
My Device: Q10
My Carrier: Bell Canada

Re: How to show multiple pin in mapview?

Yes there is:

 

GeoLocation* newDrop = new GeoLocation();
newDrop->setLatitude(mapView->latitude());
newDrop->setLongitude(mapView->longitude());

 

--
Rob is no longer associated with BlackBerry.
Please use plain text.
Developer
shahumang8
Posts: 643
Registered: ‎08-09-2010
My Device: Not Specified

Re: How to show multiple pin in mapview?

Thanks RobbieDubya,

 

Working great. 

 

But still problem because which country i show map it's not supported blackberry map.

 

So may i know how to multiple pin show into google map???

Please use plain text.