public MapLayer(Map map) { ViewContext = map.ViewContext; UrlGenerator = map.UrlGenerator; //>> Initialization Style = new MapLayerStyleSettings(); //<< Initialization Tooltip = new MapMarkerTooltip(map.ViewContext, map.Initializer, map.ViewData); }
public MapLayer(Map map) { DataSource = new DataSource(); ViewContext = map.ViewContext; UrlGenerator = map.UrlGenerator; //>> Initialization Style = new MapLayerStyleSettings(); //<< Initialization Tooltip = new MapMarkerTooltip(map.ViewContext, map.Initializer, map.ViewData); }