If it is GWT, this is a snippet of what I use. 

 Icon icon = Icon.getDefaultIcon();
    
    Point anchor = Point.newInstance(16, 0); 
    icon.setInfoWindowAnchor(anchor);
    
    MarkerOptions options = MarkerOptions.newInstance(icon);
    options.setBouncy(true);
    options.setAutoPan(true);
    options.setDraggable(draggable);
    options.setTitle(mapItemData.getName());
    
    LatLng position = LatLng.newInstance(lat, lng);
    marker = new Marker(position, options);
    map.addOverlay(marker);
    
    marker.addMarkerDragEndHandler(new MarkerDragEndHandler() {
      public void onDragEnd(MarkerDragEndEvent event) {
        setPosition();
      }
    });


Brandon Donnelson
http://gwt-examples.googlecode.com


-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine-java/-/UU55Nkh3QjNIb0FK.
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-appengine-java?hl=en.

Reply via email to