move examples/kml to examples/data/kml
This commit is contained in:
@@ -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>
|
||||||
@@ -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);
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user