[Map] add polyline support

by @sblondeau

Some issues have been detected in this pull request

0
Coding Standard

0
Common Typos

0
File Permissions

Issues that cannot be fixed automatically

in Commits list, a `git rebase` is needed to remove any merges
  • Merge branch '2.x' into feat/add-polylines

0
Exception Messages Formatting

0
Usage of void in test files

0
Use ::class whenever possible

0
Deprecation Messages