Difference between revisions of "Get Google Maps key"

From Kolmisoft Wiki
Jump to navigationJump to search
(New page: You need a Google maps key to use Google maps plugin. * Go to [http://code.google.com/apis/maps/signup.html Google] * Write your site in the text box below. Note that http://1.2.3.4 diffe...)
 
 
(12 intermediate revisions by 3 users not shown)
Line 1: Line 1:
You need a Google maps key to use Google maps plugin.
[[Image:gmaps.jpg|right|400px]]
* Go to [http://code.google.com/apis/maps/signup.html Google]  
* Write your site in the text box below. Note that http://1.2.3.4 differs from http://yoursite.com so enter hostname that you will use to access your site.
* Press "Generate API key" and Google will give you your key.
* Open file gmaps_api_key.yml in your mor/config directory.
* Insert you key after "production:" keyword. Note that whitespace is required before your key.
Your configuration file should look something like this:


development:
You need a Google maps key to use the Google maps plugin.
  ABCxAAAAU74xze_Bywpf2LXff17o1BT2yXp_ZAY8_uxx3CFXhHIE1NvwkxxRzvHlBiaYD2ewTrUdaqkoGBYGyg
* Go to [https://developers.google.com/maps/documentation/javascript/get-api-key Google Maps API key].
test:
* Click on '''GET A KEY'''.
  ABCxAAAAU74xze_Bywpf2LXff17o1BT2yXp_ZAY8_uxx3CFXhHIE1NvwkxxRzvHlBiaYD2ewTrUdaqkoGBYGyg
* Create a new project.
production:
* Create a browser key for your domain. For example *localhost/*. Google will give you your key.
  ABCxAAAAU74xze_Bywpf2LXff17o1BT2yXp_ZAY8_uxx3CFXhHIE1NvwkxxRzvHlBiaYD2ewTrUdaqkoGBYGyg
* Insert this key in '''SETTINGS -> Setup –> Settings –> Various –> Google Maps API key'''.
* Click '''Save changes'''.

Latest revision as of 06:40, 5 July 2016

Gmaps.jpg

You need a Google maps key to use the Google maps plugin.

  • Go to Google Maps API key.
  • Click on GET A KEY.
  • Create a new project.
  • Create a browser key for your domain. For example *localhost/*. Google will give you your key.
  • Insert this key in SETTINGS -> Setup –> Settings –> Various –> Google Maps API key.
  • Click Save changes.