All Downloads are FREE. Search and download functionalities are using the official Maven repository.

commonMain.org.jetbrains.letsPlot.gis.tileprotocol.TileLayerBuilder.kt Maven / Gradle / Ivy

There is a newer version: 4.4.1
Show newest version
/*
 * 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
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy