Enable click of data cursos only on shapefile, not at the whole map.

I have on gui plot google maps and shapefile on axes. Selecting data cursos tool I can click on map to get coord. However, I want to disable clikcs on map, I want to be able to click only on shapefile (blue lines). When I click on shapefile I get coord but when I click on map I get also RGB values. How I could disable it or just to get an error?

Answers (0)

This question is closed.

Asked:

on 16 Jul 2015

Closed:

on 20 Aug 2021

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!