ControlsOptionsBuilder
Constructor
func NewControlsOptionsBuilder() *ControlsOptionsBuilder
Methods
Build
Builds the object.
func (builder *ControlsOptionsBuilder) Build() (ControlsOptions, error)
MouseWheelZoom
let the mouse wheel zoom
func (builder *ControlsOptionsBuilder) MouseWheelZoom(mouseWheelZoom bool) *ControlsOptionsBuilder
ShowAttribution
Lower right
func (builder *ControlsOptionsBuilder) ShowAttribution(showAttribution bool) *ControlsOptionsBuilder
ShowDebug
Show debug
func (builder *ControlsOptionsBuilder) ShowDebug(showDebug bool) *ControlsOptionsBuilder
ShowMeasure
Show measure
func (builder *ControlsOptionsBuilder) ShowMeasure(showMeasure bool) *ControlsOptionsBuilder
ShowScale
Scale options
func (builder *ControlsOptionsBuilder) ShowScale(showScale bool) *ControlsOptionsBuilder
ShowZoom
Zoom (upper left)
func (builder *ControlsOptionsBuilder) ShowZoom(showZoom bool) *ControlsOptionsBuilder
See also