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?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
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/