Xamarin.Forms.GoogleMaps
Xamarin.Forms.GoogleMaps copied to clipboard
Ground Overlay not showing on iOS
VERSIONS
- Xamarin.Forms.GoogleMaps - 3.2.1
- Xamarin.Forms - 4.7.0.1080
PLATFORMS
- [ ] Android
- [x] iOS
- [ ] UWP
ACTUAL BEHAVIOR
On iOS (iPhone 6s Plus with iOS 13.5.1) ground overlays do not show up on map. When I launch my app on android everything works just fine.
EXPECTED BEHAVIOR
Custom Image shows up as Ground Overlay in map.
HOW TO REPRODUCE
- Create new XAMARIN Forms App
- Add Google Maps Plugin
- Set Maptype to None
- Add Ground Overlay
!!! Workaround with setting the transparency of the ground overaly to 0f after it has been added to the map does not work !!!
@amay077 Do you have any ideas?
UPDATE:
If I use an image from the app bundle and reference it with BitmapDescriptionFactory.FromBundle("groundoverlay.jpg")
everything works fine.
But if I load the image from Environment.SpecialFolder.LocalApplicationData
with BitmapDescriptionFactroy.FromStream(File.OpenRead(path_to_image))
the ground overlay does not show up on the map.
UPDATE:
I just upgraded the version of the Plugin to the current stable 3.3.0. But the overlay does not show up either!