Skip to content

Create jpeg preset to open environments

Petri Vuorio requested to merge 57-create-jpeg-preset-to-open-environments into main

Closes #57 (closed)

  • Duplicate Satellite preset to Satellite (jpeg) using jpeg images instead of png.
  • Rename existing Satellite preset to Satellite (png)

To test:

  1. Launch presets-backend as instructed in README.md.
  2. In opengeoweb config file apps/geoweb/src/assets/config.json, change the GW_PRESET_BACKEND_URL property to point at the local presets-backend.
  3. nx serve
  4. Open browser developer tools network tab.
  5. Verify new satellite preset uses jpeg images:
    1. Click the GeoWeb workspace menu button.
    2. Select Satellite (jpeg).
    3. Verify in the developer tools network tab that jpeg images are loaded.
  6. Verify old satellite preset still uses png images:
    1. Click the GeoWeb workspace menu button.
    2. Select Satellite (png).
    3. Verify in the developer tools network tab that png images are loaded.
Edited by Petri Vuorio

Merge request reports