From 48653a1c5ae3ca7eb719ddea41ae0652abd5d42c Mon Sep 17 00:00:00 2001 From: Raruto Date: Mon, 6 Jun 2022 13:56:28 +0200 Subject: [PATCH] test custom enconding --- test/index.html | 1 + test/test-encoding.kml | 71 ++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 72 insertions(+) create mode 100644 test/test-encoding.kml diff --git a/test/index.html b/test/index.html index 292e32a..a23a088 100644 --- a/test/index.html +++ b/test/index.html @@ -67,6 +67,7 @@ }); // Add remote KMZ files as layers (NB if they are 3rd-party servers, they MUST have CORS enabled) + kmz.add('./test-encoding.kml'); kmz.add('../examples/regions.kmz'); kmz.add('../examples/capitals.kmz'); kmz.add('../examples/globe.kmz'); diff --git a/test/test-encoding.kml b/test/test-encoding.kml new file mode 100644 index 0000000..a73a331 --- /dev/null +++ b/test/test-encoding.kml @@ -0,0 +1,71 @@ + + + + Example KML file + + + + + + Time Square + + #style1 + + -73.984939,40.758874,0.000000 + + + + Central Park + + #style2 + + + + 1 + + -73.981508,40.768632,0.000000 + -73.957845,40.800289,0.000000 + -73.949348,40.796797,0.000000 + -73.973093,40.764732,0.000000 + + + + + + + Lincoln Tunnel + + #style3 + + 1 + + -74.022749,40.766578,0.000000 + -74.021955,40.767206,0.000000 + -74.020571,40.767279,0.000000 + -74.000079,40.758980,0.000000 + + + + + \ No newline at end of file