On May 26, 4:00 pm, mp- <miche...@gmail.com> wrote:
> I've removed the GSize element
>
> @Larry - I switched back to using the old way to load google maps
>
> <script src="http://maps.google.com/maps?
> file=api&amp;v=2&amp;sensor=false&amp;key=MY_KEY" type="text/
> javascript"></script>
>
> Now it seems like my map isn't loading at all now.
>
> Any ideas.  Thanks for the help.

You also removed this:
        baseIcon.iconSize = new GSize(18, 24);

And haven't addressed the timing dependencies.

I did a quick test and added a normal load of the API before the
include of the ewindow.js, but left your jsapi loader alone and it
seemed to work (it isn't on your server, so it doesn't get any actual
data, but it didn't get the GSize error).  You wouldn't want to do it
like that for real (it loads the API twice), you either want to use
the dynamic loader, and work through the dependencies or use the
normal loader and work through the timing.

  -- Larry



>
> On May 26, 5:48 pm, "geocode...@gmail.com" <geocode...@gmail.com>
> wrote:
>
>
>
> > On May 26, 3:14 pm, mp- <miche...@gmail.com> wrote:
>
> > > @Larry, @Ross, @all
>
> > > Here is my code without using EWindow
>
> > >http://tinyurl.com/withoutewindow
>
> > > Here is my code using EWindow
>
> > >http://tinyurl.com/withewindow
>
> > I get a straight forward javascript error GSize is undefined.
>
> > You need to load the API before the ewindow javascript.  You are using
> > the jsapi loader, so you need to load it in the callback routine,
> > before using it on the map.
>
> >   -- Larry
>
> > > Any ideas why it's not working?  I've added some alert messages to
> > > help pinpoint where the script breaks.
>
> > > Thanks
>
> > > On May 22, 1:26 pm, Rossko <ros...@culzean.clara.co.uk> wrote:
>
> > > > > The script execution stops immediately after the following line of
> > > > > code:
>
> > > > >       map.addOverlay(ew);
>
> > > > > Any ideas?
>
> > > > Yes, there's something wrong in your code.
> > > > We can't see your 
> > > > code.http://groups.google.com/group/Google-Maps-API/web/suggested-posting-...
>
> > > > cheers, Ross K- Hide quoted text -
>
> > > - Show quoted text -- 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 Google-Maps-API@googlegroups.com
To unsubscribe from this group, send email to 
google-maps-api+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Maps-API?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to