Jump to content

Recommended Posts

Posted
1 hour ago, KingOrmon said:

Hi,

 

how can I add LeadLet.draw to TuniMap.

It allows, free draw lines, polygon,... get area...

Hello

With your other topic, i will add leaflet draw to unimap.

  • 2 weeks later...
  • 3 weeks later...
  • 2 weeks later...
Posted
4 hours ago, KingOrmon said:

Hi Hayri

I see how get area, how can I get perimeter ?

Thank you

Hello

I implemented one of the code that you sent me for area.

Do you have example of what you want? So I can add it

  • 2 weeks later...
Posted

No, btw

When you restore a map polygon from database, How can I make these points editable ?

Using this code:

with UniMap1.Vectors.Add do
  begin
     AddPoint(38.264225, -1.554657);
AddPoint(38.262325, -1.556964);
...

    VectorType:=mvPolygon;
    Popup.content:='C';

    AddToMap;
    FitBounds;
    OpenPopup;

  end;

 

Draw polygon in Map but I cannot edit or delete it.

Posted
1 hour ago, KingOrmon said:

No, btw

When you restore a map polygon from database, How can I make these points editable ?

Using this code:

with UniMap1.Vectors.Add do
  begin
     AddPoint(38.264225, -1.554657);
AddPoint(38.262325, -1.556964);
...

    VectorType:=mvPolygon;
    Popup.content:='C';

    AddToMap;
    FitBounds;
    OpenPopup;

  end;

 

Draw polygon in Map but I cannot edit or delete it.

Hello

Set editable := true

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...