Topic: MAP

Hello Wizards!

Is there a way to have a (hint/ show hint) on the created polygon or polyline once click as quick identification ?

Pls help

Thanks!

Re: MAP

Hello.


procedure frmRegion_MapRegion_OnPolygonClick (Sender: TObject; IdPolygon: Integer; MouseLeft, MouseRight, MouseMiddle: boolean);
var
    x, y: integer;
begin
   if MouseLeft then
   begin
       GetCursorPos(x, y);
       ShowHint(frmRegion.MapRegion, 'Your info', x, y);
   end;
end;
Dmitry.

Re: MAP

wow thanks MVD!