Merge branch 'main' into kml-pl

Update the reference to ours.kml in kml.pl
pull/2/head
Daniel Asher Resnick 4 years ago
commit 5f0a333fac
  1. 2
      kml.pl
  2. 0
      webroot/chinagreen.kml
  3. 0
      webroot/index.html
  4. 0
      webroot/leaflet-kml/L.KML.js
  5. 0
      webroot/ours.kml
  6. 0
      webroot/shadowrun.kml

@ -7,7 +7,7 @@ use warnings;
use XML::LibXML; use XML::LibXML;
use URI::Escape; use URI::Escape;
my $filename = 'ours.kml'; my $filename = 'webroot/ours.kml';
my $dom = XML::LibXML->load_xml(location => $filename, no_blanks => 1); my $dom = XML::LibXML->load_xml(location => $filename, no_blanks => 1);
my $xpc = XML::LibXML::XPathContext->new($dom); my $xpc = XML::LibXML::XPathContext->new($dom);
$xpc->registerNs('k', "http://earth.google.com/kml/2.2"); $xpc->registerNs('k', "http://earth.google.com/kml/2.2");

Loading…
Cancel
Save