Open irenenirgendwo opened 7 years ago
The problem is that I want to load the data only when it is necessary (because otherwise it is to slow), So at first I load the population data and only when the user changes the selection box of the map I load the density data into the file. But I need to calculate at least the domain in dependency on the calculatet values. That is why I cannot define it when drawing the map. But adding the new metadata seems not to work with all metadata values. I would appreciate some help.
If i first draw a map and then add more metadata to display an additional value of the data, the newly configured colors for the new metadata are not taken for the display. They fall back to the default colors. And it is the same with number formating and the definition of a domain.
Here is a simplified example:
The html code:
The javascript code: