Constructor
new maptalks_GeoKMZ(arg0_kmz_file, arg1_optionsopt)
Parameters:
| Name | Type | Attributes | Description |
|---|---|---|---|
arg0_kmz_file |
string
|
||
arg1_options |
Object
|
<optional> |
Methods
addTo(arg0_map_obj)
Adds the current GeoKMZ to a Maptalks map.
- Method of: Geospatiale.maptalks_GeoKMZ
Parameters:
| Name | Type | Description |
|---|---|---|
arg0_map_obj |
maptalks.Map
|
loadKMZ(arg0_input_file_path, arg1_optionsopt)
Loads a KMZ into the current collated layer.
- Method of: Geospatiale.maptalks_GeoKMZ
Parameters:
| Name | Type | Attributes | Description | |||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
arg0_input_file_path |
string
|
|||||||||||||||||||||||||||
arg1_options |
Object
|
<optional> |
|
remove()
Removes the current GeoKMZ from a Maptalks map.
- Method of: Geospatiale.maptalks_GeoKMZ
removeFrom(arg0_map_obj)
Removes the KMZ from the given Maptalks map if possible.
- Method of: Geospatiale.maptalks_GeoKMZ
Parameters:
| Name | Type | Description |
|---|---|---|
arg0_map_obj |
maptalks.Map
|
unloadKMZ(arg0_input_file_path)
Unloads the given GeoKMZ given an input path.
- Method of: Geospatiale.maptalks_GeoKMZ
Parameters:
| Name | Type | Description |
|---|---|---|
arg0_input_file_path |
string
|
(static) toGeoJSON(arg0_file_path, arg1_optionsopt) → {Promise.<Object>}
Converts a KMZ file to valid GeoJSON.
- Static method of: Geospatiale.maptalks_GeoKMZ
Parameters:
| Name | Type | Attributes | Description |
|---|---|---|---|
arg0_file_path |
string
|
||
arg1_options |
Object
|
<optional> |
Returns:
- Type:
-
Promise.<Object>