-
Notifications
You must be signed in to change notification settings - Fork 32
Open
Description
settingsDefault.inc.php contains the following items:
/* ************************************************************************
* Cache page mini map
* ************************************************************************ */
/* Cache page small map, fixed, clickable to open minimap. */
// available options are roadmap, terrain, map, satellite, hybrid
$config['maps']['cache_page_map']['layer'] = 'terrain';
$config['maps']['cache_page_map']['zoom'] = 8;
In /src/Controllers/ViewCacheController.php I see the following lines:
$zoom = $config['maps']['cache_page_map']['zoom'];
$mapType = $config['maps']['cache_page_map']['layer'];
$size = [170, 170];
In my settings.inc.php I have these:
/* Cache page static map, clickable to open minimap. */
/* available options are:
mapnik (OpenStreetMap) (default)
sterrain, stoner (Stamen)
cycle (OpenCycleMap) */
$config['maps']['cache_page_map']['layer'] = 'mapnik';
$config['maps']['cache_page_map']['zoom'] = 10;
// choose color according to https://developers.google.com/maps/documentation/static-maps/intro#Markers
$config['maps']['cache_page_map']['marker_color'] = 'red';
/* Cache page minimap */
$config['maps']['cache_mini_map']['zoom'] = 15;
$config['maps']['cache_mini_map']['width'] = '240';
$config['maps']['cache_mini_map']['height'] = '480';
These seem to be lost / abandoned and I can't seem to find any correspondent in the new /config/map.* section.
How do I configure the cache page mini map size, layer, zoom level?
Reactions are currently unavailable