getMapOptions method
Returns the configured MapOptions for this map.
On web, the options come from the live GL JS map state. size is the
size of the map container, and pixelRatio is the browser device pixel
ratio. constrainMode is always ConstrainMode.HEIGHT_ONLY,
orientation is always NorthOrientation.UPWARDS, viewportMode is
always ViewportMode.DEFAULT, and crossSourceCollisions is always
true. glyphsRasterizationOptions is always null, and the GL JS default
local font options apply. contextMode is always null.
Implementation
Future<MapOptions> getMapOptions() => _impl.getMapOptions();