Forum
Static Map loading, not being replaced by dynamic (draggable) map
I have a fresh perch install and am using the Perch public_maps.js file (not overriding it). I have used the standard map field and succesfully set up a Google API Key. No console errors thrown when loading the page with the map on.
The static map loads, but not the nice draggable dynamic map.
Any tips? Thanks!
Perch: 2.8.32, PHP: 5.6.15-1+deb.sury.org~trusty+1, MySQL: mysqlnd 5.0.11-dev - 20120503 - $Id: 3c688b6bbc30d36af3ac34fdd4b7b5b787fe5555 $, with PDO
Server OS: Linux, fpm-fcgi
Installed apps: content (2.8.32), assets (2.8.32), categories (2.8.32)
App runtimes: <?php $apps_list = array( 'content', 'categories', );
PERCH_LOGINPATH: /perch
PERCH_PATH: /home/vagrant/Sites/Here-Design_Palatino/palatino/public/perch
PERCH_CORE: /home/vagrant/Sites/Here-Design_Palatino/palatino/public/perch/core
PERCH_RESFILEPATH: /home/vagrant/Sites/Here-Design_Palatino/palatino/public/perch/resources
Image manipulation: GD Imagick
PHP limits: Max upload 100M, Max POST 100M, Memory: 512M, Total max file upload: 100M
F1: 2edba60ed1f613d6dd804feb202456a2
Resource folder writeable: Yes
SCRIPT_NAME: /perch/core/settings/diagnostics/index.php
REQUEST_URI: /perch/core/settings/diagnostics/
DOCUMENT_ROOT: /home/vagrant/Sites/Here-Design_Palatino/palatino/public
HTTP_HOST: dev.palatino
Extended report:
Manually running
in the console returns:
Which is the response from
That's not the response I'm getting from that URL. Does the problem still persist?
Same issue here, nothing has changed.
Have a look: https://palatino.youi.design/contact/
Looks like your page is referencing
/js/map.js
and not the Perch map JavaScript.Does it work with our JavaScript?
No, unfortunately, it doesn't. I was trying it without custom JS until the end of last night, and it didn't work.
I have just adjusted the config.php on that site so that custom JS is removed, to test it.
Can you try on a test page isolated from other JavaScript?
Sure, thanks I'll give it a try.