﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
21085	Make OSM Data layer usable in two map views	michael2402	team	"Currently, an 'OsmDataLayer' can only be used in one map view.
If one wants to create a second map view with a different mapcss style, one needs to copy over the whole data set and create a new OsmDataLayer, just because each Node/Way/Relation contains a cache of the style and that cache is not intended to be used by multiple MapViews.

*Workaround*
Create a second data set, attach event listeners to the original one and sync all changes. Use that data set for the second map view

*More performant Solution*

Do not include the style cache in the Node/Way/Relation.
Use an IdentityHashMap in the layer painter and store the style cache there. Listen to layer change events to evict changed items out of the cache."	enhancement	new	normal		Core mappaint				
