Xamarin.forms.googlemaps: Ground Overlay not showing on iOS

Created on 13 Jul 2020  路  2Comments  路  Source: amay077/Xamarin.Forms.GoogleMaps

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

  1. Create new XAMARIN Forms App
  2. Add Google Maps Plugin
  3. Set Maptype to None
  4. 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?

Most helpful comment

UPDATE:

I just upgraded the version of the Plugin to the current stable 3.3.0. But the overlay does not show up either!

All 2 comments

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!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

amay077 picture amay077  路  4Comments

non335 picture non335  路  7Comments

hieumoscow picture hieumoscow  路  5Comments

soile1991 picture soile1991  路  5Comments

goodguy010 picture goodguy010  路  5Comments