Need box Lat Long in MapField OS6.0

Hello world

I want to find the left, right, up, card low latitude longitude,

I used the MapDimentions and MapField API 6.0.

Using,

mapDimentions.getbottom (); It will give me the lower coordinate. or as getleft, gettop...

but it will not change when I moved to the card.

I need a coordinated box or lat lon(all four) and also, this will change when the card installs...

Thank you

Here's the first corner:

//Just creating a new Coordinates object, the values don't matter
Coordinates topLeft = new Coordinates(0,0,Float.NaN);
//The field point in pixels that you want to convert, this is where you put your four corners
XYPoint coords = new XYPoint(0, 0);convertFieldToWorld(coords, topLeft);

After this topLeft will be your latitude and longitude of the upper-left corner of your map. I hope this helps!

Tags: BlackBerry Developers

Similar Questions

  • Custom for Lat/Long text field format

    I am new to the creation of PDF files and did not JavaScript for 10 years.

    I was hoping that someone would be able to provide the custom format script required format a text field for Lat/Long in DMS (e.g. 70 ° 12' 34 "W).

    Short, someone at - it a custom format script I could go and change?

    Thanks in advance!

    Try calling the function shown below in the latitude or custom Format script longitude field. This function is intended to be placed in the form of script at the level of the document.

    As a custom Format to the text box script, use the following:

    For Longitude field

    dd_to_dms (true);

    -OR-

    For Latitude field

    dd_to_dms (false);

    I was liberal with the comments in the hope of equivocation. What I have not done is a kind of data validation. The field entry is supposed to be a number that makes sense (for example, to +/-180 for longitude, +/-90 for latitude). You can add a custom script to strike to limit the entry of a number and a Validation script to check its value. He rounds as second to the second, but this could be changed if you need fractional part for seconds. Post again if you have any questions.

    function dd_to_dms (isLong) {}

    Custom Format script for text acroform field
    Convert lat/long values from decimal to degrees, Minutes, seconds
    ' DDD.dddd-> () [DD] D [M] I S [S] "N | S | E | W
    isLong: latitude, longitude = true = false

    Field blank if no entry
    If (! event.value) {}
    Event.Value = "";
    return;
    }

    Get the field as a number entry
    var val = + event.value;

    var cd, t, degrees, minutes, seconds;

    Determine what cardinal to display
    If (isLong) {}
    CD = (val< 0)="" "w"="" :="">
    } else {}
    CD = (val< 0)="" "s"="" :="">
    }

    To make the number positive
    Val = Math.abs (val);

    degrees = part of the input value
    degrees = val | 0;

    Download fractional part
    t = val 1.0%;

    minutes = fully part of (fractional part * 60)
    t = t * 60;
    minutes = t | 0;

    seconds = fully part of (the fractional part of previous * 60)
    t = t % 1.0;
    seconds = (t * 60) | 0;

    Display in the field
    Event.Value = degrees + '\u00b0' + minutes + "'"+ seconds + "\" "+ cd;»
    }

  • Lat Long view on map

    Dear all,

    I need to display lat/long of my base map when no themes are added.

    Please answer. It is very urgent.

    Thank you and best regards,

    Hi Neha,
    Take a look in the demo «map event listeners» Oracle cards You can find how to put in place the headphones for mouse events, including the mouse above to show the location of the map.

    Best regards.

    João

  • How cancel a monthly fee for storage space I need is no longer? Does anyone know how to do this?

    How cancel a monthly fee for storage space I need is no longer? Does anyone know how to do this?

    You can change the storage volume by selecting a new plan directly from your iPhone, iPad, iPod, Mac or PC (for example, a plan of 5 GB to replace a 200 GB plan). The downgrade will take effect after the end of your monthly or annual subscription in progress.

    iOS


    1. If you use the iOS 8 or laters, go to settings > iCloud > storage. If you are using an older version of iOS, go to settings > iCloud > storage and backup.
    2. Click Change storage Plan.
    3. Press Downgrade Options and enter your Apple ID.
    4. Choose a different plan to use when the expiration of your current storage plan.
    5. Tap done.


    OS X


    1. Choose the Apple menu > System Preferences, and then click iCloud.
    2. Click on manage in the lower corner on the right.
    3. In the upper right corner, click Change storage Plan.
    4. Click Options to Downgrade.
    5. Enter your Apple ID password, then click on manage.
    6. Choose a different plan to use when the expiration of your current storage plan.
    7. Click done.
  • How to remove missing references and audio files or instruments that popup at launch I need is no longer?

    How to remove missing references and audio files or instruments that popup at launch I need is no longer?

    For audfio missing files: go to the Project Audio Bin, mouse control select unused , and then press DELETE. And then click Save.

    Missing instruments or plugins, go to your mixer and remove/Exchange any plugins that have a '!"in all of their slot. And then click Save.

  • Lat/Long to UTM or MGRS conversion

    Has anyone written a Labview application that converted to Lat/Long to UTM or MGRS

    If you know the conversion of Lat/Long, the algorithm to allow the conversion and we can try to help you get into the format of LabVIEW. If you do not know an algorithm, you can always try looking for examples to http://www.ni.com/community.  Good luck!

  • To view all of the content of this document, you need a later version of the PDF Viewer.

    I'm tryinbgn to read some PDFs on a website but get this message"

    To view all of the content of this document, you need a later version of the PDF Viewer. '


    I have the most updated version and another pdf on the site opened just well... suggestions?


    Hi richardr32727316 ,

    Please provide the exact point of the software & OS installed on your system

    Would you please check with different Internet browser.

    Also to disable the firewall & security services to reproduce the problem.

    This phenomenon occurs with all documents or with other institutions.

    Please refer to this article:- https://helpx.adobe.com/acrobat/kb/pdf-browser-plugin-configuration.html

    I would like to know if it works.

    Kind regards

    Christian

  • If Im pretty well shut down all my freelance work now that my job is very time consuming so I need is no longer the creative suite on my laptop, but my wife who is a teacher, he needs. We want to take advantage of the lower prices for teachers and studen

    If Im pretty well shut down all my freelance work now that my job is very time consuming so I need is no longer the creative suite on my laptop, but my wife who is a teacher, he needs. We want to take advantage of the lower prices for students and teachers are so I remove all and close my account and start a new account etc. under my married name?

    Hi Jason,

    You can contact Adobe sales.

    Contact us | Adobe

    It could be useful!

    Rayyan

  • Cannot open a pdf file from the website of immigration canada. Gets a message - you need a later version of the same player after update still not working

    Cannot open a pdf file from the website of immigration canada. Gets a message - you need a later version of the same player after update still not working

    10 Windows Internet Explorer with the Acrobat Reader plugin is available.

  • I'm filling out a form that is available on a site. When I click on the option to fill out and submit the form 'online' a pdf document is displayed in chrome with the following text "to display all of the content of this document, you need a later version

    I'm filling out a form that is available on a site. When I click on the option to fill out and submit the form 'online' a pdf document is displayed in chrome with the following text

    «To display all of the content of this document, you need a later version the viewer PDF.» You can upgrade to the latest version of Adobe Reader from www.adobe.com/products/acrobat/readstep2.html for further support, go to www.adobe.com/support/products/acrreader.html"

    Needless to day, I installed the latest version. I even reinstalled using the link in the message, but nothing helped. Whenever I click on the link to go forward, I get the same message. Question: (i) is it my PC/software (Vista), (ii) is the site where I'm trying to submit the form, or (iii) is it the software acrobat reader. Note that I used successfully the last version to fill out and sign forms.

    It is none of them. It's Chrome, which is ignoring Adobe Reader and showing the message.

    Solution: just save the document (with the message) to your desktop. Then open it in Adobe Reader. The 'real' should then display.

  • Oracle Spatial function to find the closest channel line according to lat/long

    Hello

    Here's my scenario. I have a table that contains the geometries of type line (road network) channels. The line geomteries are of type Ohio state South (SRID 41104) plan.
    I have a requirement - given a lat/long, find the string line that aligns with this lat/long or the nearest set of strings of line at 0.02 miles.
    It is a typical example of an attempt to identify an accident on our road network situation. Accidents reported us in lat/long through the GPS system.
    How can I achieve this through any space function?

    Thanks for the help in advance.

    Thank you
    L.

    Hello L,

    SELECT
      r.
    FROM
      roadsegments r
    WHERE SDO_NN(r.geometry,
                 sdo_geometry(2001, 41104, sdo_point_type(lat,lon,NULL), NULL, NULL),
                 'sdo_num_res=2 distance=0.02 unit=mile') = 'TRUE';
    

    This will give you the two segments of road nearest you at 0.02 miles. See [url http://docs.oracle.com/cd/E11882_01/appdev.112/e11830/sdo_operat.htm#i78067] documentation on the operator SDO_NN, especially the bit about the use of the index indicator.

    HTH,
    Stefan

  • Password box no longer works.

    Latest update Firefox deleted or disabled my Inbox password, with which I store all of my passwords. Currently, with a choice between dumping password box or my beloved Firefox, I would dump Firefox because ALL my passwords are there. This is the worst reason to migrate to Google Chrome, I hate and avoid almost as much as MS IE, to use them only when absolutely necessary. Firefox tries to make it unpleasant?

    Hi Charles, PasswordBox unfortunately not updated to work with Firefox 40 (last update was in May). The former used extension module 'widget' to add the button to the toolbar and the module no longer exists in Firefox.

    Function of a user in another thread, McAfee said that they are aware and working on an update, but no time was given.

    If your online life cannot continue without PasswordBox, you may need to do one of the following for now:

    (1) use a different browser for sites where you need PasswordBox to open session

    (2) selector to use regular Firefox using the version with Extended Support Release of Firefox, which is designed for companies, but works on all versions of Windows 8.1 (all ESR: http://www.mozilla.org/firefox/organizations/); or

    (3) go to Firefox 39.0.3, bearing in mind security issues (install an older version of Firefox).

  • How to downgrade my iCloud upgrade? I need is no longer the additional storage space. I tried on my devices, but it still says that my current plan is 50 GB at $0.99

    I have tried to downgrade my storage in iCloud on my devices, but always says that I pay for $0.99 50 GB upgrade

    Is no longer need her so, how can I stop these payments?

    You can decrease the amount of storage by selecting a new plan directly from your iPhone, iPad, iPod, Mac or PC (for example, a plan of 5 GB to replace a 200 GB plan). The downgrade will take effect after the end of your monthly or annual subscription in progress.

    iOS

    1. If you use the iOS 8 or laters, go to settings > iCloud > storage. If you are using an older version of iOS, go to settings > iCloud > storage and backup.
    2. Click Change storage Plan.
    3. Press Downgrade Options and enter your Apple ID.
    4. Choose a different plan to use when the expiration of your current storage plan.
    5. Tap done.

    OS X

    1. Choose the Apple menu > System Preferences, and then click iCloud.
    2. Click on manage in the lower corner on the right.
    3. In the upper right corner, click Change storage Plan.
    4. Click Options to Downgrade.
    5. Enter your Apple ID password, then click on manage.
    6. Choose a different plan to use when the expiration of your current storage plan.
    7. Click done.
  • clock in the notifications box no longer displays the date beneith the time

    Series HP Pavilion HPE h8 - 1360t running Win 7

    When I ran Setup and decided that I needed to install the software, I notice that the date is now displayed in the tray under the era.  I was happy that I is no longer my clock application to display the date.

    Now that I've installed all the updates and my usual software, the clock in the notification area displays only the time.  The date seems to have disappeared.

    I don't know what I've done or installed to make it disappear.  I can't find a way to recover.

    Is there a software switch somewhere that turns on the display of the date of the clock?

    Normally, the 'taskbar' are a height of 'one'... the time is displayed. If you unlocked the "taskbar" and stretch up to a height of 'two'... the time, day and date will be displayed. Thereafter, be sure to lock the taskbar to prevent change.

    Please send Bravo

  • With the help of lat long with corresponding axis imaq

    I'm unable to associate the values long lat to imaq image action, firstly the imaq has coordinated with top indirect reference to we y-axis downwards which is opposite to the values of freedom. Secoundly, I am unable to change the value of origion no matter what value other then (0,0). Can someone help me or provide any guidance in this Read...

    I developed a relevant solution using various resources, a screenshot is attached if everyone is faced with a relevant problem

Maybe you are looking for

  • where the button go?

    My "Write" page looks nothing like yours. I use to have a button join... can't find now... want to attach photos.

  • start the internal dvd

    Hello I have a hp EliteBook 8570w with Bios version 68IAV worm. F.40 I try to boot from the CD/DVD internal rom, but the only option allotted me in 'Legacy Boot Order' is USB-CDROM. How can I choose or add my internal DVD player in the options? Thank

  • Not enough disk space on drive C

    I get the "low disk space" message on the C drive and used cleaning disc with minimal results. It shows 1.04 GB in "Temporary files", but even if it is checked that this space is not released. It is 55.6 GB C drive and only 500 MB of free space. I ha

  • Movie Maker error: cannot save the movie to the specified location.

    When I wanted to save my movie on my computer, I received an error at 0%, it is said: "Windows Movie Maker cannot save the movie to the specified location. Verify that the original source files used in your movie are still available, that the backup

  • Cannot delete Hisory in the address/location Bar bar

    I am slot Internet Explorer 8 on a 32-bit Windows Vista laptop "Home Basic" with Service Pack 2 installed. No matter what I do, the 'story' won't delete my history drop-down list in the address bar. I tried:-Deletion of the history (cookies, all)-Aff