I have to develop a functionality in ol3 which is capable to draw a lot of custom roads(tracks) on the same map. I want a quick access to those roads because I need to update them in real-time. To achieve that, I want to store each road organized and independent from each other. From my research I've noticed that a solution is to store a road as a list of segments(each segment is a ol.Feature) which are stored in a layer(ol.layer.Vector). So the main idea is to represent each road in separate layer
Any ideas if increasing number of layers inside a ol3 map will have a performance impact? Or how I can rethink my idea to keep all roads organized and separated from each other?