Package org.vaadin.hezamu.googlemapwidget.overlay

Examples of org.vaadin.hezamu.googlemapwidget.overlay.BasicMarker


      googleMap.setWidth("1000px");
      googleMap.setHeight("730px");
      // googleMap.setSizeFull();
      googleMap.setImmediate(true);

      casablanca = new BasicMarker(1L, new Point2D.Double(-7.589722,
          33.367222), "Aéroport international de Mohamed V");
      casablanca.setDraggable(false);
      casablanca.setInfoWindowContent(null,
          createInfoWindow(casablanca.getTitle()));

      rabat = new BasicMarker(2L,
          new Point2D.Double(-6.750000, 34.050000),
          "Aéroport de Rabat/Salé");
      rabat.setDraggable(false);
      rabat.setInfoWindowContent(null, createInfoWindow(rabat.getTitle()));

      guelmimAirBase = new BasicMarker(3L, new Point2D.Double(-10.052284,
          29.025658), "Guelmim Air Base");
      guelmimAirBase.setDraggable(false);
      guelmimAirBase.setInfoWindowContent(null,
          createInfoWindow(guelmimAirBase.getTitle()));

      agadir = new BasicMarker(4L, new Point2D.Double(-9.546196,
          30.380894), "AGADIR Al Massira");
      agadir.setDraggable(false);
      agadir.setInfoWindowContent(null,
          createInfoWindow(agadir.getTitle()));

      oujda = new BasicMarker(5L,
          new Point2D.Double(-1.925556, 34.786111), "Aéroport Angads");
      oujda.setDraggable(false);
      oujda.setInfoWindowContent(null, createInfoWindow(oujda.getTitle()));

      fes = new BasicMarker(6L, new Point2D.Double(-4.979167, 33.927222),
          "Aéroport de Saiss");
      fes.setDraggable(false);
      fes.setInfoWindowContent(null, createInfoWindow(fes.getTitle()));

      marrakech = new BasicMarker(7L, new Point2D.Double(-8.036284,
          31.606975), "Aéroport international de Menara");
      marrakech.setDraggable(false);
      marrakech.setInfoWindowContent(null,
          createInfoWindow(marrakech.getTitle()));

      tanger = new BasicMarker(8L, new Point2D.Double(-5.922038,
          35.729202), "Aéroport international Ibn Batouta");
      tanger.setDraggable(false);
      tanger.setInfoWindowContent(null,
          createInfoWindow(tanger.getTitle()));

      hoceima = new BasicMarker(9L, new Point2D.Double(-3.839891,
          35.179557), "Aéroport Idrissi Cherif");
      hoceima.setDraggable(false);
      hoceima.setInfoWindowContent(null,
          createInfoWindow(hoceima.getTitle()));

      errachidia = new BasicMarker(10L, new Point2D.Double(-4.399053,
          31.947011), "Aéroport de Moulay Ali Cherif");
      errachidia.setDraggable(false);
      errachidia.setInfoWindowContent(null,
          createInfoWindow(errachidia.getTitle()));

      tetouan = new BasicMarker(11L, new Point2D.Double(-5.316667,
          35.583332), "Aéroport de Sania Ramel");
      tetouan.setDraggable(false);
      tetouan.setInfoWindowContent(null,
          createInfoWindow(tetouan.getTitle()));

      zate = new BasicMarker(12L,
          new Point2D.Double(-6.909488, 30.939036),
          "Aéroport Ouarzazate");
      zate.setDraggable(false);
      zate.setInfoWindowContent(null, createInfoWindow(zate.getTitle()));

      nador = new BasicMarker(13L, new Point2D.Double(-3.029180,
          34.989125), "Aéroport international de Nador");
      nador.setDraggable(false);
      nador.setInfoWindowContent(null, createInfoWindow(nador.getTitle()));

      essaouira = new BasicMarker(14L, new Point2D.Double(-9.683933,
          31.396647), "Aéroport de Mogador");
      essaouira.setDraggable(false);
      essaouira.setInfoWindowContent(null,
          createInfoWindow(essaouira.getTitle()));
View Full Code Here


    googleMap.setWidth("640px");
    googleMap.setHeight("480px");

    // Create a marker at the IT Mill offices
    mark1 = new BasicMarker(1L, new Point2D.Double(22.3, 60.4522),
        "Test marker 1");

    mark2 = new BasicMarker(2L, new Point2D.Double(22.4, 60.4522),
        "Test marker 2");

    mark3 = new BasicMarker(4L, new Point2D.Double(22.6, 60.4522),
        "Test marker 3");

    mark4 = new BasicMarker(5L, new Point2D.Double(22.7, 60.4522),
        "Test marker 4");

    // Marker with information window pupup
    mark5 = new BasicMarker(6L, new Point2D.Double(22.8, 60.4522),
        "Marker 5������'\"");
    mark5.setInfoWindowContent(googleMap, new Label("Hello Marker 5!"));

    Label content = new Label("Hello Marker 2!");
    content.setWidth("60px");
View Full Code Here

TOP

Related Classes of org.vaadin.hezamu.googlemapwidget.overlay.BasicMarker

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.