Format KML
This commit is contained in:
parent
7caa7aeba6
commit
00f2cead36
7 changed files with 246 additions and 77 deletions
7
js/format/Kml.js
Normal file
7
js/format/Kml.js
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
BR.Kml = {
|
||||
format: function (geoJson) {
|
||||
// don't export properties as <ExtendedData>, probably no need for it
|
||||
geoJson.features[0].properties = { name: geoJson.features[0].properties.name };
|
||||
return BR.Xml.pretty(tokml(geoJson));
|
||||
},
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue