I must be missing something because this would seem to be a pretty basic feature for the Map control.
How do you load a KML file and display it on the map control?
The demo that imports the European KML file uses the following statement:
// loading the eu.kml file |
StreamResourceInfo streamInfo = Application.GetResourceStream( |
new Uri("/Examples.Map;component/Resources/eu.kml", UriKind.RelativeOrAbsolute)); |
But I'm not familiar with URI syntax and I can't tell what the statement is doing, or more specifically, what the values within the quotes represent.
What is Examples.Map? Is that a namespace or another external file?
And where is eu.kml located as referenced above? Is it in a subdirectory of the project called component\Resources?
Thanks