* Gets the array of map types registered with this map.
*
* @return the map types registered with this map
*/
public MapType[] getMapTypes() {
new ControlPosition(ControlAnchor.BOTTOM_LEFT, 0, 0);
JSList<MapType> types = MapImpl.impl.getMapTypes(jsoPeer);
MapType[] returnValue = new MapType[types.size()];
JsUtil.toArray(types, returnValue);
return returnValue;
}