API / geotoolkit / svg / SvgDataProvider / SvgDataProvider
svg.SvgDataProvider.SvgDataProvider
Default data provider for SVG application. Implements standard XMLHttpRequest to load data from the same server that the page was loaded
Constructors
Methods
▸ getClassName(): string
string
▸ loadXmlData(path, cb): void
Loads the file accessible by the path parameter provided and passes it to callback
| Name | Type | Description |
|---|---|---|
path | string | Path to the file on server, or url |
cb | (error: Error, data?: any) => void | Callback to call |
void
▸ Static getClassName(): string
string