mapguide-react-layout icon indicating copy to clipboard operation
mapguide-react-layout copied to clipboard

Tooltip at the cursor

Open karunainfotech opened this issue 7 years ago • 3 comments

Hello Jackie:

I am loading the tool tip on the polygon, but the tool tip is loading very far away the polygon or mouse. Can we have a change to the left and top of the tool tip header so that i starts from the place of pointer. Attached is the screen shot for reference:

test

karunainfotech avatar Feb 06 '18 10:02 karunainfotech

I'll put it under consideration

jumpinjackie avatar Feb 06 '18 10:02 jumpinjackie

Thank you Jackie:

We would like to display tooltip with an arrow pointing at mouse cursor position.

I have changed the top and left positions of the header part of tooltip using CSS in the aqua.html.

Initially, tooltip is taking mouse cursor top and left position from viewer.js and tooltip is shown little away from mouse cursor as shown in attached image (Tooltip pointing to Plot No H-44 incorrectly instead of H-45).

Pls make provision in viewer.js to take mouse cursor top and left position so that tooltip will display correctly even for the first time.

tooltip_pointer

On mouse movement to next feature, Tooltip is showing correctly at the mouse cursor.

tooltip ok

Also observed tooltip is refreshing once without any mouse movement.

Kindly observe the behavior in url below:

http://183.83.218.176/REGEN/viewer/aqua.html?resource=Library%3a%2f%2fREGEN%2fLAYOUT%2fREGEN3.ApplicationDefinition&action=zoom&LAYERNAME=RIICO_IA_BOUNDARY&KEYNAME=FeatId&KEYVALUE=371911&ISSTRING=false&SECONDKEYNAME=IA_NAME&SECONDKEYVALUE=BAP&CLEAR=1&type=nl&x=72.3796609616012&y=27.3801697290273

Thanks for all the help KK

karunainfotech avatar Feb 07 '18 09:02 karunainfotech

Hi Jackie,

It will be a help if you can expedite fix in showing the tooltip onclick .

Thanks, KK

karunainfotech avatar Mar 08 '18 10:03 karunainfotech