Class AerisMarkerWindow


  • public abstract class AerisMarkerWindow
    extends Object
    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      com.google.android.gms.maps.model.Marker addGoogleMarker​(com.google.android.gms.maps.GoogleMap map, double latitude, double longitude, com.google.android.gms.maps.model.BitmapDescriptor icon, Object data)
      Default anchor position is (.5f,.5f).
      com.google.android.gms.maps.model.Marker addGoogleMarker​(com.google.android.gms.maps.GoogleMap map, double latitude, double longitude, com.google.android.gms.maps.model.BitmapDescriptor icon, String title, String snippet)
      Will create the default google info window with the marker from the info presented.
      com.google.android.gms.maps.model.Marker addGoogleMarker​(com.google.android.gms.maps.GoogleMap map, com.google.android.gms.maps.model.MarkerOptions options, Object data)  
      abstract void fillView​(android.view.View view, com.google.android.gms.maps.model.Marker marker)
      Be able to take the view created in AerisMarkerWindow getView() and fill it with the data from the marker.
      Object getData​(com.google.android.gms.maps.model.Marker marker)  
      abstract android.view.View getView()
      Get the view that this view should populate.
      abstract void onInfoWindowPressed​(com.google.android.gms.maps.model.Marker marker)  
      void removeMarker​(com.google.android.gms.maps.model.Marker marker)  
      void removeMarkerData​(com.google.android.gms.maps.model.Marker marker)  
    • Constructor Detail

      • AerisMarkerWindow

        public AerisMarkerWindow()
    • Method Detail

      • getView

        public abstract android.view.View getView()
        Get the view that this view should populate.
         Example of construction of a view to return. 
         
         TextView view = (TextView) inflater.inflate(
         		R.layout.some_layout, null);
         
         
        Returns:
        view that should be created.
      • fillView

        public abstract void fillView​(android.view.View view,
                                      com.google.android.gms.maps.model.Marker marker)
        Be able to take the view created in AerisMarkerWindow getView() and fill it with the data from the marker.
        Parameters:
        view - The view to modify.
        marker - The marker to use.
      • onInfoWindowPressed

        public abstract void onInfoWindowPressed​(com.google.android.gms.maps.model.Marker marker)
      • addGoogleMarker

        public com.google.android.gms.maps.model.Marker addGoogleMarker​(com.google.android.gms.maps.GoogleMap map,
                                                                        double latitude,
                                                                        double longitude,
                                                                        com.google.android.gms.maps.model.BitmapDescriptor icon,
                                                                        String title,
                                                                        String snippet)
        Will create the default google info window with the marker from the info presented. Default anchor position is (.5f,.5f).
        Parameters:
        map - GoogleMap
        latitude - double
        longitude - double
        icon - bitmap
        title - String
        snippet - String
        Returns:
        Marker
      • addGoogleMarker

        public com.google.android.gms.maps.model.Marker addGoogleMarker​(com.google.android.gms.maps.GoogleMap map,
                                                                        double latitude,
                                                                        double longitude,
                                                                        com.google.android.gms.maps.model.BitmapDescriptor icon,
                                                                        Object data)
        Default anchor position is (.5f,.5f).
        Parameters:
        map - GoogleMap
        latitude - double
        longitude - double
        icon - bitmap
        data - Object
        Returns:
        Marker
      • addGoogleMarker

        public com.google.android.gms.maps.model.Marker addGoogleMarker​(com.google.android.gms.maps.GoogleMap map,
                                                                        com.google.android.gms.maps.model.MarkerOptions options,
                                                                        Object data)
        Parameters:
        map - GoogleMap
        options - MarkerOptions
        data - Object
        Returns:
        Marker
      • getData

        public Object getData​(com.google.android.gms.maps.model.Marker marker)
      • removeMarker

        public void removeMarker​(com.google.android.gms.maps.model.Marker marker)
      • removeMarkerData

        public void removeMarkerData​(com.google.android.gms.maps.model.Marker marker)