commonMain.org.jetbrains.letsPlot.gis.tileprotocol.TileLayerBuilder.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of gis Show documentation
Show all versions of gis Show documentation
A part of the Lets-Plot library.
/*
* Copyright (c) 2019. JetBrains s.r.o.
* Use of this source code is governed by the MIT license that can be found in the LICENSE file.
*/
package org.jetbrains.letsPlot.gis.tileprotocol
class TileLayerBuilder {
var name = "NoName"
var geometryCollection = GeometryCollection.createEmpty()
var kinds = emptyList()
var subs = emptyList()
var labels = emptyList()
var shorts = emptyList()
var layerSize = 0
fun build(): TileLayer {
return TileLayer(
name,
geometryCollection,
kinds,
subs,
labels,
shorts,
layerSize
)
}
}