Does anyone have an example of loading kmz using the FileReader? KmlDataSource will accept a binary Blob, and I can read the file into an ArrayBuffer. I’m having a hard time figuring out how to create the binary Blob. Any help would be appreciated. Thanks, Scott
A File is a Blob, and can be passed directly to KmlDataSource. No need to read the contents yourself into an ArrayBuffer with FileReader.
Thanks. I guess the binary specification of the documentation threw me off. Silly me! Scott