Class BuildingFootprintHighlightLayer

  • All Implemented Interfaces:

    
    public final class BuildingFootprintHighlightLayer
    
                        

    This layer handles the creation and customization of a FillLayer to highlight the footprint of an individual building.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final LatLng getQueryLatLng() This LatLng is used to determine what associated footprint should be highlighted.
      final Unit setQueryLatLng(LatLng queryLatLng) Set the LatLng location of the building footprint highlight layer.
      final Integer getColor() Retrieve the latest set color of the building footprint highlight layer.
      final Unit setColor(Integer color) Set the color of the building footprint highlight layer.
      final Float getOpacity() Retrieve the latest set opacity of the building footprint highlight layer.
      final Unit setOpacity(Float opacity) Set the opacity of the building footprint highlight layer.
      final Unit updateVisibility(Boolean visible) Toggles the visibility of the building footprint highlight layer.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • BuildingFootprintHighlightLayer

        BuildingFootprintHighlightLayer(TrimbleMapsMap trimbleMapsMap)
    • Method Detail

      • getQueryLatLng

         final LatLng getQueryLatLng()

        This LatLng is used to determine what associated footprint should be highlighted.

      • setQueryLatLng

         final Unit setQueryLatLng(LatLng queryLatLng)

        Set the LatLng location of the building footprint highlight layer. The LatLng passed through this method is used to see whether its within the footprint of a specific building. If so, that building's footprint is used for a 2D highlighted footprint.

        Parameters:
        queryLatLng - the new coordinates to use in querying the building layer to get the associated Polygon to eventually highlight.
      • getColor

         final Integer getColor()

        Retrieve the latest set color of the building footprint highlight layer.

      • setColor

         final Unit setColor(Integer color)

        Set the color of the building footprint highlight layer.

        Parameters:
        color - the new color value
      • getOpacity

         final Float getOpacity()

        Retrieve the latest set opacity of the building footprint highlight layer.

      • setOpacity

         final Unit setOpacity(Float opacity)

        Set the opacity of the building footprint highlight layer.

        Parameters:
        opacity - the new opacity value
      • updateVisibility

         final Unit updateVisibility(Boolean visible)

        Toggles the visibility of the building footprint highlight layer.

        Parameters:
        visible - true if the layer should be displayed.