Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
get mapType() {
// MapKit does not support 'none' as a base map
return this.props.provider === PROVIDER_DEFAULT ? MAP_TYPES.STANDARD : MAP_TYPES.NONE;
}
get mapType() {
// MapKit does not support 'none' as a base map
return this.props.provider === PROVIDER_DEFAULT ? MAP_TYPES.STANDARD : MAP_TYPES.NONE;
}
get mapType() {
// MapKit does not support 'none' as a base map
return this.props.provider === PROVIDER_DEFAULT
? MAP_TYPES.STANDARD
: MAP_TYPES.NONE;
}
get mapType() {
// MapKit does not support 'none' as a base map
return this.props.provider === PROVIDER_DEFAULT
? MAP_TYPES.STANDARD
: MAP_TYPES.NONE;
}