adding the pa map viewer api to the project