Forum
Maps custom JS
Hi,
I am having issues applying custom JS to my map - at the moment it is not being read in. I have the following in config.js:
define('PERCH_MAP_JS', '/assets/js/map.js');
I think I may have the path wrong - I have done from the site root, is this correct? The site is still using the packaged script.
If the map is in a
perch_content()
region, then the HTML output is cached. Click Save on the region to regenerate it and see if that helps.Yep it absolutely did thanks Drew