Skip to main content

Highlight Buildings

Contents

Highlight a 2D building when the user clicks on it.

activity_sample_highlight_building.xml

<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_height="match_parent" android:layout_width="match_parent">
<com.trimblemaps.mapsdk.maps.MapView android:id="@+id/mapView" android:layout_width="match_parent" android:layout_height="match_parent"/>
</FrameLayout>

Sample Code

Last updated May 29, 2024.
Contents