MapViewConfigBuilder
Constructor
func NewMapViewConfigBuilder() *MapViewConfigBuilder
Methods
Build
Builds the object.
func (builder *MapViewConfigBuilder) Build() (MapViewConfig, error)
AllLayers
func (builder *MapViewConfigBuilder) AllLayers(allLayers bool) *MapViewConfigBuilder
Id
func (builder *MapViewConfigBuilder) Id(id string) *MapViewConfigBuilder
LastOnly
func (builder *MapViewConfigBuilder) LastOnly(lastOnly bool) *MapViewConfigBuilder
Lat
func (builder *MapViewConfigBuilder) Lat(lat int64) *MapViewConfigBuilder
Layer
func (builder *MapViewConfigBuilder) Layer(layer string) *MapViewConfigBuilder
Lon
func (builder *MapViewConfigBuilder) Lon(lon int64) *MapViewConfigBuilder
MaxZoom
func (builder *MapViewConfigBuilder) MaxZoom(maxZoom int64) *MapViewConfigBuilder
MinZoom
func (builder *MapViewConfigBuilder) MinZoom(minZoom int64) *MapViewConfigBuilder
Padding
func (builder *MapViewConfigBuilder) Padding(padding int64) *MapViewConfigBuilder
Shared
func (builder *MapViewConfigBuilder) Shared(shared bool) *MapViewConfigBuilder
Zoom
func (builder *MapViewConfigBuilder) Zoom(zoom int64) *MapViewConfigBuilder
See also