move examples/kml to examples/data/kml

This commit is contained in:
Bart van den Eijnden
2013-04-09 16:17:36 +02:00
parent ed9861317f
commit 577ebd6abe
3 changed files with 2 additions and 2 deletions

View File

@@ -265,7 +265,7 @@
<Placemark> <Placemark>
<name>Blue Icon</name> <name>Blue Icon</name>
<description>Just another blue icon.</description> <description>Just another blue icon.</description>
<styleUrl>kml/styles.kml#blueIcons</styleUrl> <styleUrl>data/kml/styles.kml#blueIcons</styleUrl>
<Point> <Point>
<coordinates>-112.292238941097,36.09520916122063,630</coordinates> <coordinates>-112.292238941097,36.09520916122063,630</coordinates>
</Point> </Point>

View File

@@ -44,7 +44,7 @@ var kml = new ol.parser.ogc.KML({
maxDepth: 1, dimension: 2, extractStyles: true, extractAttributes: true}); maxDepth: 1, dimension: 2, extractStyles: true, extractAttributes: true});
$.ajax({ $.ajax({
url: 'kml/lines.kml' url: 'data/kml/lines.kml'
}).done(function(data) { }).done(function(data) {
vector.parseFeatures(data, kml, epsg4326); vector.parseFeatures(data, kml, epsg4326);
}); });