Callback listener when certain layers come into view in MapView

Discussion created by divinitus on Dec 5, 2013
Latest reply on Dec 9, 2013 by knisleyj

I was looking for some form of callback when a certain layer is in view on the mapView (i.e the user pans to the place where the layer is). However, I could not find something similar in the API reference.

The motivation behind such a callback is to dynamically change the UI based on whats being shown on the mapView. I would like to enquire if such a thing exists, and did I miss out something. Otherwise, any advice on how to go about implementing it will be greatly appreciated :)

Thank you!