TypeScript gives a Object literal may only specify known properties, and 'position' does not exist in type 'FullscreenOptions'.ts(2353) type error unless FullscreenOptions is imported like so:
import { Map, FullscreenOptions } from 'leaflet';
It may be helpful to others if the README is updated to reflect this.
TypeScript gives a
Object literal may only specify known properties, and 'position' does not exist in type 'FullscreenOptions'.ts(2353)
type error unlessFullscreenOptions
is imported like so:import { Map, FullscreenOptions } from 'leaflet';
It may be helpful to others if the README is updated to reflect this.