Abubakar
Abubakar

Reputation: 147

setOnMapClickListener deprecated method of Mapbox

I am using the Mapbox API and its setOnMapClickListener is deprecated. I haven't found any other way to use the onMapClick method; is there another way?

Upvotes: 2

Views: 251

Answers (1)

Matt
Matt

Reputation: 3190

setOnMapClickListener was deprecated in release 5.3.0 in favor of addOnMapClickListener.

Source: API Reference

Upvotes: 3

Related Questions