Beispiel #1
0
        private void SetCurrentNode(string nodeId)
        {
            Mapsui.Geometries.Point nodePoint = nodeChooser.TilesHolder.GetNodePoint(nodeId);
            MyMapControl.Navigator.NavigateTo(nodePoint, 1);
            UpdatePinLayer(nodePoint);
            walker.CurrentNodeId = nodeId;

            Console.WriteLine("Point is now {0} at {1}", nodeId, nodePoint.ToString());
        }