How to load default avoidance polygons in the ors-map-client?

Hello everyone,
How can I load the default avoidance polygons in the ors-map-client before map loads ?


Hi @mastershaig,

See How to track polygon like official map - #2 by amandus

Hi @mastershaig

Could you please give us more details about what do you mean with “default avoidance polygons”?
Currently, you can draw avoid polygons and they are synchronized with the URL. So If you share/reopen an URL containing avoid polygons, they will be redrawn automatically and avoided on the route.