Quantcast
Channel: DotSpatial Issue Tracker Rss Feed
Viewing all articles
Browse latest Browse all 1128

Created Unassigned: Screen Flickering [25591]

$
0
0
Dear all,

I've created an IMapFeatureLayer with a single feature, which has a point as its coordinate in a featureset. The image shows on the screen perfect. But as soon as I update the coordinates of the existing featureset (or ANY featureset for that matter ) the screen flickers white (probably the map's background) before showing the updated coordinates.

```
DotSpatial.Topology.Coordinate c = new DotSpatial.Topology.Coordinate(longitude, latitute);
//DotSpatial.Topology.Point point = new DotSpatial.Topology.Point(c);
foreach (IFeature feature in pointCoords.Features)
{
feature.Coordinates[0] = c;
}
```

This is usually not a problem if you only update like once a minute, but I've hooked up a GPS to an image , so it flickers all the time ( that is , as soon as a new position is received ( once a second)). Can someone point me in the right direction. I must be doing something wrong. Why is this happening ?

Viewing all articles
Browse latest Browse all 1128

Trending Articles