Sha256: 4a3e18b0221ddbb1ea94c7749beac52fd51f7914cf97ae79f4f541d21a85ed10

Contents?: true

Size: 1.21 KB

Versions: 6

Compression:

Stored size: 1.21 KB

Contents

SITE_DEFAULT = 'maps.example.com'

HOST_ZONE = {
  #'intra.maps.example.com'  => SITE_INTRANET,
}
HOST_ZONE.default = SITE_DEFAULT

# redirect app to HTTPS if user is logged in
REDIRECT_APP_TO_HTTPS_IF_SIGNED_IN = false

#Hostnames in image links (e.g. identify symbol) which should be replaced by 127.0.0.1 for printing
LOCAL_GRAPHICS_HOST = /maps.example.com/

#Hosts in WMS URLs, which should be called via MAPSERV_URL for printing
LOCAL_WMS = [
  %r(^maps.example.com$),
  %r(^127.0.0.1$),
  %r(^localhost$),
]

#Location for temporary mapfish-print files
#NOTE: use a shared directory for multi-node setups (e.g. NFS)
PRINT_TMP_PATH = "/tmp"

DEFAULT_TOPIC = {
  SITE_DEFAULT => (Topic.first rescue nil) #Topic.where(:name => 'MainMap').first
}

DEFAULT_SCALE = 310000
DEFAULT_X = 692000
DEFAULT_Y = 252000
DEFAULT_ZOOM = 4

# regex for WMS parameters to detect if layer filter is used
LAYER_FILTER_REGEX = /^filter_.+$/i

# Proxy for cascaded WMS Feature requests
# See also http://www.ruby-doc.org/stdlib-1.9.3/libdoc/net/http/rdoc/Net/HTTP.html#method-c-Proxy
CASCADED_PROXY_ADDR = nil #Ruby 2.0 supports :ENV for using http_proxy environment variable
CASCADED_PROXY_PORT = nil
CASCADED_PROXY_USER = nil
CASCADED_PROXY_PASS = nil

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
gb_mapfish_appserver-1.0.6 test/dummy/config/initializers/mapfish.rb
gb_mapfish_appserver-1.0.5 test/dummy/config/initializers/mapfish.rb
gb_mapfish_appserver-1.0.4 test/dummy/config/initializers/mapfish.rb
gb_mapfish_appserver-1.0.3 test/dummy/config/initializers/mapfish.rb
gb_mapfish_appserver-1.0.2 test/dummy/config/initializers/mapfish.rb
gb_mapfish_appserver-1.0.1 test/dummy/config/initializers/mapfish.rb