1
Vote

LineString Doesn't Draw Properly

description

Using SVN trunk modify the GeometryLayerTest so it contains:
 
        //Equator is drawn on a PanOnly GeometryLayer
        GeometryLayer panOnlyLayer = new GeometryLayer(map) { UpdateMode = GeometryLayer.UpdateModes.PanOnlyUpdate };
        panOnlyLayer.Opacity = 0.5;
        map.Layers.Add(panOnlyLayer);
        LineString line = new LineString();
        panOnlyLayer.Add(line);
        line.Points.Add(new Point(-110.5, 32.5));
        line.Points.Add(new Point(0, 53.5));
        line.LineThickness = 4;
        line.LineColor = Colors.Orange;
        System.Windows.Controls.ToolTipService.SetToolTip(line, "Tucson-Hull");
 
Zoom in to the Arizona end of the line. At around 1:60000 the line switches directions. Panning and zooming in further causes the line to disappear.

comments