Map renderer extensibility (#844)
authorjcmanke <jmanke1227@gmail.com>
Tue, 11 Apr 2017 22:52:04 +0000 (17:52 -0500)
committerRui Marinho <me@ruimarinho.net>
Tue, 11 Apr 2017 22:52:04 +0000 (23:52 +0100)
commitdfda41b0bdc0ea80f548e3c919f14e8094c6cb25
tree32dbdc4a31899c3c5e31329ad9d86bca21c4e235
parentb832b67875789f2fccea5077c86238e75cf373ff
Map renderer extensibility (#844)

* Added extensibility features to Maps

Android MapRenderer:
- Moved map initialization to protected virtual method OnMapReady, called by explicit implementation of IOnMapReady
-  Added protected virtual method CreateMarker for customization of pins

iOS MapRenderer:
- Added protected virtual method CreateAnnotation for customization of pins

Pin:
- Unsealed the Pin class
- Made Label a bindable property

* [Docs] Update docs
Xamarin.Forms.Maps.Android/MapRenderer.cs
Xamarin.Forms.Maps.iOS/MapRenderer.cs
Xamarin.Forms.Maps/Pin.cs
docs/Xamarin.Forms.Maps/Xamarin.Forms.Maps/Pin.xml