imageProvider
Renders content into ImageProvider to use it as map object icon.
Size of the result image is the size of the content measured without constraints, so content should have intrinsic size. Content is composed in compose-ui composition, inherits composition locals of the caller and is re-rendered on every content state change.
Returns null until content is rendered for the first time.
Content stays composed while the caller is composed, so avoid infinite animations in it and prefer sharing one image provider between map objects with the same content.
Requires ComposeMapObjectRendererHost in compose-ui composition, YandexMap provides it for its own content.