Since v 2.1.0 you can pass data and settings directly from HTML file. Open ammap.html file in the main folder of downloaded package and view the source of it. You will notice several commented lines there.
This line is can be used for passing data directly to HTML:
so.addVariable("map_data", escape('<map ......>......</map>'));
instead of <map ......>......</map> you have to place xml formatted map data in one line.
The same is with settings:
There is one more variable - "additional_map_settings". You can use it for appending some map settings. This is useful, if you have several maps with similar settings, and you have one file for all of them, but let's say you want to make some small differences. You can use this variable for that:
In v 2.1.0 you can also have multiple settings files. To use several settings files, separate them with commas: