ButtonDownFcn on geoscatter disables panning
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Malte Nagel
le 5 Avr 2022
Réponse apportée : Malte Nagel
le 6 Avr 2022
I have built an application in App Designer that plots points on a geoaxis object using geoscatter. However, if I set the ButtonDownFcn of the returned Scatter object, panning iand zooming are disabled in the geoaxes. I didn't modify the properties of the geoaxes object. If I remove the line setting the ButtonDownFcn property, panning works again.
s = geoscatter(gx, lat, lon, 50, 'green', 'Marker', 'x');
s.ButtonDownFcn = @app.PointClickedCallback;
Could someone explain to me why this happens and how to prevent this?
0 commentaires
Réponse acceptée
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Develop Apps Using App Designer dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!