Package 

Interface AnnotationsController

    • Constructor Detail

    • Method Detail

      • add

         abstract Unit add(List<Annotation> annotations)

        Add Annotations to MapView.

        Parameters:
        annotations - list of annotations you would like to add to map.
      • update

         abstract Unit update(List<Annotation> annotations)

        Update the annotations that have been added

        Parameters:
        annotations - list of annotations you would like to update.
      • updateState

         abstract Unit updateState(Annotation annotation, String state, Float transitionTime)

        Update the state of an annotation. The provided state must be in the current TSS file

        Parameters:
        annotation - the annotation whose state is being updated.
        state - string specifying the state to update to.
        transitionTime - the length of time to transition from one state to another.
      • remove

         abstract Unit remove(List<Annotation> annotations)

        Remove list of Annotations from MapView

        Parameters:
        annotations - list of annotations to remove from the map
      • clear

         abstract Unit clear()

        Clear all annotations from the map. Notes: this will clear all annotations added to this MapView. So if multiple model was adding annotation, they will be cleared too.

      • region

         abstract Camera.Region region(List<Annotation> annotations)

        Get the region that encompasses the given annotations

        Parameters:
        annotations - list of annotations want to show