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

Java Development

Reply
Developer
Posts: 692
Registered: ‎08-09-2010
My Device: Not Specified

Multiple location show in the map

Hello

         i have show multiple location in the map so what to do????pls given me some example .

Developer
Posts: 282
Registered: ‎02-25-2010
My Device: curve,bold,storm
My Carrier: Verizon,AT&T

Re: Multiple location show in the map

 

 String document1 ="<location-document>" +
						                         "<location lon='"+LONGITUDE1+"' lat='"+LATITUDE1+"' label='User' />"+
					                             "<location lon='"+LONGITUDE2+"' lat='"+LATITUDE2+"' label='"+name+"' />"+
					                       "</location-document>";

Invoke.invokeApplication(Invoke.APP_TYPE_MAPS,new MapsArguments(MapsArguments.ARG_LOCATION_DOCUMENT,document1));

LATITUDE AND LONGITUDE values must be of the form:
34256,23456 instead of 34.25645,23.34567

make sure u remove decimal values

 

try searching th forum,such questions can be found in similar threads

 

Developer
Posts: 692
Registered: ‎08-09-2010
My Device: Not Specified

Re: Multiple location show in the map

Ok.thanks.

But here one more question that i put this lat and long. at that time they show the red image and i focus that red image at that time they show the label ok.

so here i perform some this type

i click  the red part at that time one label is open and in label the address of this place so how to do????

 

Developer
Posts: 282
Registered: ‎02-25-2010
My Device: curve,bold,storm
My Carrier: Verizon,AT&T

Re: Multiple location show in the map

hey in my above post u can see term label in code

 

whatever u place inside label u will see it on maps

u can place address there.

Developer
Posts: 692
Registered: ‎08-09-2010
My Device: Not Specified

Re: Multiple location show in the map

ya i understand but in there i focus to those place at that time address show .But in my application i click the red part and then i go to label.and in label there one link are given thus i press link so i got all information about those place .

this type of application . 

Developer
Posts: 282
Registered: ‎02-25-2010
My Device: curve,bold,storm
My Carrier: Verizon,AT&T

Re: Multiple location show in the map

didnt u find anything of use from menu item

 

it needs googling.as m not much aware abt it.

did u tried mapfield,may be it can give any help