This is a default snippet with wide use for printing google map. This snippet support out-of-the-box:
- different maps on page
- various of initializations, by:
- address
- coordinates with comma
- coordinates in separate attributes
- multiple pins with auto-centering
- prepared event for reDrawMaps, which essentially help for lazy-loading maps, maps hidden inside accordions, maps breaking after windows resize etc...