// <inheritdoc /> public IMapLayer CreateMapLayer(int id) { var mapLayer = _mapFactory.CreateLayer(this, id); _layers.TryAdd(id, mapLayer); if (DefaultMapLayer == null) { DefaultMapLayer = mapLayer; } return(mapLayer); }
// <inheritdoc /> public IMapLayer CreateMapLayer(int id) { var mapLayer = _mapFactory.CreateLayer(this, id); _layers.TryAdd(id, mapLayer); if (DefaultMapLayer == null) { DefaultMapLayer = mapLayer; } return(mapLayer); }