Loading...

Labels

Floating Labels

Mappedin Android SDK automatically labels all locations when the map is initialized with Floating Labels. If you want to customize how the labels are displayed, the automatic labeling can be turned off in MPIOptions.ShowVenue.

MPIOptions.ShowVenue(
labelAllLocationsOnInit = false
)

You can customize properties such as the text and marker colors with a FloatingLabelAppearance -object.

More about customizing Floating Labels in the Mappedin Web SDK Guide

Flat Labels

To use Flat Labels, disable the labeling of all locations on initialization and call mapView.labelAllLocations in the onFirstMapLoaded -callback.

func onFirstMapLoaded() {
mapView.labelAllLocations(MPIOptions.FlatLabelAllLocations())
}

More about customizing Flat Labels in the Mappedin Web SDK Guide

Android v4 - Flat Labels

Was this page helpful?

Next Topic

A-B Wayfinding