Search Posts

Category: kml

How to Use Variable as location url?

Hello guys How to replace the location of file URL into variable? NgMap.getMap().then(function (map) { $ = map; var myParser = new geoXML3.parser({ map: map }); myParser.parse(‘cta.kml’); }); myParser.parse is only accepting url but not variable? is this possible? var result = “<?xml version=”1.0″ encoding=”UTF-8″?> <kml xmlns=””> <!– Data derived from: Ed Knittel – || Feel free to use this file for your own purposes. Just leave the comments and credits when doing so. […]