MapThemeConfig constructor

const MapThemeConfig({
  1. String tileUrl = 'https://tile.openstreetmap.org/{z}/{x}/{y}.png',
  2. String userAgent = 'com.risto.library',
  3. Color backgroundColor = const Color(0xFFE0E0E0),
  4. bool retinaMode = true,
  5. Map<String, String>? additionalHeaders,
})

Implementation

const MapThemeConfig({
  // Standard OSM (Development only - triggers warning)
  this.tileUrl = 'https://tile.openstreetmap.org/{z}/{x}/{y}.png',
  this.userAgent = 'com.risto.library',
  this.backgroundColor = const Color(0xFFE0E0E0),
  this.retinaMode = true,
  this.additionalHeaders,
});