On android BitmapDescriptorFactory.fromPath was used to load bitmap image for markers and groundoverlays, but this is ment to be used only with absolute paths to images. And iOS impelementation uses named assets as well, this PR changes android to use assets as well.
In future there most likely will be need for better control to support custom images, like from url, or given as bytearray. This PR will fix existing behaviour so that it can be used with custom asset images.
Example app is updated have exampe how to add custom asset images to the project.
Fixes #346
Fixes #154
[x] Tests pass
[ ] Appropriate changes to documentation are included in the PR
On android BitmapDescriptorFactory.fromPath was used to load bitmap image for markers and groundoverlays, but this is ment to be used only with absolute paths to images. And iOS impelementation uses named assets as well, this PR changes android to use assets as well.
In future there most likely will be need for better control to support custom images, like from url, or given as bytearray. This PR will fix existing behaviour so that it can be used with custom asset images.
Example app is updated have exampe how to add custom asset images to the project.
Fixes #346 Fixes #154