Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface KmlLayerSourceCreateOptions

KmlLayerSourceCreateOptions is an interface that contains the required parameters to create a KmlLayerSourceProvider.

example



var kmlLayerSourceCreateOptions = { name: 'kmlfilename', data: null };
var mapServiceDetailsPromise = Q($.ajax({ url: urlToMapDetails, type: "GET"}));
Q.all([mapServiceDetailsPromise]).then((data: any[]) => { kmlLayerSourceCreateOptions.data = new DOMParser().parseFromString(data[0], "text/xml"); });

Hierarchy

  • LayerSourceCreateOptions
  • LayerSourceCreateOptions
  • LayerSourceCreateOptions
  • LayerSourceCreateOptions
    • KmlLayerSourceCreateOptions

Index

Properties

Properties

Optional data

data: Document

name

name: string