Exemple #1
0
        /// <summary>
        /// Creates a new feature layer for visualizing a map based of tiles.
        /// </summary>
        /// <param name="Id">The unique identification of the layer.</param>
        /// <param name="ZIndex">The Z-Index of the layer.</param>
        /// <param name="MapControl">The MapControl of the layer.</param>
        private TilesLayer(String Id,
                           Int32 ZIndex,
                           MapControl MapControl)

            : base(Id, MapControl, ZIndex)

        {
            // Do not react on mouse events!
            IsHitTestVisible     = false;
            TilesClient          = new AegirTilesClient();
            AutoTilesRefreshLock = new Object();
        }
Exemple #2
0
 /// <summary>
 /// Creates a new feature layer for visualizing a map based of tiles.
 /// </summary>
 /// <param name="Id">The unique identification of the layer.</param>
 /// <param name="ZIndex">The Z-Index of the layer.</param>
 /// <param name="MapControl">The MapControl of the layer.</param>
 private TilesLayer(String      Id,
                    Int32       ZIndex,
                    MapControl  MapControl)
     : base(Id, MapControl, ZIndex)
 {
     // Do not react on mouse events!
     IsHitTestVisible      = false;
     TilesClient           = new AegirTilesClient();
     AutoTilesRefreshLock  = new Object();
 }