hmmm,
my aqMap.js is commented out, do not it is loaded into browser?
<!--
<script src="http://maps.google.com/maps?
file=api&v=2&key=xxx" type="text/javascript"></script>
<script type="text/javascript" src="http://maps.google.com/maps/api/
js?sensor=false">
<script type="text/javascript" src="http://www.google.com/jsapi"></
script>
<script type="text/javascript" src="js/aqMap.js"></script>
-->
also, I need to mention that I am loading map v3:
<script type="text/javascript" src="http://maps.google.com/maps/api/
js?sensor=false"></script>
I think same problem in mapV2
On Feb 16, 12:31 pm, "[email protected]" <[email protected]>
wrote:
> On Feb 16, 11:58 am, "Jbridge.NET" <[email protected]> wrote:
>
> > Now, I have them hard-coded:
>
> > var lat0 = 37.805; //google.loader.ClientLocation.latitude;
> > var lon0 = -122.27; //google.loader.ClientLocation.longitude;
>
> > try and see if the script can *PASS*
>
> Typing "javascript:map_init()" in the address bar of your page with
> the map displayed, makes it display correctly.
>
> However, looking at aqMap.js, it looks like that is setting map to
> null, which may be causing problems (map is not defined when the map
> finishes rendering...)
>
> -- Larry
>
>
>
>
>
> > Many thanks, Marcelo
>
> > On Feb 16, 11:41 am, Marcelo <[email protected]> wrote:
>
> > > On Feb 16, 8:34 pm, "Jbridge.NET" <[email protected]> wrote:
>
> > > > same even I hard-code these 2 numbers, plus map did center right, and
> > > > draw partially.
>
> > > The point is that *WE* cannot help you if the script doesn't get
> > > passed that line when it runs on our computers! Doh!
>
> > > --
> > > Marcelo -http://maps.forum.nu
> > > --
>
> > > > I guess it's related to the layout div. same code works nicely
> > > > at:http://gate1.baaqmd.gov/aq/test.htm
>
> > > > On Feb 16, 11:11 am, Marcelo <[email protected]> wrote:
>
> > > > > On Feb 16, 8:09 pm, "[email protected]" <[email protected]>
> > > > > wrote:
>
> > > > > > On my computer google.loader.ClientLocation fails, so the map
> > > > > > doesn't
> > > > > > get initialized correctly.
>
> > > > > Same here.
> > > > > It'd be advisable to check if google.loader.ClientLocation is defined
> > > > > before trying to read from it.
>
> > > > > --
> > > > > Marcelo -http://maps.forum.nu
> > > > > --
>
> > > > > > -- Larry
>
> > > > > > > TIA- Hide quoted text -
>
> > - Show quoted text -
--
You received this message because you are subscribed to the Google Groups
"Google Maps API" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-maps-api?hl=en.