Use useMapModelValue instead.
React hook that looks up the map with the given id in the map.MapRegistry service.
Returns an object representing the progress, which will eventually represent either the map model value or an initialization error.
The map model cannot be returned directly because it may not have completed its initialization yet.
An error message will be logged if the map model's creation has failed.
Use the option quiet: true to suppress this message.
React hook that resolves a map model specified by the given props.
Returns an object representing the progress, which will eventually represent either the map model value or an initialization error.
The map model cannot be returned directly because it may not have completed its initialization yet.
An error message will be logged if the map model's creation has failed.
Use the option quiet: true to suppress this message.
React hook that returns the default map model (if available, see DefaultMapProvider).