Re: Error: google.maps.LatLng is not a constructor

3,465 views
Skip to first unread message
Message has been deleted

geoco...@gmail.com

unread,
Nov 11, 2011, 6:59:31 PM11/11/11
to Google Maps JavaScript API v3
On Nov 11, 11:14 am, Mast Nistrador <mastrad...@gmail.com> wrote:
> I don't know what is wrong since it appeared and vanished yesterday. Today
> reappeared to stay (?).

Do you use the Error Console in Firefox?

It tells me:
======================================================
Error: syntax error
Source File: http://www.carcaixentabocat.co.cc/
Line: 1, Column: 11
Source Code:
$.scrollTo(
======================================================
Error: a is undefined
Source File: http://maps.gstatic.com/intl/en_us/mapfiles/api-3/7/0/main.js
Line: 19
======================================================

Fix those issues.

-- Larry

> Please help. Map won't load!
>
> Website:http://www.carcaixentabocat.co.cc
>
> Thank you!

Mast Nistrador

unread,
Nov 11, 2011, 9:08:16 PM11/11/11
to google-map...@googlegroups.com
Thank you Larry, I found that one appearing irregularly too. Maybe it has to do with loading times... the code is a mess full of old stuff in comments (until I have everything running). Just after publishing this, the page loaded flawless again (slow, but flawless) and without any trace of that "google.maps.LatLng" related message (nor the "$.scrollTo").  BTW, yes, I use Firebug. Also I modified the code to load a local jQuery library script instead of the online "latest".

Any idea of what can be causing this misbehaviour? (Try to reload it a set of times and maybe you'll get too those different behaviours...)

Thanks again!

Pasq.
Reply all
Reply to author
Forward
0 new messages