Problem/Motivation

Doesn't work on D9 if used with views, I get a white background instead of a map and a JS error

Comments

honyik created an issue. See original summary.

cvikir’s picture

Try this patch it should solve the problem

honyik’s picture

Nope, still doesn't work, it does for CT detail, if I resave the content (which is impractical and should be adressed as well), but it still gives the following error if used in a view

Uncaught TypeError: Cannot read properties of undefined (reading 'enable')
at String. (js_a8IPM3-XMgDWgeUx6_TeltmcHYHJrSLXrBP5TRu4hfY.XNon3lLJOYxyy2bxarP8BhLPK_riALjqSmlhX9aQc0s.js?v=8.x-1.x:108:29)
at Function.each (js_dxIVcwvQ00owLGoUGPTfRYXU-T5rnj8Xi0cXfb3Kn58.8ndE-9J7NVop65N_GqGirZw_XeZXVUEigrkLW5q7S9I.js?v=3.6.0:3:3003)
at Drupal.mapycz.loadMaps (js_a8IPM3-XMgDWgeUx6_TeltmcHYHJrSLXrBP5TRu4hfY.XNon3lLJOYxyy2bxarP8BhLPK_riALjqSmlhX9aQc0s.js?v=8.x-1.x:85:7)
at js_a8IPM3-XMgDWgeUx6_TeltmcHYHJrSLXrBP5TRu4hfY.XNon3lLJOYxyy2bxarP8BhLPK_riALjqSmlhX9aQc0s.js?v=8.x-1.x:54:23

cvikir’s picture

Iam adding a second patch here, this should fix your error as well - there is a broken backwards compatibility issue.

cvikir’s picture

StatusFileSize
new3.66 KB

Iam adding additional patch for this issue