Modify the HTML wrapper, passed as a string, which will be used when rendering the map. You must return the content as a string as it is used during output on the frontend.
If you are using Atlas Novus we would recommend considering a non-legacy hook instead.
- $html: The HTML for the map element (string)
- Return a string from your callback
This is a legacy hook, we do not recommend relying on it for your own code, depending on your needs.