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, Quote Link to comment 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? Quote Link to comment 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); Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.