Ejemplo n.º 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);
        }
Ejemplo n.º 2
0
Archivo: Map.cs Proyecto: 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);
        }