i am using Eclipse with: GooglePlugin for Eclipse 3.4 Google Web Toolkit SDK 1.7.0
i get WARNING: 'com.google.gwt.dev.GWTCompiler' is deprecated and will be removed in a future release. Use 'com.google.gwt.dev.Compiler' instead. every time i compile, but i did not find how to change to GWTShell. and yes, iam running it from jar, not from source. 2009/7/16 Eric Ayers <[email protected]> > > The source helps a little bit, in that this call happens to be your > first reference to the Maps API in these methods. > > - What version of GWT are you using? > - I assume you get the link error in hosted mode. Are you using > HostedMode, GWTShell, (are you trying to use OOPHM as your hosted mode > shell?) > - Are you using the Google Plugin? > - Are you running from the gwt-maps.jar from gwt-maps 1.0.4 or are > you using source? If running from source, could it be you have an > incomplete checkout? > > Have you tried compiling and running in web mode? > > On Thu, Jul 16, 2009 at 4:37 AM, lumo<[email protected]> wrote: > > i doubt that this will help much but... > > > > public String toBioMarker() { > > String jsResultclass = dataString.substring(0, > > dataString.indexOf("{")); > > String classData = dataString.substring(dataString.indexOf("{") + > 1, > > dataString.length() - 1); > > String[] parameterValues = classData.split(";"); > > > > int markerID = (Integer) getParamValue(parameterValues[0]); > > boolean markerIsModyfied = (Boolean) > > getParamValue(parameterValues[1]); > > String markerIconColor = (String) > getParamValue(parameterValues[2]); > > String markerLetter = (String) getParamValue(parameterValues[3]); > > String markerTitle = (String) getParamValue(parameterValues[4]); > > String markertSiteName = (String) > getParamValue(parameterValues[5]); > > double markerLongitude = (Double) > getParamValue(parameterValues[6]); > > double markerLatitude = (Double) > getParamValue(parameterValues[7]); > > int markerAltitude = (Integer) getParamValue(parameterValues[8]); > > int markerBlurradius = (Integer) > getParamValue(parameterValues[9]); > > > > boolean debug = true; > > > > if (debug) { > > System.out.println("Class = " + jsResultclass); > > System.out.println("markerID = " + markerID); > > System.out.println("markerIsModyfied = " + markerIsModyfied); > > System.out.println("markerIconColor = " + markerIconColor); > > System.out.println("markerLetter = " + markerLetter); > > System.out.println("markerTitle = " + markerTitle); > > System.out.println("markertSiteName = " + markertSiteName); > > System.out.println("markerLongitude = " + markerLongitude); > > System.out.println("markerLatitude = " + markerLatitude); > > System.out.println("markerAltitude = " + markerAltitude); > > System.out.println("markerBlurradius = " + markerBlurradius); > > } > > > > // create the marker > > LatLng point = LatLng.newInstance(markerLongitude, > markerLatitude); > > > > Icon myIcon = Icon.newInstance(); > > myIcon.setImageURL(ROOT + "res/marker/" + color + "/marker" + > letter > > + ".png"); > > myIcon.setShadowURL(ROOT + "res/marker/shadow50.png"); > > myIcon.setIconSize(Size.newInstance(20, 34)); > > myIcon.setShadowSize(Size.newInstance(37, 34)); > > myIcon.setIconAnchor(Point.newInstance(9, 34)); > > myIcon.setInfoWindowAnchor(Point.newInstance(9, 34)); > > // marker options > > MarkerOptions mo = MarkerOptions.newInstance(); > > mo.setIcon(myIcon); > > mo.setTitle(markerTitle); // tooltip > > mo.setClickable(true); > > mo.setDraggable(true); > > > > Marker marker = new Marker(point, mo); > > > > return "data of the marker is now available for tSite!"; > > } > > > > in the mean time i changed my code (i left out the creation of a marker > > object) and send back just the plain text properties (will combine the > data > > in a private object at a later time) > > > > > > > > > > > -- > Eric Z. Ayers - GWT Team - Atlanta, GA USA > http://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 -~----------~----~----~----~------~----~------~--~---
