Closed samsondav closed 10 years ago
which version do you use?
Latest published gem, 2.1.2 I think.
Ok, the api key is supposed to be added in the script url right?
Whats the issue then?
Sent from my iPhone
On 27 mai 2014, at 18:33, Sam Philip notifications@github.com wrote:
Latest published gem, 2.1.2 I think.
— Reply to this email directly or view it on GitHub.
Aaah.
So I put it in this script line:
<script src="//maps.google.com/maps/api/js?v=3.13&sensor=false&libraries=geometry" type="text/javascript"></script>
e.g.
<script src="//maps.google.com/maps/api/js?key=XXXX&v=3.13&sensor=false&libraries=geometry" type="text/javascript"></script>
?
Did you read google maps doc? https://developers.google.com/maps/documentation/javascript/tutorial?hl=fr#Loading_the_Maps_API
<script src="https://maps.googleapis.com/maps/api/js?key=API_KEY&sensor=SET_TO_TRUE_OR_FALSE" type="text/javascript">
On 27 May 2014, at 19:11, Sam Philip notifications@github.com wrote:
Aaah.
So I put it in this script line:
e.g.
?
— Reply to this email directly or view it on GitHub.
OK, thanks for clearing that up. It works great now. Thanks again for the gem!
I want to use an API key with Google Maps.
Where should I specify this in gmaps4rails?