From 811fc834c743e52fbc5acc9f97b9de27a31afe3e Mon Sep 17 00:00:00 2001 From: tkqubo Date: Tue, 5 Jan 2016 00:39:30 +0900 Subject: [PATCH] Add osmtogeojson --- osmtogeojson/osmtogeojson-tests.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/osmtogeojson/osmtogeojson-tests.ts b/osmtogeojson/osmtogeojson-tests.ts index 3bb83c100..a4debe4c1 100644 --- a/osmtogeojson/osmtogeojson-tests.ts +++ b/osmtogeojson/osmtogeojson-tests.ts @@ -1,9 +1,11 @@ /// +/// import osmtogeojson from 'osmtogeojson'; import {OsmJSON, GeoJSON} from 'osmtogeojson'; +import * as xmldom from 'xmldom'; -let xml: Document = (new DOMParser()).parseFromString("", 'text/xml'); +let xml: Document = (new xmldom.DOMParser()).parseFromString("", 'text/xml'); let geojson: GeoJSON.FeatureCollection = { type: "FeatureCollection", features: [