Returns the configured map model.
The map model is either directly configured or specified via a DefaultMapProvider. If neither has been specified, an error will be thrown.
This hook is preferable to useMapModel because it can return the map model directly, without waiting.
Optional
Returns the configured map model.
The map model is either directly configured or specified via a DefaultMapProvider. If neither has been specified, an error will be thrown.
This hook is preferable to useMapModel because it can return the map model directly, without waiting.