Package com.google.maps.gwt.client

Examples of com.google.maps.gwt.client.MarkerOptions


    myOptions.setMapTypeId(MapTypeId.ROADMAP);

    GoogleMap map = GoogleMap.create(
        Document.get().getElementById("map_canvas"), myOptions);
    System.out.println("llega a crear el mapa !!");
    MarkerOptions markerOpts = MarkerOptions.create();
    markerOpts.setPosition(myLatLng);
    markerOpts.setTitle(address);
    markerOpts.setMap(map);

    final Marker marc = Marker.create(markerOpts);

  }
View Full Code Here


            trozos[1]));

        InfoWindowOptions infoWindowOpts = InfoWindowOptions.create();
        infoWindowOpts.setContent("<h4>" + trozos[2] + "</h4>");
        final InfoWindow infoWindow = InfoWindow.create(infoWindowOpts);
        MarkerOptions markerOpts = MarkerOptions.create();
        markerOpts.setPosition(pto);
        markerOpts.setTitle(trozos[2]);
        markerOpts.setMap(map);
        final Marker marc = Marker.create(markerOpts);
        marc.addClickListener(new ClickHandler() {

          @Override
          public void handle(MouseEvent event) {
View Full Code Here

    myOptions.setMapTypeId(MapTypeId.ROADMAP);

    GoogleMap map = GoogleMap.create(
        Document.get().getElementById("map_canvas"), myOptions);
    System.out.println("llega a crear el mapa !!");
    MarkerOptions markerOpts = MarkerOptions.create();
    markerOpts.setPosition(myLatLng);
    markerOpts.setTitle(address);
    markerOpts.setMap(map);

    Marker marc = Marker.create(markerOpts);
    if (porc < 34.0)
      marc.setIcon("http://maps.google.com/mapfiles/ms/icons/blue-dot.png");
    else if (porc < 51)
View Full Code Here

TOP

Related Classes of com.google.maps.gwt.client.MarkerOptions

Copyright © 2018 www.massapicom. 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.