I have started playing around with google maps and polygons and I will be honest I am not enjoying myself.
This is the code that gets added when you use the interface and it is insufficient to generate the map properly
<div id="aw-static-gm45777_0" data-ref="@@gm_props zoom_expr="13" polygon_attr_name="scKML" polygon_query_name="KO_Extent_MapPolygons" show_markers="false"~~">
</div>
Here is the code that I have hacked from the Sales Portal (adding my own query etc). This will work
<div style="width:100%;height:500px" id="aw-static-gm75007_0" data-ref="@@gm_props zoom_expr="2" center_condition="50,0" polygon_attr_name="scKML" polygon_query_name="KO_Extent_MapPolygons" polygon_opacity="0.5" polygon_stroke_weight="1" show_markers="false"~~">
</div>
I am a bit old school here in thinking that if I go through the interface that it should ask me to complete the minimum amount of detail required to successfully get a map to show. In the absence of that clear documentation that defines what is needed to generate the output is essential. Neither exist here.
I've had a week now of having to hack things to get what should be simple stuff to work.
This is before I have even started the process of trying to get the Maps API key fixed. Another file that has to be hand hacked and replaced with every update. I won't lie, I am not happy with the (incomplete) state of AIM functionality and documentation at the moment.