[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[IDV #YXL-140187]: get Coordinates with another way



> Full Name: Romain
> Email Address: address@hidden
> Organization: ubo
> Package Version:
> Operating System:
> Hardware:
> Description of problem:
> 
> Hello,
> 
> I'm a computer scientist and I work on IDV on linux.
> 
> I'm trying to create a JTextField into the sideLegend class who will
> contain the coordinates value (I know that the little label on the bottom
> of the map do this but it's not like I want).
> 
> But I don't succeed how to get these coordinates.
> 
> I saw the 'getLocation()' method in the MultiFrame class but it doesn't
> work cause of (non)static methods/attributs.
> 
> Same for "getLocation()" in CursorMoveEvent class.
> 
> So, do you know how to get these coordinates ?
> 
> Thanks in advance
> 
> 
You can take a look at ProbeControl.java, we did post lat/lon for a certain 
type of display.
But your description is for general control and this might be a challenging 
task.

Yuan

Ticket Details
===================
Ticket ID: YXL-140187
Department: Support IDV
Priority: Normal
Status: Open
===================
NOTE: All email exchanges with Unidata User Support are recorded in the Unidata 
inquiry tracking system and then made publicly available through the web.  If 
you do not want to have your interactions made available in this way, you must 
let us know in each email you send to us.

Attachment: Screen Shot 2021-03-08 at 4.36.11 PM.png
Description: PNG image