WMSTileLayerOptions constructor
WMSTileLayerOptions({})
Implementation
WMSTileLayerOptions({
required this.baseUrl,
this.layers = const [],
this.styles = const [],
this.format = 'image/png',
this.version = '1.1.1',
this.transparent = true,
this.crs = const Epsg3857(),
this.otherParameters = const {},
}) {
_versionNumber = double.tryParse(version.split('.').take(2).join('.')) ?? 0;
_encodedBaseUrl = _buildEncodedBaseUrl();
}