updateImage

fun updateImage(url: URL, coordinates: List<LngLat>, mapViewController: MTMapViewController)

Updates both the image URL and its corner coordinates atomically.

Parameters

url

New image URL.

coordinates

Four coordinates in clockwise order starting at top-left.

mapViewController

Map controller that owns the style.