Reputation: 21610
I am not able to set up gmap.js I try to google the whole morning but now i am forced to ask to StackOverflow.
I replicate here what i am trying to do to setup a basic map: http://jsfiddle.net/Cfbaa/
Basically i start calling:
- JQuery
- Google map API
- gmap.js (taken from github repo)
- css file (taken from github repo)
Then i call the div for the simple map:
<div id="map"></div>
And initialize jQuery:
$(document).ready(function () {
var map = new GMaps({
div: '#map',
lat: 51.5073346,
lng: -0.1276831,
});
});
Can you tell me please what is wrong there, or what is missing? Thank you very much!
Upvotes: 0
Views: 1209
Reputation: 1392
I have setup into gmap example into jsBin
Please have look, its working perfectly
I think, jsFiddle hasn't load Google map script properly
Upvotes: 1