A method to remove a listener background event.
Parameter |
Value |
---|---|
type: string |
A type of listener to create. See Types. |
function: name |
An asynchronous JavaScript function that implements the logic when the function call returns. |
Example:
function zoomChange(map, zoom)
{
//Your code here!
//map.<method>;
}
map.removeListener("zoomchange", zoomChange);