setLngLat method

Marker setLngLat(
  1. LngLat lnglat
)

Set the marker's geographical position and move it. @returns {Marker} this

Implementation

Marker setLngLat(LngLat lnglat) =>
    Marker.fromJsObject(jsObject.setLngLat(lnglat.jsObject));