/// <summary>
        /// constructor alleen voor unit-testing, moet wel gerefactored worden
        /// https://github.com/MannusEtten/BikeTouringGIS/issues/83
        /// </summary>
        internal BikeTouringGISMapViewModel(bool createMap) : this()
        {
            _map = new Map();
            var poiLayer = new PointsOfInterestLayer("Points of Interest");

            _map.Layers.Add(poiLayer);
            _pointsOfInterestLayer = poiLayer;
            LayerLoaded(_pointsOfInterestLayer);
            MapView = new MapView()
            {
                Map = _map
            };
        }
 private void SetupMap()
 {
     if (!_mapSetupIsDone)
     {
         ShowOpenCycleMap       = true;
         ShowOpenStreetMap      = false;
         ShowKnooppunten        = false;
         _pointsOfInterestLayer = new PointsOfInterestLayer("Points of Interest");
         _map.Layers.Add(_pointsOfInterestLayer);
         _map.Layers.ForEach(x => x.ShowLegend = false);
         _mapSetupIsDone = true;
     }
 }