Skip to content
Snippets Groups Projects
environment.ts 2.17 KiB
Newer Older
  • Learn to ignore specific revisions
  • // This file can be replaced during build by using the `fileReplacements` array.
    // `ng build` replaces `environment.ts` with `environment.prod.ts`.
    // The list of file replacements can be found in `angular.json`.
    
    export const environment = {
    
      production: false,
    
      searchUrl: 'https://api-adresse.data.gouv.fr/search',
    
      geoserver:'http://217.182.138.216:8080/geoserver/Metropole/',
    
      googleSatellite:'http://mt0.google.com/vt/lyrs=s&hl=en&x={x}&y={y}&z={z}',
    
    ["Younes MHARRECH"]'s avatar
    ["Younes MHARRECH"] committed
      communesURL:
    
        'ows?service=WFS&version=1.0.0&request=GetFeature&typeName=Metropole:communes&outputFormat=application/json&SRSNAME=EPSG:3857',
      communeLegendURL:
        'wms?REQUEST=GetLegendGraphic&VERSION=1.0.0&FORMAT=image/png&WIDTH=20&HEIGHT=20&LAYER=Metropole:communes&LEGEND_OPTIONS=columns:3',
    
      plantabiliteVecteurURL:
    
        'ows?service=WFS&version=1.0.0&request=GetFeature&typeName=Metropole:calque_plantabilite_metropole&outputFormat=application/json&SRSNAME=EPSG:3857',
    
      plantabiliteLegendURL:
    
        'wms?REQUEST=GetLegendGraphic&VERSION=1.0.0&FORMAT=image/png&WIDTH=20&HEIGHT=20&LAYER=Metropole:calque_plantabilite_metropole&LEGEND_OPTIONS=columns:3',
    
    ["Younes MHARRECH"]'s avatar
    ["Younes MHARRECH"] committed
      geoserverWMS:'http://217.182.138.216:8080/geoserver/gwc/service/wmts',
    
      plantabiliteRasterName:'Metropole:calque_plantabilite_metropole',
    
      centerLatitude: 45.7675,
    
    ["Younes MHARRECH"]'s avatar
    ["Younes MHARRECH"] committed
      centerLongitude: 4.8345,
    
    ["Younes MHARRECH"]'s avatar
    ["Younes MHARRECH"] committed
      backEndUrl:'http://localhost:3000',
    
    ["Younes MHARRECH"]'s avatar
    ["Younes MHARRECH"] committed
      version:'1.5',
    
    ["Younes MHARRECH"]'s avatar
    ["Younes MHARRECH"] committed
      credit:'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.'
    
    };
    
    /*
     * For easier debugging in development mode, you can import the following file
     * to ignore zone related error stack frames such as `zone.run`, `zoneDelegate.invokeTask`.
     *
     * This import should be commented out in production mode because it will have a negative impact
     * on performance if an error is thrown.
     */
    // import 'zone.js/plugins/zone-error';  // Included with Angular CLI.