MapOptions constructor 
    
      
      MapOptions({ - required int mapID, 
 
- required String token, 
 
- required Environment environment, 
 
- LocationSource locationSource = LocationSource.GPS, 
 
- bool offlineMode = false, 
 
- String? offlineZipFileName = "", 
 
- String rasterZipFileName = "", 
 
- bool useJPGImageForVPS = true, 
 
- int jpgImageCompressionQuality = 70, 
 
- bool convertVPSImagesToGrayScale = false, 
 
- int conveyingDetectorDuration = 3, 
 
- double elevatorBufferRadius = 5, 
 
- double linearConveyingBufferOffset = 2, 
 
- VisualDebuggerConfig visualDebuggerConfig = VisualDebuggerConfig.disabled, 
 
})
    
    
    
  Implementation
  MapOptions(
    {required this.mapID,
    required this.token,
    required this.environment,
    this.locationSource = LocationSource.GPS,
    this.offlineMode = false,
    this.offlineZipFileName = "",
    this.rasterZipFileName = "",
    this.useJPGImageForVPS = true,
    this.jpgImageCompressionQuality = 70,
    this.convertVPSImagesToGrayScale = false,
    this.conveyingDetectorDuration = 3,
    this.elevatorBufferRadius = 5,
    this.linearConveyingBufferOffset = 2,
    this.visualDebuggerConfig = VisualDebuggerConfig.disabled}) {
  if (environment == Environment.DEV) {
    baseURL = "https://apidev.maaap.it/";
  } else if (environment == Environment.PROD) {
    baseURL = "https://api.getwemap.com/";
  }
}