示例#1
0
        public MapMarkerDefaultsSettings(Map map)
        {
            //>> Initialization

            //<< Initialization
            Tooltip = new MapMarkerTooltip(map.ViewContext, map.Initializer, map.ViewData);
        }
示例#2
0
        public MapMarker(Map map)
        {
            //>> Initialization
        
        //<< Initialization

            Tooltip = new MapMarkerTooltip(map.ViewContext, map.Initializer, map.ViewData);
            HtmlAttributes = new RouteValueDictionary();
        }
示例#3
0
        public MapLayer(Map map)
        {
            ViewContext = map.ViewContext;
            UrlGenerator = map.UrlGenerator;
            //>> Initialization

            Style = new MapLayerStyleSettings();

            //<< Initialization

            Tooltip = new MapMarkerTooltip(map.ViewContext, map.Initializer, map.ViewData);
        }
示例#4
0
        public MapLayerDefaultsSettings(Map map)
        {
            //>> Initialization

            Bing = new MapLayerDefaultsBingSettings();

            Shape = new MapLayerDefaultsShapeSettings();

            Tile = new MapLayerDefaultsTileSettings();

            //<< Initialization

            Marker = new MapLayerDefaultsMarkerSettings(map);
        }
示例#5
0
 /// <summary>
 /// Initializes a new instance of the <see cref="MapHtmlBuilder" /> class.
 /// </summary>
 /// <param name="component">The Map component.</param>
 public MapHtmlBuilder(Map component)
 {
     this.component = component;
 }