This repository has been archived by the owner on Mar 29, 2019. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 8
/
SM_Settings.php
51 lines (39 loc) · 2.14 KB
/
SM_Settings.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
<?php
/**
* DO NOT EDIT!
*
* The following default settings are to be used by the extension itself,
* please modify settings in the LocalSettings file.
*
* @codeCoverageIgnore
*/
if ( !defined( 'MEDIAWIKI' ) ) {
die( 'This file is part of the SemanticMaps extension, it is not a valid entry point.' );
}
# Mapping services configuration
# Array of String. The default mapping service for each feature, which will be used when no valid service is provided by the user.
# Each service needs to be enabled, if not, the first one from the available services will be taken.
# Note: The default service needs to be available for the feature you set it for, since it's used as a fallback mechanism.
$GLOBALS['egMapsDefaultServices']['qp'] = $GLOBALS['egMapsDefaultService'];
$GLOBALS['egMapsDefaultServices']['fi'] = $GLOBALS['egMapsDefaultService'];
# Queries
# Boolean. The default value for the showtitle parameter. Will hide the title in the marker pop-ups when set to true.
# This value will only be used when the user does not provide one.
$GLOBALS['smgQPShowTitle'] = true;
# Boolean. The default value for the hidenamespace parameter. Will hide the namespace in the marker pop-ups when set to true.
# This value will only be used when the user does not provide one.
$GLOBALS['smgQPHideNamespace'] = false;
# String or false. Allows you to define the content and it's layout of marker pop-ups via a template.
# This value will only be used when the user does not provide one.
$GLOBALS['smgQPTemplate'] = false;
# Enum. The default output format of coordinates.
# Possible values: Maps_COORDS_FLOAT, Maps_COORDS_DMS, Maps_COORDS_DM, Maps_COORDS_DD
$GLOBALS['smgQPCoodFormat'] = $GLOBALS['egMapsCoordinateNotation'];
# Boolean. Indicates if coordinates should be outputted in directional notation by default.
$GLOBALS['smgQPCoodDirectional'] = $GLOBALS['egMapsCoordinateDirectional'];
# Forms
$GLOBALS['smgFIFieldSize'] = 40;
# Integer or string. The default width and height of maps in forms created by using Semantic Forms.
# These values only be used when the user does not provide them.
$GLOBALS['smgFIWidth'] = 665;
$GLOBALS['smgFIHeight'] = $GLOBALS['egMapsMapHeight'];