WHOOPS, little trigger happy.

The exception I get it:

"Uncaught Exception: java.lang.ExceptionInitilizationError"
"Caused by: com.google.gwt.core.client.JavaScriptException:
(TypeError) Object expected number: -2146823281"

I'm just trying to make a basic little map, which I pulled out of one
of the sample files:

MapWidget map = new MapWidget(new LatLng(37.4419, -122.1419), 13);

map.setSize("500px", "300px");
map.addControl(new SmallMapControl());
map.addControl(new MapTypeControl());

RootPanel.get ().add ( map );

Am I doing something wrong in the code, missing a dependancy? Have you
seen this kind of error before?

Thanks!

Evan



On Aug 25, 11:01 am, Evan Ruff <[EMAIL PROTECTED]> wrote:
> Hey Eric,
>
> Thanks for the tip. I did install that one and it seems to start fine,
> but I get an
>
> "Uncaught Exception: java.lang.ExceptionInitilizationError"
> "Caused by: com.google.gwt.core.client.JavaScriptException:
>
> On Aug 25, 10:23 am, "Eric Ayers" <[EMAIL PROTECTED]> wrote:
>
> > Hi Evan,
>
> > Look for r290 
> > athttp://code.google.com/p/gwt-google-apis/downloads/list?can=1
>
> > Building from the source would be even better, but you need to move up to 
> > 1.5RC2
>
> > On Mon, Aug 25, 2008 at 10:10 AM, Evan Ruff <[EMAIL PROTECTED]> wrote:
>
> > > Hey guys,
>
> > > I'm having some build issuses getting up and running with Google Maps
> > > API. Either I'm attempting to use an old/incompatible jar that I found
> > > or I need to build from source and I'm having some trouble with that
> > > as well.
>
> > > The current JAR that I'm using is gwt-google-apis-r41. When I attempt
> > > to include this in my project and then run the project, it gives me
> > > all sorts of JSNI errors about the long data type. Attempting to build
> > > from source gives me a large number of errors as well that are
> > > probably due to malformed or incorrect environment variables, etc.
>
> > > I was wondering if anyone can tell me hot to get r41 working, or if
> > > someone could just send me a JAR of the latest Google Maps API that is
> > > compatible with 1.5 RC1.
>
> > > Also, if I'm way off here and just totally missing the boat, somebody
> > > give me a eSlap and tell me what I'm missing!
>
> > > Thanks!
>
> > > Evan
>
> > --
> > Eric Z. Ayers - GWT Team - Atlanta, GA USAhttp://code.google.com/webtoolkit/
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" 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-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to