hunter-koppen / mapsPolygon

Other
0 stars 0 forks source link

On Click Event doesn't trigger #1

Closed denisesabbadini closed 9 months ago

denisesabbadini commented 9 months ago

On mendix 10 and above the on click event doesn't work. An error appears in the console as soon as I click on a Polygon.

e is not a function TypeError: e is not a function at at.handlePolygonClick (http://localhost:8080/widgets/kobeon/mapspolygon/MapsPolygon.js?638424590817297404:13:7220) at .mo. (http://localhost:8080/widgets/kobeon/mapspolygon/MapsPolygon.js?638424590817297404:13:6237) at .Dk (https://maps.googleapis.com/maps/api/js?callback=__googleMapsCallback&key=AIzaSyAQLdTVYfPnXGNfhiEX2v0YmtdaMO-amMo:153:94) at GOa.handleEvent (https://maps.googleapis.com/maps-api-v3/api/js/55/10/intl/it_ALL/poly.js:89:100) at zka (https://maps.googleapis.com/maps-api-v3/api/js/55/10/intl/it_ALL/map.js:21:224) at pD (https://maps.googleapis.com/maps-api-v3/api/js/55/10/intl/it_ALL/map.js:19:363) at Object.kl (https://maps.googleapis.com/maps-api-v3/api/js/55/10/intl/it_ALL/map.js:62:2356) at nea.kl (https://maps.googleapis.com/maps-api-v3/api/js/55/10/intl/it_ALL/common.js:191:127) at Ng._.fn.Wk (https://maps.googleapis.com/maps-api-v3/api/js/55/10/intl/it_ALL/common.js:199:30)

hunter-koppen commented 9 months ago

Hi @denisesabbadini, I just checked and you are right. In Mendix 10 I get an error. Up until the latest version of 9 it still works as expected. I will work on a Mendix 10 fix for you.

denisesabbadini commented 9 months ago

Thank you very much!

Denise Sabbadini

Inviato da Outlook per Androidhttps://aka.ms/AAb9ysg


From: Hunter Koppen @.> Sent: Friday, February 2, 2024 4:33:33 PM To: hunter-koppen/mapsPolygon @.> Cc: Denise Sabbadini @.>; Mention @.> Subject: Re: [hunter-koppen/mapsPolygon] On Click Event doesn't trigger (Issue #1)

Hi @denisesabbadinihttps://github.com/denisesabbadini, I just checked and you are right. In Mendix 10 I get an error. Up until the latest version of 9 it still works as expected. I will work on a Mendix 10 fix for you.

— Reply to this email directly, view it on GitHubhttps://github.com/hunter-koppen/mapsPolygon/issues/1#issuecomment-1924110259, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BFZXCLI2VF2HK4ZW5EJNVMTYRUBM3AVCNFSM6AAAAABCWJYQYOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMRUGEYTAMRVHE. You are receiving this because you were mentioned.Message ID: @.***>

hunter-koppen commented 9 months ago

@denisesabbadini I found the bug pretty fast, so I just released a new version 👍 Would appreciate it if you can update your review on the marketplace if it all works fine now.

denisesabbadini commented 9 months ago

@hunter-koppen the widget now works just fine! Thank you very much I will change the review immediately