Sha256: 759f4f50ede8ee606ef32f4b3d29ab4941540567e47e452e1317126779a89340
Contents?: true
Size: 802 Bytes
Versions: 2
Compression:
Stored size: 802 Bytes
Contents
SITE_DEFAULT = '<%= options["default-site-name"] %>' HOST_ZONE = { #'intra.maps.example.com' => SITE_INTRANET, } HOST_ZONE.default = SITE_DEFAULT #Hostnames in image links (e.g. identify symbol) which should be replaced by 127.0.0.1 for printing LOCAL_GRAPHICS_HOST = /<%= options["default-site-name"] %>/ LOCAL_WMS = [ %r(^127.0.0.1$), %r(^localhost$), ] DEFAULT_TOPIC = { SITE_DEFAULT => (Topic.first rescue nil) #Topic.where(:name => 'MainMap').first } DEFAULT_SCALE = 310000 DEFAULT_X = 692000 DEFAULT_Y = 252000 # regex for WMS parameters to detect if layer filter is used LAYER_FILTER_REGEX = /^filter_.+$/i #Load models in models/geo/ (why not automatically loaded?) Dir[File.join(Rails.root, "app", "models", "geo", "*.rb")].each do |geomodel| require_dependency geomodel end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
gb_mapfish_appserver-0.0.2 | lib/generators/mapfish/install/templates/initializer.rb |
gb_mapfish_appserver-0.0.1 | lib/generators/mapfish/install/templates/initializer.rb |