folkehelseinstituttet / Fhi.Frontend.Demo

MIT License
2 stars 1 forks source link

FHI Angular Highcharts: better solution for map storage #611

Open proand opened 2 weeks ago

proand commented 2 weeks ago

Description

Today all maps are loaded from https://code.highcharts.com/mapdata/. This is problematic since:

  1. some FHI-products may not be able to reach this CDN if they are hosted in a restricted zone
  2. it's a vulnerable solution due to the fact that Highcharts keep changing the maps without giving theme a new URL

Acceptance Criteria

Given:

Then:

  1. Go to https://dev-designsystem.fhi.no/developer/components/highcharts#highcharts-all-inclusive
  2. Select "Dødsfall hjerte og kar, fordelt på fylke" in the "Velg datasett"-dropdown
  3. Go to your preferred browser devtool, and check that the map URL is the new CDN