setData

fun setData(data: URL, mapViewController: MTMapViewController)

Sets the data of the source.

Used for updating the source data.

Parameters

data

data to GeoJSON resource.

mapViewController

MTMapViewController which holds the source.