Package com.google.gwt.maps.client

Examples of com.google.gwt.maps.client.InfoWindow.open()


            panel.add(new DivWidget("Trip: " + trip.getId()));
            panel.add(new DivWidget("Destination: "
                + bean.getTrip().getTripHeadsign()));

            InfoWindow window = _map.getInfoWindow();
            window.open(point, new InfoWindowContent(panel));
          }
        });

      }
    }
View Full Code Here


    panel.add(new DivWidget("Stop # " + stop.getId()));
    panel.add(new DivWidget("Travel Time: " + (_bean.getTime() / 60) + " mins"));

    MapWidget map = _mapManager.getMapWidget();
    InfoWindow window = map.getInfoWindow();
    window.open(_point, new InfoWindowContent(panel));
  }

}
View Full Code Here

        }
      });
      rowB.add(anchor);
    }

    window.open(p, new InfoWindowContent(panel));
  }

  private class StopClickedHandlerImpl implements StopClickedHandler {

    @Override
View Full Code Here

      panel.add(anchorRow);
      anchorRow.add(anchor);

      InfoWindow window = _map.getInfoWindow();
      LatLng point = LatLng.newInstance(stop.getLat(), stop.getLon());
      window.open(point, new InfoWindowContent(panel));
    }

  }

  private void updateCurrentLocationMarker(double lat, double lon) {
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.