Closed ichan-mb closed 4 years ago
Adds support for drawing overlay on MapView
To overlay the map, you must decorate it with the MapOverlay node. There are three types of overlay that supported Polyline, Polygon, and Circle.
MapOverlay
In order to draw Overlay, it needs to define the position where overlay should be drawn on the map using Coordinate property.
Coordinate
<NativeViewHost> <MapView Zoom="14" Latitude="-6.914742" Longitude="107.609820"> <MapOverlay Type="Polyline" StrokeColor="Blue" LineWidth="5"> <Coordinate Latitude="-6.914742" Longitude="107.609820" /> <Coordinate Latitude="-6.915850" Longitude="107.609929" /> <Coordinate Latitude="-6.916959" Longitude="107.611009" /> </MapOverlay> </MapView> </NativeViewHost>
This PR contains:
Wow looks great!
This branch has conflict after merging #1354. Rebase?
Oh. it's the Changelog file that has a conflict. Sorted
Adds support for drawing overlay on MapView
To overlay the map, you must decorate it with the
MapOverlay
node. There are three types of overlay that supported Polyline, Polygon, and Circle.In order to draw Overlay, it needs to define the position where overlay should be drawn on the map using
Coordinate
property.This PR contains: