Sha256: bd24d015459ef6dc7b124bea1a87c23f34db91123bb8b0181aa0814d23a9d77e
Contents?: true
Size: 1.37 KB
Versions: 2
Compression:
Stored size: 1.37 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" # scales and dpis for printing (optional) #PRINT_SCALES = [500, 1000, 2500, 5000, 10000, 15000, 25000, 50000, 100000, 200000, 500000] #PRINT_DPIS = [150, 300] 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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
gb_mapfish_appserver-1.1.1 | test/dummy/config/initializers/mapfish.rb |
gb_mapfish_appserver-1.1.0 | test/dummy/config/initializers/mapfish.rb |