Forum

Thread tagged as: Question, Configuration, Field-Types

Static Maps

Hi

Is it possible to force the map field type to use a static map?

Thanks

Toby

Creative Monster

Creative Monster 0 points

  • 7 years ago
Drew McLellan

Drew McLellan 2638 points
Perch Support

It uses a static map by default, and then replaces it using JavaScript. You can replace the JavaScript with your own code... which could of course do nothing.

In your perch/config/config.php file:

define('PERCH_MAP_JS', '/path/to/your/script.js');

https://docs.grabaperch.com/docs/templates/attributes/type/map/