// $Id: defaults.dist.js 310 2011-03-28 08:37:56Z johnp $

var Geodan = Geodan || {};



Geodan.Environment = Geodan.Environment || {
    theme: 'sbb'
}; Geodan.defaultSettings = {
  map_id: 'map',
  minZoomLevel: 2,
  defaultPopupSize: '320,400',
  wfs_base_url: '/sbbmap/', // by default at same host
  wfs_map: 'cgi-bin/mapserv.exe?map=maps/sbbms.map',
  info_url: '/webservices/sbbcmsws.asmx/GetFeatureInfo', // by default at same host
  //proxy_url: '/proxy.asp', // by default no proxy
  layers: null,
  columnNames: {
    objectType: 'object_type',
    objectName: 'object_name'
  },
  sld: {
    lijnen: 'lijnen.sld',
    vlakken: 'vlakken.sld'
  },
  marker: {
        timeout: 10000
    },
    debug: false,
    lang: {
        // aangepaste nederlandse vertalingen
        nl: {
            "Initial location": "Gekozen item"
        }
    }
};

Geodan.defaultOptions = {
  map_cache_url: '/sbbmap/mapcache/', //  by default at same host
  map_cache_type: 'png',
  map_cache_layer: '_alllayers'
};

if (location.hostname == 'sbbmap2.geodan.nl') {
  Geodan.defaultSettings.info_url = 'http://staatsbosbeheer.nl/webservices/sbbcmsws.asmx/GetFeatureInfo';
}

