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)

--~--~---------~--~----~------------~-------~--~----~
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