![]() The StrokeColor and StrokeWidth properties are specified to customize the polygon's outline. add the polygon to the map's MapElements collection This can be accomplished in XAML as follows: Create a polygonĪ Polygon object can be added to a map by instantiating it and adding it to the map's MapElements collection. Therefore, if neither property is specified the shape will have a black outline with no fill. If the FillColor property is not specified, the fill will default to transparent. If the StrokeColor property is not specified the stroke will default to black. FillColor is a Color property that determines the color within the circle perimeter.Radius is a Distance object that defines the radius of the circle in meters, kilometers, or miles.Center is a Position object that defines the center of the circle, in latitude and longitude.The Circle class defines the following bindable properties: In addition, the Polygon and Polyline classes both define a GeoPath property, which is a list of Position objects that specify the points of the shape. FillColor is a Color object that determines the polygon's background color.The Polygon class defines an additional bindable property: StrokeWidth is a float object that determines the line width.StrokeColor is a Color object that determines the line color.The Polygon, Polyline, and Circle classes derive from the MapElement class, which exposes the following bindable properties: A Circle highlights a circular area of the map: A Polyline is a line that does not fully enclose an area. A Polygon is a fully enclosed shape that can have a stroke and fill color. Polygon, Polyline, and Circle elements allow you to highlight specific areas on a map. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
December 2022
Categories |