NAXAM / mapbox-xamarin-forms

Mapbox on Xamarin.Forms
Apache License 2.0
73 stars 41 forks source link

Add MapView to DidFinishRenderingCommand or DidFinishLoadingStyleCommand #81

Open StuGisburne opened 4 years ago

StuGisburne commented 4 years ago

Currently the delegate methods for DidFinishRenderingCommand return a bool and DidFinishLoadingStyleCommand returns a MapStyle. It would benefit greatly and mimic the native MapBox SDK if the methods returned the MapView as well.

tuyen-vuduc commented 4 years ago

Hi,

It's a bridge to avoid most of direct view in ViewModel. Now you asked to have a View returned.

Probably, I don't get your point. A PR with your proposal will be helpful.

Cheers.