Re: [Google Maps API v2] Getting the Error "This web site needs a different Google Maps API key..."
On 26 June 2011 13:20, Inbal <inbal@vir-tec.net> wrote:
> and now i have a java script error indicating on: URI:
> http://maps.gstatic.com/intl/en_ALL/mapfiles/340c/maps2.api/main.js
> do you have any idea?
This line fails
var map = new GMap2(document.getElementById("map"));
because you don't have an element with id of "map".
You need an identified <div> element in which to put the map.
You appear to have fixed that in the last fifteen seconds.
--
You received this message because you are subscribed to the Google Groups "Google Maps API V2" group.
To post to this group, send email to google-maps-api@googlegroups.com.
To unsubscribe from this group, send email to google-maps-api+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-maps-api?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home