Closed bridystone closed 3 years ago
You're right, totally forgot about that. It seems to be failing in the getMapByRawMapType
method.
We could make it return optional Map so we don't need to force unwrap and then isMapAvailable
method would return false if nil
I think it's probably cleaner than adding those maps into ios list. The issue with fallback to google/osm is that if google maps is available then google maps go would also show up same for osmand which is not what we want.
Let me know if you think otherwise
Fallback-Issue: valid point. I didn't of that.
At least it now seems to work for me :)
Released v.2.1.1 with your fix. Cheers! :)
Using unsupported maptypes on iOS (osmandplus / googlego) causes the whole Flutter App to crash. This is because there is no equivalent to the Dart MapType in the Swift Applicaiton.
Maybe the easiest way to fix this is to create dummyURL types. Either with fallback to google/osm or create a urlPrefix: "dummy://"
i.e.