Quantcast
Viewing all articles
Browse latest Browse all 2341

New Post: Problem Shapes with Images (GPX base map) no databases in Delphi XE3 version 4.9.3.1

Regarding missing trace: gpx file can have several layers. It seems that only the first layer is opened now. I tested new installer, and all layers are still opened for me. As a workaround try to use:
var ds = new OgrDatasource();
if (ds.Open(path))
{
    for (int i = 0; i < ds.LayerCount; i++)
    {
        var layer = ds.GetLayer(i);
        Map1.AddLayer(layer, true);
    }
}

Viewing all articles
Browse latest Browse all 2341

Trending Articles