Configuring Google Maps for MicroStrategy

Hello there!

Today I’m going to teach you how to configure Google Maps API for MicroStrategy.

To do that you have to:

1. Go to: https://code.google.com/apis/console

2. Click on API and Authentication and click on APIs

pic

* Sorry because mine is in Portuguese.

3. Look for: Google Maps JavaScript API v3

4. Click on Google Maps JavaScript API v3 and Enable it

pic

5. Click on Credentials in the API and Authentication menu

pic

6. Click on the button: Create new key

pic

7. Use the browse key

pic

8. If you use ASP.NET you must insert this URL:

  • http://SERVERNAME/MicroStrategy/asp/Main.aspx*

If you use J2EE:

  • http://SERVERNAME:PORTNUMBER/MicroStrategy/servlet/mstrWeb*

In my case I’ve used for ASP.NET:

And for J2EE:

Now you have an API KEY!

9. Go to C:\Program Files (x86)\MicroStrategy\GISConnectors\GoogleMap (default MSTR Installation folder)

10. If you use ASP.NET open the ConnectorForGoogleMap_ASP folder and copy the folder: ConnectorForGoogleMap to your plugin folder of your Web ASPx folder.

In my case:

C:\Program Files (x86)\MicroStrategy\Web ASPx\plugins

pic

If  you use Tomcat, use the ConnectorForGoogleMap folder that is inside the ConnectorForGoogleMap folder. Paste this second ConnectorForGoogleMap folder inside your Webapps/MicroStrategy/plugin folder.

11. Open this pasted Google Maps plugin folder and browse to: ConnectorForGoogleMap\WEB-INF\xml\config\google

12. Edit the googleConfig.xml file

13. Change the tag:

<mk isPremier=”true”>InvalidPremierKey</mk> 

to:

<mk isPremier=”false”>YOUR GOOGLE MAPS API KEY</mk>

Example:

<mk isPremier=”false”>AIzGSCird6Wo5TFLASD2_UoVfembPd4</mk>  (it is not a valid key)

14. Restart your IIS or J2EE Web Server.

Now you can use Google Maps for MicroStrategy.

Hope it helps!

God bless you!

8 Replies to “Configuring Google Maps for MicroStrategy”

  1. hi, i followed this post but getting following error while adding google map
    Cannot read property ‘addEventListener’ of undefined

    Like

  2. If i want to have a Google Maps Integration with IOS and Android i need to have a two different types of keys? IOS and Android instead of Browser Key

    Like

      1. How about Android? Because i’m getting the Android Key from google and still getting an error “please contact Microstrategy Techincal Support to obtain a map key”

        Like

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s