API / geotoolkit / util / URLUtil / URLUtil
Defines helper methods to work with URL
Constructors
- [new URLUtil()](/solutions/geotoolkit/GeoToolkit_JS/apis/classes/geotoolkit.util.urlutil.urlutil.md#new urlutil())
Methods
▸ getClassName(): string
string
▸ Static compressArray(data): string
Compress integer array by creating difference array and use RLE
| Name | Type | Description |
|---|---|---|
data | number[] | input array |
string
▸ Static decompressToArray(url): number[]
| Name | Type | Description |
|---|---|---|
url | string | URL to decompress |
number[]
▸ Static getBaseHost(): string
Return base host URL from document location
string
▸ Static getClassName(): string
string
▸ Static getHost(): string
Return host URL from document location
string