maptalks_GeoKMZ

Geospatiale. maptalks_GeoKMZ

Handles GeoKMZ/KML files for Maptalks and allows them to be rendered.

Constructor

new maptalks_GeoKMZ()

Source:

Methods

addTo(arg0_map_obj)

Adds the current GeoKMZ to a Maptalks map.

Source:
Parameters:
Name Type Description
arg0_map_obj maptalks.Map

loadKMZ(arg0_input_file_path, arg1_optionsopt)

Loads a KMZ into the current collated layer.

Source:
Parameters:
Name Type Attributes Description
arg0_input_file_path string
arg1_options Object <optional>
Name Type Attributes Default Description
exclude_types Array.<string> <optional>

Any types to exclude. Either 'polygon'/'line'/'point'.

do_not_display_popups boolean <optional>
false
onload function <optional>

(arg0_geokmz_obj, arg1_geometries). The method to call once loading is finished.

window_options Object <optional>

remove()

Removes the current GeoKMZ from a Maptalks map.

Source:

removeFrom(arg0_map_obj)

Removes the KMZ from the given Maptalks map if possible.

Source:
Parameters:
Name Type Description
arg0_map_obj maptalks.Map

unloadKMZ(arg0_input_file_path)

Unloads the given GeoKMZ given an input path.

Source:
Parameters:
Name Type Description
arg0_input_file_path string