In OpenLayers 5, I have some LineString that represent the streets. Now I want that when the map is zoomed also the LineString should be zooomed.

For example in the following image, I have two linestrings at zoom level 1. At zoom level 2 near the blue lane, this should be zoomed and the red lane should be horizontally scrollable. How can I do this?

enter image description here

closed as unclear what you're asking by JGH, neogeomat, Fran Raga, TomazicM, LaughU Sep 23 at 6:15

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

Browse other questions tagged or ask your own question.