Reputation: 147
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
Reputation: 3190
setOnMapClickListener
was deprecated in release 5.3.0 in favor of addOnMapClickListener
.
Source: API Reference
Upvotes: 3