ФRuŠKać

Kml

function
Kml()

Option name Type Description
url string
options Object

KML

function Kml(url, options) {

    options = util.extend({
        map: gmap,
        preserveViewport: true,
        suppressInfoWindows: true,
        data: {
            type: 'kml'
        }
    }, options);

    return (function () {
        return new google.maps.KmlLayer(url, options)
    })();
}

return Kml;

})();