Several markers in the mapfield

Hi, using the following code shows to draw marks in the mapfield.

Coordinates cordinate = new Coordinates (latitude [i], longitude [i], (float) 0.0);
imgW int = 0;
imgH int = 0;
If (null == xyRect) {}
_mapField.convertWorldToField (cordinate, fieldOut);
imgW = imgRed.getWidth ();
imgH = imgRed.getHeight ();
xyRect = new XYRect (fieldOut.x - imgW/2, fieldOut.y
-imgH, imgW, imgH);
}
  
setExtent (width, height);
If (getFieldCount() > 0) {}

setPositionChild (getField(i+1), xyRect.x, xyRect.y);
}
}

but I'm not able to see all the brands in the mapfield.

any idea?

Thanks in advance

Solved...

http://supportforums.BlackBerry.com/T5/Java-development/MapField-convertWorldToField/m-p/464928#M929...

Tags: BlackBerry Developers

Similar Questions

  • Creating markers on the MapField.

    Hello world.

    I am developing an application that uses a blackberry MapFiled. Here I'm looking forward to keep multiples of the marker for the given latitude and longitude multiples. Here are the options that I give to the MapFiled.

    (1) the user can move the map along all directions.

    (2) double tap helps the user to zoom and zoom out of the map. (very similar to google maps)

    I couldn't find an option to keep the markers by using MapFiled. Please advice me the rite solution.

    Hi all

    I found a solution using MapFiled. Please check the following code.

    protected void paint (Graphics graphics) {}
    Super.Paint (Graphics);
    If (myLocation! = null) {}

    Coordinates co = mapField.getCoordinates ();
    co.setLatitude (Double.parseDouble (myLocation.getLat ()));
    co.setLongitude (Double.parseDouble (myLocation.getLng ()));
                    
    XYPoint point = new XYPoint();
    mapField.convertWorldToField (co, point);
                    
    Image bitmap bitmap = Bitmap.getBitmapResource (myLocation.getImageName ());
    graphics.drawBitmap (point.x, point.y, bitmap.getWidth (), bitmap.getHeight (), bitmap, 0, 0);

    }

    }

  • How to use different colors or shape BOF markers inside the map?

    I'm building a CRG app to view the GPS location based using google maps and oracle. I want to use markers with different colors to show several locations with the card. But I'm not able to change the color or shape for the available marker. Can anyone provide another option (such as custom marker) to achieve the same?

    However, you can use different images as follows:

    Note the use of 2 labels different pointLocation/marker in pointDataLayer.

  • Index of the markers of the Viewer?

    In the index of the timeline, you can see the list of markers in the timeline. Is it similar to put in markers Viewer?

    mnstudio wrote:

    In the index of the timeline, you can see the list of markers in the timeline. Is it similar to put in markers Viewer?

    Well, sort of... you can set your browser to display the list and twirl the little open triangles.

    You will see all kinds of things, such as Favorites, keywords, etc..

    There is no way I know of to make sure that you only see the markers.

  • Change the location of several pictures at the same time?

    I see how to change the location of a photo at a time. Is it possible to change the location of several pictures at the same time?

    Thank you

    Phil

    Select the photos and info - enter the location (or any other field of the info) and it is applied to all photos

    This is described in using Photos - a good place to get help with Photos

    View and add information about the photos

    To view or change information for the photos, you select one or more photos, and then open the information window.

    • Open the Info window: Double-click a photo to view it, and then click the Info button in the toolbar or press on command I.
    • Add or change information: Change the following.

      • Title: Enter a name in the title field.
      • Description: In the Description field, type a caption.
      • Favorite: Click the Favorites button to mark the photo as a favorite. Click the button again to deselect.
      • Keywords: Enter the keywords in the keywords field. When you type, Photos suggest keywords that you have used before. Press enter when you have finished a keyword. To remove a keyword, select it and press DELETE.
      • Faces: Click on and type a name to identify a face. Click on several times, and then drag the identifier of the face different faces to identify many faces in a photo.
      • Location: Enter a location in the location field. When you type, Photos suggest places you can choose. To change a location, you can search a different location or change the location by dragging a PIN on the map. To remove location information, delete it or choose Image > location, then choose Remove location or back to the original location. You cannot assign a location if your computer is not connected to the Internet.

    LN

  • Delet several addresses in the drop-down list on the e-mail page

    on the page of the mail, the box where you put the address in I put the first letter of the address and a drop-down list box appears with several address of the person even all but 1 is false. I went to the address book, and there is only one address of this place.
    How can I remove all the wrong address in the drop-down list?
    Thank you
    Herbalifeman

    Look for these wrong email addresses in your address book and remove them.
    Make sure to look in all address books you may have, including the "collected addresses".

  • Devices on all my iCloud preferences says "this device can be used to receive codes of audit ID Apple." How can I change this if at least one, if not several, can receive the verification code?

    Devices on all my iCloud preferences says "this device can be used to receive codes of audit ID Apple." How can I change this if at least one, if not several, can receive the verification code?

    Try to go here and see if you can add them to your Apple ID.

  • I missed the SHIFT key and press several keys in the lower corner of my keyboard LH. Firefox split up into several iterations, and I had to reboot.

    I missed the SHIFT key and press several buttons in the lower left corner of my keyboard. Firefox has lost the tab that I was using and divided into a separate iteration for each other (plus two I had closed). I could not recover and had to close all but one of them and restore all my tabs.

    What I had done and how I should have recovered?

    First, you need to update to Firefox 18.0.1 Firefox updated to the latest version. The version you are on is bug and little course.

    Second, it looks like you may have entered groups of tabs. Use tab groups to organize a large number of tabs is that look familiar?

  • During the closure after a browsing session I find several windows behind the window of the main browser I have not opened and they must be closed individually. What is the cause and how can I stop it?

    During the closure after a browsing session I find several windows behind the window of the main browser I have not opened and they must be closed individually. What is the cause and how can I stop it? Edit

    These windows display ads? They could be 'pop-under' designed to show when you are finished with your main window. Orbitz has these, for example. Irritating. I'm not sure of the best solution, i.e., advertising blocker blocker vs.

    If they are not ads, can you think anyway that they are related to the sites you visit?

    In addition, to close a tab (or window, if there is only one tab), you can press Ctrl + w. could speed up the process of their release until you find a real solution.

  • How can I select more than one bookmark at a time so that I can open and then several bookmarks - without the aggravation of back to the list and selecting and opening each one.

    My dozens of bookmarks, I often want to open 5 or 6 of them at the same time - maybe a couple of weather reports, a couple of radio stations, a couple of other Web sites. But I see no way to do this without laboriously find a bookmark, select it, opening the site, then return to the Favorites, find the second bookmark, select it, open the site and so on. There is probably a way for me to select several independent bookmarks, then open them at the same time. Thanks a lot for your help. Don

    Oh I see, when I read your question, my understanding is that you have Web sites that you are opening regularly you would like to open all at once. This is why I have proposed to create a folder with these specific bookmarks.

    However, your clarification, it seems that you want to open Web sites randomly here and there. So, essentially, you want to SELECT favorite sites and then open them at the same time.

    There is a way to do it. Access your bookmarks by clicking on the menu button drop-down orange Firefox (upper-left). It is:

    • Go to \Firefox\Bookmarks\Show all bookmarks;
    • Click on "Bookmarks Menu" (in the sidebar);
    • Use the CTRL key to select your favorite Web sites.
    • Right click and choose "all open tabs.

    It's always a bit laborious, but it's the easiest way, I could find, especially if you want to open several tabs at the same time.

  • Re: Several questions about the recovery of the Satellite L750 features

    I have several questions about the recovery of Satellite L750 features available to it. Any help and answers would be useful.

    (1) when I started the laptop first, he asked me to create a recovery CD incase I need to reinstall the operating system. But he also said that he built in the recovery partition, so therefore, I have to make a recovery cd or not?

    (2) will be the recovery CD is exactly the same as the recovery on the system partition?

    (3) is the partion of CD or recovery includes all the integrated software pre-installed with the laptop?

    (4) also in the device manage management it shows watch partion recovery but it is empty, is it true?

    (5) in the second partition (drive D) system, he has a record with what looks like the recovery of files and folders. Is it safe to move/remove it?

    Hello

    I'll try to provide answers:
    1 - to ensure that everything works perfectly you don t need these discs, but if something goes wrong with the HARD drive you will not be able to do anything. When you have the recovery DVDs, you will still be able to install the recovery image and once again the factory settings. So my advice to you is: create these discs as soon as possible. Use only on DVD-R media and buy products of high quality (TDK or Verbatim).
    2 - Yes.
    3 - Yes.
    4 - No. Don t be confused with this.
    5. in a first time create restore DVD, and later you can do what you want. I put t know which files mean you but don t touch anything before that of the recovery disks to be created.

    In the past, many people have been experimenting with the structure of HARD drive and partitions and later was surprised when installing disk recovery HARD has been damaged. Don t make the same mistake.

    If you have any other questions you are welcome.

  • How can I delete several images in the Finder at the same time

    How can I delete several images in the Finder all at once rather than one by one

    Click on an image and the successive images to press the SHIFT, or command key by clicking on the image to add it to the selection. Then Ctrl-click (tap two fingers) on any icon and choose to put in the trash. If the icons are in an easily selectable column or online, you can click on the window that contain, and then drag around them for a multiple selection.

  • Safari address bar showing several addresses at the same time

    Anyone else having problems with the address bar. No work to present frequently visited sites and and after visiting the sites manually or via Favorites addresses are crushed between them (showing several addresses at the same time).

    I have the same problem since this morning, after the EL CAPITAN update

  • [ShareIt] I hope that ShareIt can share the files on several receivers at the same time.

    If ShareIt can share the files on several receivers at the same time, it will save a lot of time for me when I want to share files with a group of friends.

    Good idea.

    He will be brought back to the development team.

  • How to get the phone to ring several times before the voicemail picks up

    Is there a setting to let the phone ring several times before the voicemail picks up

    This option will be controlled by your wireless operator. Contact them to determine whether it is possible to change the response time of voicemail.

Maybe you are looking for