public static class

CustomParams.Builder

extends CustomMapParams.Builder<M extends CustomMapParams, B extends Builder<M, B>>
java.lang.Object
   ↳ com.mapsted.positioning.CoreParams.Builder<M extends com.mapsted.positioning.CoreParams, B extends com.mapsted.positioning.CoreParams.Builder<M, B>>
     ↳ com.mapsted.map.views.CustomMapParams.Builder<M extends com.mapsted.map.views.CustomMapParams, B extends com.mapsted.map.views.CustomMapParams.Builder<M, B>>
       ↳ com.mapsted.ui.CustomParams.Builder<U extends com.mapsted.ui.CustomParams, B extends com.mapsted.ui.CustomParams.Builder<U, B>>

Summary

Public Methods
CustomParams build()
Building the Custom Params will initialize the SDK variables.
B setAutoRequestLocationPermissions(boolean autoRequest)
Configure whether or not to automatically request location permissions
B setDefaultDistanceUnit(int distanceUnit)
Set the default distance units (default is auto)
B setDefaultMapUiContainerVisibility(boolean visible)
Configure whether or not to automatically set the mapUiContainer visibility to visible.
B setEnableBlueDotCustomizationSettings(boolean enable)
Control whether or not to show BlueDot customization settings
B setEnableBluetoothPermission(boolean permission)
Configure whether or not to automatically set the bluetooth permission.
B setEnableBuildingInfo(boolean enable)
Control whether or not to show building info button Default is false
B setEnableEntitySelectionView(boolean enable)
Control whether or not to show the UI when an entity is selected Default is true
B setEnableItinerary(boolean enable)
Control whether or not to show the itinerary UI Default is true
B setEnableMapOverlaysInSearch(boolean enable)
B setEnableMapstedLogos(boolean enable)
Whether or not to enable Mapsted Logo within map-ui-sdk UI
B setEnablePropertyListSelection(boolean enable)
Control whether or not to show property list selection button Default is false
B setEnableSearchBar(boolean enable)
Control whether or not to show the search bar UI on the map fragment Default is true
B setEnableStagingEnvironmentSettings(boolean enable)
Control whether or not to show staging Environment settings
B setEnableTagUI(boolean enable)
Control whether or not to show the tag UI on the map fragment Default is true
B setShowPropertyListOnMapLaunch(boolean enable)
Control whether or not the property list should launch when the map is first opened.
[Expand]
Inherited Methods
From class com.mapsted.map.views.CustomMapParams.Builder
From class com.mapsted.positioning.CoreParams.Builder
From class java.lang.Object

Public Methods

public CustomParams build ()

Building the Custom Params will initialize the SDK variables. This must be called prior to initializing the SDK or the behaviour may be undefined.

public B setAutoRequestLocationPermissions (boolean autoRequest)

Configure whether or not to automatically request location permissions

Parameters
autoRequest whether or not to auto request location permissions
Returns
  • the builder

public B setDefaultDistanceUnit (int distanceUnit)

Set the default distance units (default is auto)

Parameters
distanceUnit distance units to use
Returns
  • the builder

public B setDefaultMapUiContainerVisibility (boolean visible)

Configure whether or not to automatically set the mapUiContainer visibility to visible. Default value is true.

Parameters
visible Whether or not to set map ui container to visible by default
Returns
  • the builder

public B setEnableBlueDotCustomizationSettings (boolean enable)

Control whether or not to show BlueDot customization settings

Parameters
enable Control whether or not to show BlueDot customization settings
Returns
  • the builder

public B setEnableBluetoothPermission (boolean permission)

Configure whether or not to automatically set the bluetooth permission. Default value is true.

Parameters
permission Whether or not to ask bluetooth permission
Returns
  • the builder

public B setEnableBuildingInfo (boolean enable)

Control whether or not to show building info button Default is false

Parameters
enable whether or not to enable the view

public B setEnableEntitySelectionView (boolean enable)

Control whether or not to show the UI when an entity is selected Default is true

Parameters
enable whether or not to enable the view

public B setEnableItinerary (boolean enable)

Control whether or not to show the itinerary UI Default is true

Parameters
enable whether or not to enable the view

public B setEnableMapOverlaysInSearch (boolean enable)

public B setEnableMapstedLogos (boolean enable)

Whether or not to enable Mapsted Logo within map-ui-sdk UI

Parameters
enable whether or not to enable
Returns
  • the builder

public B setEnablePropertyListSelection (boolean enable)

Control whether or not to show property list selection button Default is false

Parameters
enable whether or not to enable the view

public B setEnableSearchBar (boolean enable)

Control whether or not to show the search bar UI on the map fragment Default is true

Parameters
enable whether or not to enable the view

public B setEnableStagingEnvironmentSettings (boolean enable)

Control whether or not to show staging Environment settings

Parameters
enable Control whether or not to show staging Environment settings

public B setEnableTagUI (boolean enable)

Control whether or not to show the tag UI on the map fragment Default is true

Parameters
enable whether or not to enable the view

public B setShowPropertyListOnMapLaunch (boolean enable)

Control whether or not the property list should launch when the map is first opened. Note this will only be the case when a property is not already selected.

Parameters
enable whether or not to show the propertylist on launch of the map