Thursday, September 12, 2013

Enable Google Map Widget on Web

These steps are for getting Google Maps to work on DHTML 9.X

Although there are many blogs and posts on this topic, I have had to do this so often that I decided to post my steps anyway:



(I am assuming that you are using web ASP)
  1. On the MSTR Server, open "C:\Program Files (x86)\MicroStrategy\GISConnectors\GoogleMap\ConnectorForGoogleMap_ASP"
  2. Copy the "ConnectorForGoogleMap" folder
  3. Paste folder into "C:\Program Files (x86)\MicroStrategy\Web ASPx\plugins"
  4. Edit the "googleConfig.xml" file located in "C:\Program Files (x86)\MicroStrategy\Web ASPx\plugins\ConnectorForGoogleMap\WEB-INF\xml\config\google"
  5. change [isPremier="true"] to [isPremier="false"] and save
  6. Restart the Web Server
  7. In your document select the appropriate DHTML widget called "Map"
For a great post on this subject, check out http://raysfromlife.blogspot.com/2012/02/microstrategy-with-google-map.html.

------------
Update: 14 March 2014

A client got the following error when trying the run the Google Maps Widget for DHTML

>> "Google has disabled use of the Maps API for this application. This site is not authorized to use the Google Maps client ID provided"

It seems that it is now necessary to register an API key for DHTML (the free API key works)

1. Register on https://console.developers.google.com
2. Create a project
3. Make sure to activate the "Google Maps JavaScript API v3" api
4. Create a new key for public API access. Make sure it is the key for "Server Applications". If you want the request to work from any ip address, leave the ip address list empty
5. Now go back to step #5 where you change isPremier to "false" and paste your new API key between the <mk isPremier="false"> and </mk> tags, replacing anything that was there
6. Restart your webserver and test



1 comment:

  1. It can't tease aside which of those directions of causality matches our knowledge best. Experimental and longitudinal 온라인 카지노 work is desperately needed to understand these items. However, in both case, we'd argue that loot bins may be be} linked to social harm. In one case, loot bins are causing problem gambling amongst older adolescents. In the other, they're exploiting problem gambling in this vulnerable age group have the ability to} generate massive earnings.

    ReplyDelete