Example #1
0
        public Map(ViewContext viewContext, IJavaScriptInitializer initializer, IUrlGenerator urlGenerator)
            : base(viewContext, initializer)
        {
            this.urlGenerator = urlGenerator;
            //>> Initialization

            Controls = new MapControlsSettings();

            Layers = new List<MapLayer>();

            Markers = new List<MapMarker>();

            //<< Initialization

            LayerDefaults = new MapLayerDefaultsSettings(this);

            MarkerDefaults = new MapMarkerDefaultsSettings(this);
        }
Example #2
0
File: Map.cs Project: akhuang/Zing
        public Map(ViewContext viewContext, IJavaScriptInitializer initializer, IUrlGenerator urlGenerator)
            : base(viewContext, initializer)
        {
            this.urlGenerator = urlGenerator;
//>> Initialization

            Controls = new MapControlsSettings();

            Layers = new List <MapLayer>();

            Markers = new List <MapMarker>();

            //<< Initialization

            LayerDefaults = new MapLayerDefaultsSettings(this);

            MarkerDefaults = new MapMarkerDefaultsSettings(this);
        }