Topic: MAP

Hello MVD!

As promised by MVD to have a function to draw a polygon in the MAP, may i know when it is available?

Thanks in advance to MVD! specially to dmitry.

manixs!

Re: MAP

Hello.


After I added Map component to MVD, I see that people do not show much interest in it. In the moment I don't know, when I add this possibility.

Dmitry.

3 (edited by manixs2013 2018-05-15 07:52:10)

Re: MAP

No Dmitry! If you add it on the MVD specially because of me, i will buy it. This is a big big "HELP" to  with my project!

Re: MAP

I hope you can do it dmitry. I hope there is polygon, polylines and layering...

Thanks!

Re: MAP

I will try to do it using script.

Dmitry.

6 (edited by manixs2013 2018-05-18 06:39:50)

Re: MAP

I will wait for that sir. Thanks a lot!

And you can have your vacation here in the Philippines at Coron, Palawan in the HOTEL of my brother for 2 days and 1 night for free. There is a lot of beautiful beaches there that you can relax.!

Re: MAP

Please download latest beta version
https://www.dropbox.com/s/5x7vjreoju45z … a.zip?dl=0


Two examples, how to draw lines and polygons on the map, and how to store and show path and polygon on the map.
http://myvisualdatabase.com/forum/viewtopic.php?id=4286

Dmitry.

Re: MAP

Hello MVD..  This is a BIG WOW to MVD. I hope you can also include heat MAP.

Thanks a lot!

Re: MAP

manixs2013 wrote:

Hello MVD..  This is a BIG WOW to MVD. I hope you can also include heat MAP.

Thanks a lot!

This component is not support heat map.

Dmitry.

Re: MAP

DriveSoft wrote:
manixs2013 wrote:

Hello MVD..  This is a BIG WOW to MVD. I hope you can also include heat MAP.

Thanks a lot!

This component is not support heat map.

**
But it also important sir.

11 (edited by manixs2013 2018-05-24 09:18:23)

Re: MAP

Hello MVD.

How to add node or path on the existing polygons and lines or even edit the existing polygons and lines.. If ever, how to change the color of the lines and polygons. I hope MVD you can do a detailed example of it.

This questions refers to the Example with database.

Pls. help

Thanks MVD!

manixs

Re: MAP

manixs2013 wrote:

Hello MVD.

How to add node or path on the existing polygons and lines or even edit the existing polygons and lines.. If ever, how to change the color of the lines and polygons. I hope MVD you can do a detailed example of it.

This questions refers to the Example with database.

Pls. help

Thanks MVD!

manixs


How to change route:

1. Create route

procedure Form1_Button2_OnClick (Sender: TObject; var Cancel: boolean);
var
    PolylineItem: TPolylineItem;
begin
    PolylineItem.Polyline.Path.Add(48.9, 2.26);
    PolylineItem.Polyline.Path.Add(48.8, 2.4);
    PolylineItem.Polyline.Path.Add(48.77, 2.5);
    Form1.Map1.CreateMapPolyline(PolylineItem.Polyline);
end;

2. Edit route

procedure Form1_Button4_OnClick (Sender: TObject; var Cancel: boolean);
var
    PolylineItem: TPolylineItem;
    PathItem: TPathItem;
begin
    // change first point of route 48.9, 2.26 to 50, 3 
    PolylineItem := Form1.Map1.Polylines[0];
    PathItem := PolylineItem.Polyline.Path[0];
    PathItem.Latitude := 50;
    PathItem.Longitude := 3;
    Form1.Map1.UpdateMapPolyline(PolylineItem.Polyline);
end;


colors for lines

    PolylineItem.Polyline.Color := clBlack;    //The color of the polyline.
    PolylineItem.Polyline.HoverColor := clRed; //The color of the polyline when hovered.
    PolylineItem.Polyline.Opacity := 50;       //The opacity of the polyline.

colors for polygons

    PolygonItem.Polygon.BackgroundOpacity := 50;    //The opacity of the polygon.
    PolygonItem.Polygon.BorderWidth := 2;           //The width of the polygon border in pixels.
    PolygonItem.Polygon.BackgroundColor := clBlack; //The color of the polygon.
    PolygonItem.Polygon.BorderColor := clRed;       //The border color of the polygon.
    PolygonItem.Polygon.BorderOpacity := 50;        //The border opacity of the polygon.
    PolygonItem.Polygon.HoverBackgroundColor := clGreen;  //The color of the polygon when hovered
    PolygonItem.Polygon.HoverBorderColor := clRed;  //The border color of the polygon when hovered
Dmitry.