| Message |
Brendan,
I just reworked the KMLLayer.cs code a little, basically created another constructor that takes a binary byte array argument, which copies the array into memorystream object when that constructor is used and runs the code currently located in KMLLayer.webclient_OpenReadCompleted() on that memorystream instead of on e.Result(). Outside the KMLLayer class, you just open a streamreader on the local file the user selects and read the contents into a byte array and pass it in. |