davefootball123 Posted August 9, 2013 Share Posted August 9, 2013 Hello, I have a KML layer with clickable: true, set and I can't seem to figure out how to do clickable_changed to false when a button is clicked. The function is called changeclick() and is executed on button click however I can't figure out how to have it change the clickable parameter to false. If anyone could point me in the right direction that would be greatly appreciated. Thanks, Link to comment https://forums.phpfreaks.com/topic/281012-change-clickable-value-google-maps/ Share on other sites More sharing options...
Muddy_Funster Posted August 9, 2013 Share Posted August 9, 2013 Have you looked at the disabled keyword at all? Link to comment https://forums.phpfreaks.com/topic/281012-change-clickable-value-google-maps/#findComment-1444251 Share on other sites More sharing options...
kicken Posted August 9, 2013 Share Posted August 9, 2013 Based on the reference, I'd say try: layer.set('clickable', false); Link to comment https://forums.phpfreaks.com/topic/281012-change-clickable-value-google-maps/#findComment-1444255 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.