remove method

Marker remove()

Removes the marker from a map @example var marker = new mapboxgl.Marker().addTo(map); marker.remove(); @returns {Marker} this

Implementation

Marker remove() => Marker.fromJsObject(jsObject.remove());