amay077 / Xamarin.Forms.GoogleMaps

Map library for Xamarin.Forms using Google maps API
https://www.nuget.org/packages/Xamarin.Forms.GoogleMaps/
MIT License
546 stars 347 forks source link

iOS - Satellite Map Tiles Fail to Load/Blurry #763

Open jrtheurer opened 3 years ago

jrtheurer commented 3 years ago

VERSIONS

PLATFORMS

ACTUAL BEHAVIOR

When using our application, users are experiencing a situation in which the Satellite view tiles fail to load at a particular zoom level. Zooming out or in to the next zoom level resolves the issue but zooming back to the blurry level returns the map to a blurry state.

The most reliable method of resolving this issue is by uninstalling the application and reinstalling or otherwise clearing the local storage used by the application.

ACTUAL SCREENSHOTS/STACKTRACE

IMG_0773

image (1)

EXPECTED BEHAVIOR

The map tiles load clearly for all zoom levels.

HOW TO REPRODUCE

  1. Load the map up with some pins at a given zoom level
  2. Zoom in closer to the ground
  3. Scroll around on the map to observe tiles not loading

NOTE: We have had trouble effectively reproducing this issue locally.

...
xmlns:maps="clr-namespace:Xamarin.Forms.GoogleMaps;assembly=Xamarin.Forms.GoogleMaps"
...
 <maps:Map MyLocationEnabled="True" HeightRequest="100"
                          WidthRequest="960" MapType="Satellite" CameraMoving="CustomMap_CameraMoving" CameraIdled="CustomMap_CameraIdled"
                          x:Name="CustomMap"/>
...
jrtheurer commented 3 years ago

Quick update on this issue: We narrowed the problem down to happening when using the Xamarin.Google.iOS.Maps package version 3.5.0 with the above mentioned version of this library instead of version 2.5.0.1. We downgraded to the latter version and the issue has disappeared.