Reputation: 5274
I've created the following jsFiddle which includes as resources Google Maps API and the gMap jQuery plugin:
http://jsfiddle.net/thompcha/Th8xS/2/
However, I am unable to make the map load. What am I doing wrong?
Upvotes: 0
Views: 603
Reputation: 98718
The gmap plugin is horribly out of date. Google Maps API version 2 requires an API key which is only valid on one particular domain. (It won't work on jsfiddle.net without an API key registered specifically for the jsfiddle.net domain.)
The new Google Map API (v3) does not require an API key. It's also easier to use so you shouldn't need jQuery or a separate jQuery plugin.
http://jsfiddle.net/X5r8r/222/
Upvotes: 1