Commit 89a21507 authored by Eric Duminil's avatar Eric Duminil
Browse files

mini refactor

parent 71d20b3c
const styles = {};
styles.original = utils.polygon_style('#447744', 0.2);
styles.highlighted = utils.polygon_style("#ff44a2", 0.7);
styles.selected = utils.polygon_style("#ffff00", 0.8);
const regionChooser = (function(){
//TODO: Somehow split in classes. This file is getting too big and mixed
......@@ -12,6 +7,12 @@ const regionChooser = (function(){
const wgs84Sphere = new ol.Sphere(6378137);
var features_by_project;
const styles = {};
styles.original = utils.polygon_style('#447744', 0.2);
styles.highlighted = utils.polygon_style("#ff44a2", 0.7);
styles.selected = utils.polygon_style("#ffff00", 0.8);
publicScope.init = function(){
//NOTE: Only called from JavaFX. At startup, or when Repo has been changed.
kml_source.clear();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment