Fixed Multiple map requests in the same appp

Added functionality for multiple maps in an app. Needed for appforms.