Several Points on the maps

Hello

Anyone know how to plot multiple points on a map? I think it's something to do with the blackberry.invoke.MapsArguments (locationDocument: Document) but I don't know how to use it. I tried:

var document = "";

var args = new blackberry.invoke.MapsArguments(document);
blackberry.invoke.invoke(blackberry.invoke.APP_MAPS, args);

I can trace a single point with:

var args = new blackberry.invoke.MapsArguments(43.26, -80.30);
blackberry.invoke.invoke(blackberry.invoke.APP_MAPS, args);

Kind regards

I messed around with different XML structures and got it working:

var xmlString = '';
var parser = new DOMParser();
var doc = parser.parseFromString(xmlString, "text/xml");
var args = new blackberry.invoke.MapsArguments(doc);
blackberry.invoke.invoke(blackberry.invoke.APP_MAPS, args);

Don't forget: You must multiply the coords per 100,000 (54.97781, so -1.61396 is actually 5497781,-161396).

More information on the elements XML here: http://docs.blackberry.com/en/developers/deliverables/11944/XML_element_location_893142_11.jsp and http://docs.blackberry.com/en/developers/deliverables/11944/XML_element_lbs_893141_11.jsp

Thank you for pointing me in the right direction, Tim!

Tags: BlackBerry Developers

Similar Questions

  • Navigate to A point on the map

    I go to contacts and press my sister's address. It appears in the cards. A. Cool point. So I want to navigate. But I can't-not, at least not directly. He asks that endpoint. I can touch the card to give a (very close to Point A) end point, or I can shoot to the top of the list of contacts again and select the address for my sister... still once. But is there no way to say, ' Hey, stupid! You see that you freakin ' no, I just had pull up? It is the place I want to go! » ??

    Yes, Yes, Yes. Voice search. 'Go to so-and-so.' But if I'm looking at a point on a map, I shouldn't be able to just browse without jumping through hoops?

    When I touch "Home view" on a contact, it finds the address and gives me a bubble pointing to the small 'A' marker on the map.  Tap the speech bubble, and I see 'Get directions' and 'Navigate' options.  I think that it worked even before I've updated to the new Google maps.

  • Card problem OBIEE - points on the map illustrated with two different images.

    VI have obiee 11.1.1.7.1 where we have an analysis with a card.

    The base map and the theme is created in 11.1.1.7.3 mapbuilder.

    VI have a variable shape layer in the OBIEE plan. The shape is a circle, and has four different locations (using four different colors to show the differences).

    A query can show 20-30 positions on the map.

    So far so good.

    When we run the analysis, the following occurs:

    1. circles of 20-30 (with one of four different colors) are presented correctly on the map. These results appear directly on the map once we click on "Apply"

    2 an hourglass appears and we will have to wait for 20 to 60 seconds.

    3 then an "x" appears in each of the 20-30 circles and the hourglass disappears. The 'x' is the mapbuilder theme that we created if we do not have any Style 'Render' associated with the Style. If we have a rendering style, for example a simple small point, this point then appears with the circle.

    Our question is how we can force mapbuilder for not making the 'x' in the map. That's where we get terrible response time.


    Best regards

    Joel

    We have solved the problem using only the datawharehouse data to generate BI data layers.

    We have created a new BI data layers using variable forms. Then, we chose a layer of bridge custom rather than use the MapBuilder theme that we created earlier. Then, we used the points Long/Lat for the generation x and y.

  • At the point of the map, how to change the font used

    Hello

    I want to change the font used in the bubble in Mappoint. I don't talk about boxing of text or the text size, I just want to change the police and use "Microsoft sans Serif".

    Is this possible?

    How to do?

    I used Windows 7,

    Best regards

    You can ask in the following forum because they are more likely to have relevant experts:

    Highway, streets and Trips, MapPoint .

  • Track of several points of BBMap

    Hello

    Since in my app, I am interested in launching BBMaps and the route of several locations on the map.  I see where I can draw 1 point with setLatitude() and setLongitude(), is there a way to do for more than one?

    Thanks in advance,

    Glenn.

    Glenn,

    If you pass in a document to the location that contains several points, you can view several points on the map at the same time.  See the following article:

    http://www.BlackBerry.com/knowledgecenterpublic/livelink.exe/fetch/2000/348583/800332/800703/How_To _...

  • How to view the symbols of the apostrophe (') on the map of blackberry

    Hello world

    I display several point on the map of Blackberry pin code and adding the label and description of the stem stitch,.

    in that sentence I put symbols of the apostrophe (') (ex-aujourd'hui), after that the card does not appear.

    Please help me how display only.

    Thank you.

    You will need to use entities.

    var = ', description = "Today\" zoom is... ". "means that var contains:

    ... description = zoom 'today ' =...

    This naturally leads to malformed XML.

    Do this instead:

    var = "... description = zoom 'Today' is...". »

  • How to stop the maps zoom before or back on the paging upwards or downwards?

    On Macbooks, the trackpad causes some windows of page zoom (slide up) or zoom out (by dragging down). Usually, this happens with windows that show cards, but other windows, too. This doesn't cause me any irritation, the end since it happens several times a day. I drag it to the bottom of a web page, completely unsuspecting and, in doing so, I slip on a window which completely zoomed out, making it impossible to see what was there. In the case of a map window, this moves the center point of the map to a preset, far from where it starts. To adjust the new focus TI where I needed.

    There is no need to have this function trackpad, since almost all the cards on the web comes with a built in zoom sufficient control. So I would like to disable this feature special trackpad. But I have not found a way to do this.

    Anyone know how? (Assuming that it is possible to turn it off.) Otherwise, I think that Apple should reprogram its trackpad. I don't want to zoom function included.)

    You should be able to disable this feature in the preferences system paved. Should be a checkbox under two fingers to zoom in the screen.

  • arrow of finger brush is reversed when pointing to the left

    Working on a map (using AI CS2) and use the arrow of the finger of the palette "special arrows" at the point of the map to the right. Showed a preliminary to the customer and they like it, but they want one also pointing to the left to show what is in that direction. I can't get the arrow to take into account so that the arrow can point left with the hand is upside down. I don't want to spend the arrows because the customer wants.

    Tried to save as a gif file, and then let him go and make a mark, but it looks nothing like the original brush. Could better work if I did the really big gif before tracing, but thought I would ask the forum first. If he isn't a real way to take into account, I would be happy to hear about creative work around... any suggestions?

    Thanks in advance

    AZ_Kaylee

    This is a brush (at least it is there Library Special-arrow up) which means with the selected line double-click the brush in the brush Panel and in the dialog box, select Flip (box top along the horizontal). Now points the brush in the other direction.

  • How to view root between point of two pins on the map of blackberry

    Hello

    I've implemented blackberry card in my application for the display of multiple points of PIN.

    But I need to display a root between point of two pins on the map, how can any body help me.

    Search the Forum, I suggest using the most commonly used spelling rather than root road.  You might find useful results, for example:

    http://supportforums.BlackBerry.com/T5/Java-development/BlackBerry-maps-trace-route-help/m-p/1404747...

  • Several Tunnels with the same distance network & destination in cryptographic maps

    This maybe a newbie question, but I don't have production systems and don't really have a way to test our properly. We have an ASA 5520 with several tunnels from site to site. We already have a tunnel with one of the remote networks in 10.100.90.14. We have this IP on a subnet configured as remote network and the destination address in the card encryption. We also exempt rules NAT in place for our local network with the 10.100.90.14 address as the destination.

    We have another tunnel that must be built and who will have a different address peer, but that requires a large number of subnets and at least we'll have the same remote network/destination address in the map encryption and VPN tunnel that we already have in place.

    Is this possible to do with a tunnel of site to another without a static or dynamic NAT to a different IP address?

    I know, with physical networks, that it is impossible because of the static routes that are in place, but with the ipsec tunnels I'm not sure how it works, and as mentioned, I'm not able to test it.

    Any guidance would be appreciated.

    Bill

    The acl crypto map defines interesting traffic. If you have the same destination IP address, IE. 10.100.90.14 then if the source IE. the IP address of the client on your network is identical for the two tunnels, then no, it won't work and you will need to make some sort of NAT for one of the tunnels.

    Jon

  • Management of several layers at the same point

    Hello

    I use the API in my application and Javacript Mapviewer, more than one layer can be established at the same point. I use MVThemeBasedFOI. If you click on this point, I want to give the possibly to choose which layer you want. Now when I have several layers, only the last can be clicked. Is there a way to solve it?

    MVThemeBasedFOI.setBringToTopOnMouseOver (boolean).   I found this method, but how do I access all layers when I click on a point?

    Thanks for help.

    ESC.

    I tried really hard things to fool this behavior. At the end of the search for new features that were not in the documentation, I found this: MVMapView.enableMultiThemeClickable (boolean). They should update the documentation because there are a lot of functions implemented that do not exist.

    Just enable it and it works perfectly!

    mapview.enableMultiThemeClickable (true);

    ESC

  • Can I create a Google Map with several points?

    I am building a Web site for a company with several companies, and they want all appear on the map. In the standard Google maps widget, you can add only one address. Is it possible to add multiple addresses without scripting?

    You can always add placements more once you have published the site by editing the source code. Otherwise simply don't use the widget and enter the code clean Google according to custom HTML.

    Mylenium

  • Set the reference point for several objects in the middle of the document

    Hello community,

    I want to mirror a layout.

    I: Yes

    1. Select all objekts

    2. set the benchmark in the Middle

    3. objects in mirror

    BUT

    The reference point is in the middle of all the OBJECTS. This led to several objects across the border into my document because the layout is not spread out on a regular basis.

    I want through the DOCUMENT will be the point of reference. How can I do?

    Thank you

    Christian

    Have you fiugured this out yourself?

    I just played a little and found a method, but it is not really intuitive. Select the object, then go to the rotation tool. The center of rotation must be defined as one of the handles of transformation, but you can drag it anywhere you like, then move until you want as the center of your mirror. Hold down the Opt/Alt key and click on the button to create a mirrored copy. The objects original reflects their position around the reference repositioned without the modifier key.

  • Several webgates pointing to the entrance of an access door in OAM

    Can we install webgates on several boxes and are pointing to the same OAM access door entry.
    Are there problems with this kind of Setup?
    No position taken?

    You can have different policies if you have different resources such as / Application1 and / Application2 like you mentioned.

    Yours is perfect scenario where an accessgate entry can be used for installations multiple webgate :)

    Hope this helps,
    Sagar

  • What's the point of having several columns in the ORDER BY clause?

    DB version: 10 gr 2

    When you use the ORDER BY clause, the lines are always sorted by the first column in the ORDER BY clause. So, what's the point of having several columns in the ORDER BY clause (I always see this in production codes)?

    For the below SQLs' schema SCOTT, result sets are always classified according to the first column ename. When I added use asc and desc of employment, does not change the result set.
    SQL> select * from emp order by ename;
    
         EMPNO ENAME      JOB              MGR HIREDATE         SAL       COMM     DEPTNO
    ---------- ---------- --------- ---------- --------- ---------- ---------- ----------
          7876 ADAMS      CLERK           7788 23-MAY-87       1100                    20
          7499 ALLEN      SALESMAN        7698 20-FEB-81       1600        300         30
          7698 BLAKE      MANAGER         7839 01-MAY-81       2850                    30
          7782 CLARK      MANAGER         7839 09-JUN-81       2450                    20
          7902 FORD       ANALYST         7566 03-DEC-81       3000                    20
          7900 JAMES      CLERK           7698 03-DEC-81        950                    30
          7566 JONES      MANAGER         7839 02-APR-81       2975                    20
          7839 KING       PRESIDENT            17-NOV-81       5000                    20
          7654 MARTIN     SALESMAN        7698 28-SEP-81       1250       1400         30
          7934 MILLER     CLERK           7782 23-JAN-82       1300                    20
          7788 SCOTT      ANALYST         7566 19-APR-87       3000                    20
          7369 SMITH      CLERK           7902 17-DEC-80        800                    20
          7844 TURNER     SALESMAN        7698 08-SEP-81       1500          0         30
          7521 WARD       SALESMAN        7698 22-FEB-81       1250        500         30
    
    14 rows selected.
    
    SQL> select * from emp order by ename, job;
    
         EMPNO ENAME      JOB              MGR HIREDATE         SAL       COMM     DEPTNO
    ---------- ---------- --------- ---------- --------- ---------- ---------- ----------
          7876 ADAMS      CLERK           7788 23-MAY-87       1100                    20
          7499 ALLEN      SALESMAN        7698 20-FEB-81       1600        300         30
          7698 BLAKE      MANAGER         7839 01-MAY-81       2850                    30
          7782 CLARK      MANAGER         7839 09-JUN-81       2450                    20
          7902 FORD       ANALYST         7566 03-DEC-81       3000                    20
          7900 JAMES      CLERK           7698 03-DEC-81        950                    30
          7566 JONES      MANAGER         7839 02-APR-81       2975                    20
          7839 KING       PRESIDENT            17-NOV-81       5000                    20
          7654 MARTIN     SALESMAN        7698 28-SEP-81       1250       1400         30
          7934 MILLER     CLERK           7782 23-JAN-82       1300                    20
          7788 SCOTT      ANALYST         7566 19-APR-87       3000                    20
          7369 SMITH      CLERK           7902 17-DEC-80        800                    20
          7844 TURNER     SALESMAN        7698 08-SEP-81       1500          0         30
          7521 WARD       SALESMAN        7698 22-FEB-81       1250        500         30
    
    14 rows selected.
    
    SQL>  select * from emp order by ename, job desc;
    
         EMPNO ENAME      JOB              MGR HIREDATE         SAL       COMM     DEPTNO
    ---------- ---------- --------- ---------- --------- ---------- ---------- ----------
          7876 ADAMS      CLERK           7788 23-MAY-87       1100                    20
          7499 ALLEN      SALESMAN        7698 20-FEB-81       1600        300         30
          7698 BLAKE      MANAGER         7839 01-MAY-81       2850                    30
          7782 CLARK      MANAGER         7839 09-JUN-81       2450                    20
          7902 FORD       ANALYST         7566 03-DEC-81       3000                    20
          7900 JAMES      CLERK           7698 03-DEC-81        950                    30
          7566 JONES      MANAGER         7839 02-APR-81       2975                    20
          7839 KING       PRESIDENT            17-NOV-81       5000                    20
          7654 MARTIN     SALESMAN        7698 28-SEP-81       1250       1400         30
          7934 MILLER     CLERK           7782 23-JAN-82       1300                    20
          7788 SCOTT      ANALYST         7566 19-APR-87       3000                    20
          7369 SMITH      CLERK           7902 17-DEC-80        800                    20
          7844 TURNER     SALESMAN        7698 08-SEP-81       1500          0         30
          7521 WARD       SALESMAN        7698 22-FEB-81       1250        500         30
    
    14 rows selected.

    Search in this example, you will see the difference

    SQL> create table test_order (name varchar2(10), surname varchar2(10), age number);
    
    Table created.
    
    SQL> insert into test_order values('Kamran','Agayev',26);
    
    1 row created.
    
    SQL> insert into test_order values('Kamran','Taghiyev',26);
    
    1 row created.
    
    SQL> insert into test_order values('John','Kevin',23);
    
    1 row created.
    
    SQL> select * from test_order;
    
    NAME       SURNAME           AGE
    ---------- ---------- ----------
    Kamran     Agayev             26
    Kamran     Taghiyev           26
    John       Kevin              23
    
    SQL> select * from test_order
      2  order by age;
    
    NAME       SURNAME           AGE
    ---------- ---------- ----------
    John       Kevin              23
    Kamran     Agayev             26
    Kamran     Taghiyev           26
    
    SQL> select * from test_order
      2  order by age asc, surname desc;
    
    NAME       SURNAME           AGE
    ---------- ---------- ----------
    John       Kevin              23
    Kamran     Taghiyev           26
    Kamran     Agayev             26
    
    SQL>
    

    When in the second query, I sorted out only for age, you saw it there two 26 years old Keita, there was first Agayev, then Taghiyev. But if I want to get the family names in descending order when there are two very old person, then I will add the second column in the order by clause

    - - - - - - - - - - - - - - - - - - - - -
    Kamran Agayev a. (10g OCP)
    http://kamranagayev.WordPress.com

Maybe you are looking for