Allows setting an empty byte array to puck's images, when this is set, the image will be disable on the puck
// This will use a puck with custom topImage, default bearing image and no shadow image
mapboxMap?.location.updateSettings(LocationComponentSettings(
enabled: true,
puckBearingEnabled: true,
locationPuck:
LocationPuck(locationPuck2D: DefaultLocationPuck2D(topImage: list, shadowImage: Uint8List.fromList([])))));
What is the motivation and context behind this change?
Pull request checklist:
[ ] Add a changelog entry.
[ ] Write tests for all new functionality. If tests were not written, please explain why.
[ ] Add documentation comments for any added or updated public APIs.
What does this pull request do?
Allows setting an empty byte array to puck's images, when this is set, the image will be disable on the puck
What is the motivation and context behind this change?
Pull request checklist: