Interface IView2ModelAdapter<TPlacesDropListItem>

Type Parameters:
TPlacesDropListItem - The type of item held by the view's combobox of places

public interface IView2ModelAdapter<TPlacesDropListItem>
The adapter from the demo view to its model
Author:
swong
  • Method Summary

    Modifier and Type Method Description
    void addGeoJson()
    Load GeoJSON data from a String
    void exit()
    Quit the demo application
    void goToLatLng​(java.lang.String latStr, java.lang.String lngStr)
    Move the map to the given latitude and longitude
    void goToPlace​(TPlacesDropListItem place)
    Go to the given place selected from the places combobox.
    void loadGeoJson()
    Load GeoJSON data from a URL
    void makeCircle​(java.lang.String latStr, java.lang.String lngStr)
    Make a circle at the the given latitude and longitude
    void makeInfoWin​(java.lang.String latStr, java.lang.String lngStr)
    Make an info window at the the given latitude and longitude
    void makeOverlay​(java.lang.String latStr, java.lang.String lngStr)
    Make a ground overlay at the the given latitude and longitude
    void makePolygon​(java.lang.String latStr, java.lang.String lngStr)
    Make a polygon at the the given latitude and longitude
    void makePolyline​(java.lang.String latStr, java.lang.String lngStr)
    Make a polyline at the the given latitude and longitude
    void makeRectangle​(java.lang.String latStr, java.lang.String lngStr)
    Make a rectangle at the the given latitude and longitude
    void resetMap()
    Test method -- not fully implemented yet.
  • Method Details

    • exit

      void exit()
      Quit the demo application
    • goToLatLng

      void goToLatLng​(java.lang.String latStr, java.lang.String lngStr)
      Move the map to the given latitude and longitude
      Parameters:
      latStr - The desired latitude as a string
      lngStr - The desired longitude as a string
    • makeInfoWin

      void makeInfoWin​(java.lang.String latStr, java.lang.String lngStr)
      Make an info window at the the given latitude and longitude
      Parameters:
      latStr - The desired latitude as a string
      lngStr - The desired longitude as a string
    • makePolygon

      void makePolygon​(java.lang.String latStr, java.lang.String lngStr)
      Make a polygon at the the given latitude and longitude
      Parameters:
      latStr - The desired latitude as a string
      lngStr - The desired longitude as a string
    • makePolyline

      void makePolyline​(java.lang.String latStr, java.lang.String lngStr)
      Make a polyline at the the given latitude and longitude
      Parameters:
      latStr - The desired latitude as a string
      lngStr - The desired longitude as a string
    • makeRectangle

      void makeRectangle​(java.lang.String latStr, java.lang.String lngStr)
      Make a rectangle at the the given latitude and longitude
      Parameters:
      latStr - The desired latitude as a string
      lngStr - The desired longitude as a string
    • makeCircle

      void makeCircle​(java.lang.String latStr, java.lang.String lngStr)
      Make a circle at the the given latitude and longitude
      Parameters:
      latStr - The desired latitude as a string
      lngStr - The desired longitude as a string
    • resetMap

      void resetMap()
      Test method -- not fully implemented yet.
    • makeOverlay

      void makeOverlay​(java.lang.String latStr, java.lang.String lngStr)
      Make a ground overlay at the the given latitude and longitude
      Parameters:
      latStr - The desired latitude as a string
      lngStr - The desired longitude as a string
    • loadGeoJson

      void loadGeoJson()
      Load GeoJSON data from a URL
    • addGeoJson

      void addGeoJson()
      Load GeoJSON data from a String
    • goToPlace

      void goToPlace​(TPlacesDropListItem place)
      Go to the given place selected from the places combobox.
      Parameters:
      place - The place to go to