DrawnMap
Class
Assembly LiveChartsCore
Namespace LiveChartsCore.Geo
Summary:
Defines a geographic map for LiveCharts controls.
Object
=>
DrawnMap
Constructors
// Initializes a new instance of the DrawnMap class.
// Initializes a new instance of the DrawnMap class, with the given layer.
| StreamReader streamReader, | // The stream reader instance of the GeoJson file for the layer. |
| String layerName | // The layer name. |
)
Properties
Gets the map layers dictionary.
Type: Dictionary<String, MapLayer>
Type: Dictionary<String, MapLayer>
Methods
// Adds a layer to the map from a stream reader.
| StreamReader streamReader, | // The path to the stream reader. |
| Paint stroke, | // The layer name. |
| Paint fill, | // The stroke. |
| String layerName | // The fill. |
)
// Adds a layer to the map from a stream reader.
| StreamReader streamReader, | // The path to the stream reader. |
| String layerName | // The layer name. |
)
// Adds a layer to the map from a stream reader asynchronously.
| StreamReader streamReader, | // The path to the stream reader. |
| Paint stroke, | // The layer name. |
| Paint fill, | // The stroke. |
| String layerName | // The fill. |
)
// Adds a layer to the map from a stream reader asynchronously.
| StreamReader streamReader, | // The path to the stream reader. |
| String layerName | // The layer name. |
)
// Gets the world map.
// Disposes the map.