void HandleClusterStateChange() { if (showClusters != lastClusterActiveState) { SceneMapDisplay.ToggleClusters(showClusters); lastClusterActiveState = showClusters; } }
public void LoadMap() { map = Map.LoadMap(mapName); graph = new Graph(map, layers, clusterSize); // TODO: update camera default position SceneMapDisplay.SetMap(map); SceneMapDisplay.DrawClusters(map, graph.C.LastOrDefault()); SceneMapDisplay.ToggleClusters(showClusters); }