mousebird-consulting-inc / WhirlyGlobe

WhirlyGlobe Development
Other
828 stars 255 forks source link

Some of the globeViewController methods, the mapViewController doesn't #1067

Closed songyuyang0918 closed 6 years ago

songyuyang0918 commented 6 years ago

Hello! I use the MapViewController to display the map. Need to monitor gestures, I found that globeViewController delegate (globeViewController: allSelect: atLoc: onScreen: and globeViewController: didMove:) is listening to what I need. But I'm using MapViewController, which doesn't have a delegate. Why is that? Do I have to write one myself?

mousebird commented 6 years ago

MaplyViewController's delegate is called MaplyViewControllerDelegate

songyuyang0918 commented 6 years ago

I know what you mean! MaplyViewControllerDelegate is also not the two methods, I went to the copy write their own according to globeViewControllerDelegate, although can appear effect, but I still want to ask your opinion! Is my framework version too low?

mousebird commented 6 years ago

The allSelect: method is available in the MaplyViewControllerDelegate. Make sure you're on the develop branch.

songyuyang0918 commented 6 years ago

You mean: Only in the development environment, I can use the inside of the WhirlyGlobeViewControllerDelegate (globeViewController: allSelect: atLoc: onScreen method:)?

mousebird commented 6 years ago

No, the develop branch on github. That's the latest.