Added getMapSettings() to ai API. Fixes #88