InnoZ / MAS_Interface

Apache License 2.0
1 stars 0 forks source link

Change highlighted colour to seeds #87

Open 00Bock opened 6 years ago

00Bock commented 6 years ago

Would be good to change the highlight colour to districts with seeds only (ergo districts with use-cases and manually calibrated models ergo osnabrück and garmisch-patenkirchen). Districts with more automatically generated modes should just get a darker shade of blue. I guess that would mean some adjustments to the index.js. Possibly the following lines:

      if ( findScenarioById(id).length > 2 ) {
        layer.setStyle(highlightedStyle);
      } else if ( findScenarioById(id).length > 0 ) {
        layer.setStyle(defaultStyle);
      } else {
        layer.setStyle(zeroStyle);
      };

@kjoscha: can you help me a bit next week to change that?