Error Gbrowseriscompatible Is Not Defined Source
Contents |
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more uncaught referenceerror: google is not defined about Stack Overflow the company Business Learn more about hiring developers or posting ads google is not defined javascript error with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow referenceerror google is not defined google.maps.event.adddomlistener(window 'load' initialize) is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Google Maps API JavaScript error when GBrowserIsCompatible() is called up vote 2
Google Is Not Defined Maps Api V3
down vote favorite I get an error on the following line: if (GBrowserIsCompatible()) { this is my code still not working javascript google-maps share|improve this question edited Feb 23 '11 at 16:55 nyuszika7h 3,69823045 asked Feb 23 '11 at 13:47 shanmugavel-php 3211316 Could you be more specific on what error do you get and in which browsers? –nyuszika7h Feb 23 '11 at 13:53 1 When are you calling initialize? If you're calling before the page loads then that's probably the issue –Bob Feb 23 '11 at 17:17 add a comment| 3 Answers 3 active oldest votes up vote 3 down vote Did you load the Google Maps API with your own API key? Source: http://code.google.com/p/jmaps/issues/detail?id=12 Update Check out the troubleshooting page for IE. Maybe you're checking for it too early. Try something like this: var iterations = 0; function check_compat() { if (iterations === 75) { alert('Failed to load Google Maps API. Clear your browser cache, open Google Maps then try again.'); return; } if (typeof GBrowserIsCompatible === 'undefined') { // It isn't loaded, schedule the next check. setTimeout(check_compat, 200); iterations++; } else { if (GBrowserIsCompatible()) { mapReadyFn(); } else { alert('Sorry, your browser is not support
från GoogleLogga inDolda fältSök efter grupper eller meddelanden
that make connections all over the world. Join today Download & Extend Drupal Core Distributions Modules Themes GMap ModuleIssues Javascript https://www.drupal.org/node/176743 error: Gmap2, Gmarker are undefined Closed (fixed)Project:GMap ModuleVersion:5.x-1.x-devComponent:CodePriority:CriticalCategory:Bug reportAssigned:UnassignedReporter:opriorCreated:September 18, 2007 - 22:02Updated:September 18, 2007 - 23:27 Log in or register to update this issue Hey y'all.... I've set up everything correctly (Input type, API key, etc) as per the Readme, but I can't get the Macro builder working. Error: GMap2 is not defined is not Source File: http://qclangley.plexio.com:8080/drupal/sites/all/modules/gmap/js/gmap.js Line: 124 Error: GMarker is not defined Source File: http://qclangley.plexio.com:8080/drupal/sites/all/modules/gmap/js/overla... Line: 130 I've setup a test page on my server so I know it's not my API: http://qclangley.plexio.com:8080/drupal/maptest.html And I also can't display someone else's macro code in my own node: http://qclangley.plexio.com:8080/drupal/node/4048 The maps code is there in the pages if you is not defined look at the source, but the javascript error is blocking it's reder (I presume)... anyone have any ideas? (here's hoping someone responds to this, my last 8 bug reports and support requests have all been met with resounding silence) Thanks, Owen Comments Comment #1 bdragon CreditAttribution: bdragon commented September 18, 2007 at 10:23pm Google Maps isn't being included. I am guessing your theme is neglecting to print $head; inside the
tag. Log in or register to post comments Comment #2 oprior CreditAttribution: oprior commented September 18, 2007 at 11:27pm Status: Active » Closed (fixed) THANK YOU!!!! FIXED IT. Log in or register to post comments Add child issue, clone issue News itemsDrupal news Planet Drupal Association news Social media directory Security announcements Jobs Our communityCommunity Getting involved Services, Training & Hosting Groups & Meetups DrupalCon Code of conduct DocumentationDocumentation Drupal 8 docs Drupal 7 docs Developer docs api.drupal.org Drupal code baseDownload & Extend Drupal core Modules Themes Distributions Governance of c