HyperTrackMapAdapter Class Method Reference

This class can be overridden to customise HyperTrackMapFragment interface. An instance of MapAdapter needs to be passed to the method HyperTrackMapFragment#setHTMapAdapter(HyperTrackMapAdapter) as parameter.

Other APIs in MapAdapter can be used to customise UI elements in HyperTrackMapFragment.

Summary

Method Description
getMapFragmentInitialState Implement this method to set initial state for Map View in HyperTrackMapFragment.
getMapPadding Implement this method to set default padding for Map View in HyperTrackMapFragment.
setMyLocationEnabled Implement this method to display Google Map's MyLocation Marker on the MapView.
setMyLocationButtonEnabled Implement this method to display Google Map's MyLocationButton on the MapView.
getResetBoundsButtonIcon Implement this method to provide a Custom Icon to the Reset bounds button.
showHeroMarkerForActionID Implement this method to Show/Hide the Hero Marker for an action.
getHeroMarkerIconForActionID Implement this method to provide a Custom Icon to the hero Marker.
getHeroMarkerViewForActionID Implement this method to provide a Custom View to the Hero Marker.
getHeroMarkerAnchorValues Implement this method to set Anchor values for the Hero Marker.
rotateHeroMarker Implement this method to Set or Unset rotation for the Hero Marker.
showExpectedPlaceMarkerForActionID Implement this method to Show/Hide the Expected Place Marker.
getExpectedPlaceMarkerIconForActionID Implement this method to provide a Custom Icon to the Expected Place Marker.
getExpectedPlaceMarkerViewForActionID Implement this method to provide a Custom View to the Expected Place Marker.
getExpectedPlaceMarkerAnchorValues Implement this method to set Anchor values for the Expected Place Marker.
showMultipleActionsExpectedPlaceMarker Implement this method to Show Expected Place Marker for common layout while tracking Multiple Actions.
getMultipleActionsExpectedPlaceMarkerIcon Implement this method to provide a Custom Icon for common Expected Place Marker while tracking Multiple Actions
getMultipleActionsExpectedPlaceMarkerView Implement this method to provide a Custom View for common Expected Place Marker while tracking Multiple Actions
getMultipleActionsExpectedPlaceMarkerAnchorValues Implement this method to set Anchor values for common Expected Place Marker while tracking Multiple Actions
showSourceMarkerForActionID Implement this method to Show/Hide the Source Marker.
getSourceMarkerIconForActionID Implement this method to provide a Custom Icon to the Source Marker.
getSourceMarkerViewForActionID Implement this method to provide a Custom View to the Source Marker.
getSourceMarkerAnchorValues Implement this method to set Anchor values for the Source Marker.
getActionSummaryStartMarkerIconForActionID Implement this method to provide a Custom Icon to the ActionSummaryStart Marker.
getSummaryStartMarkerViewForActionID Implement this method to provide a Custom View to the ActionSummaryStart Marker.
getActionSummaryStartMarkerAnchorValues Implement this method to set Anchor values for the ActionSummaryStart Marker.
getActionSummaryEndMarkerIconForActionID Implement this method to provide a Custom Icon to the ActionSummaryEnd Marker.
getSummaryEndMarkerViewForActionID Implement this method to provide a Custom View to the ActionSummaryEnd Marker.
getActionSummaryEndMarkerAnchorValues Implement this method to set Anchor values for the ActionSummaryEnd Marker.
showActionSummaryForActionID Implement this method to Show/Hide the Action Summary View (View having the Action Summary Info and Polyline).
showAddressInfoViewForActionID Implement this method to Show the Address Info View (View having the Source and Expected Place Address Info).
showActionDetailForActionID Implement this method to Show the Action Detail View.
getActionStatusForActionID Implement this method to provide a custom action status for given Action Id.
showUserInfoForActionID Implement this method to Show the User Info View (View having the User Photo, Name and Call button).
showCallButtonForActionID Implement this method to Show the Call to User Button.
showTrafficLayer Implement this method to Show the Traffic Layer on hyperTrackMapFragment.
showTrailingPolyline Implement this method to Show the trailing polyline for a hero marker
getTrailingPolylineColor Implement this method to set the color of trailing polyline when action is active.
getSummaryPolylineColor Implement this method to set the color of summary polyline when action has completed.
disableDynamicZoom Implement this method to Disable the Dynamic Zoom on Map.
showPlaceSelectorView Implement this method to enable "Select Place" view. This view is DISABLED by default.
enableLiveLocationSharingView Implement this method to enable/disable location sharing view for peer to peer location sharing. By default live location sharing view is disabled.
notifyDataSetChanged Implement this method to reload all the UI elements that are being/should be displayed on the map, including Markers, User info view and Address Info View.

Public Methods

getMapFragmentInitialState

Implement this method to set initial state for Map View in HyperTrackMapFragment. This method requires an instance of CameraUpdate object which defines a camera move. This CameraUpdate instance is used to modify the map's initial camera state.

public CameraUpdate getMapFragmentInitialState(HyperTrackMapFragment hyperTrackMapFragment)
Parameter Description
hyperTrackMapFragment The fragment in which the Map view is placed.
Return
Instance of CameraUpdate defining the initial state for map's camera.

getMapPadding

Implement this method to set default padding for Map View in HyperTrackMapFragment. Pass an array of int representing (left, top, right, bottom) padding values. This methodadds these values to default map padding values.

public int[] getMapPadding(HyperTrackMapFragment hyperTrackMapFragment)
Parameter Description
hyperTrackMapFragment The fragment in which the Map view is placed.
Returns
Return an array of int representing (left, top, right, bottom) padding values in order.

setMyLocationEnabled

Implement this method to display Google Map's MyLocation Marker on the MapView.

public boolean setMyLocationEnabled(HyperTrackMapFragment hyperTrackMapFragment)
Parameter Description
hyperTrackMapFragment The fragment in which the Map view is placed.
Returns
flag to enable/disable GoogleMap's MyLocation Marker in the map view.

[info] Required To enable MyLocation Marker, ACCESS_FINE_LOCATION Permission must be granted to the application. Refer to Android docs on adding Location Permissions to the app.

setMyLocationButtonEnabled

Implement this method to display Google Map's MyLocationButton on the MapView.

public boolean setMyLocationButtonEnabled(HyperTrackMapFragment hyperTrackMapFragment)

| Parameter | Description | | hyperTrackMapFragment | The fragment in which the Map view is placed. |

Returns
flag to enable/disable GoogleMap's MyLocationButton in the map view.

[info] Required To enable MyLocationButton, ACCESS_FINE_LOCATION Permission must be granted to the application. Refer to Android docs on adding Location Permissions to the app.

getResetBoundsButtonIcon

Implement this method to provide a Custom Icon to the Reset bounds button. It is suggested to use R.drawable.* to preserve cross functionality and avoid conflicts.

public int getResetBoundsButtonIcon(HyperTrackMapFragment hyperTrackMapFragment)
Parameter Description
hyperTrackMapFragment The fragment in which the Map view is placed.
Returns
ResourceId of the resource you want to set as Reset Bounds Button Icon.

showHeroMarkerForActionID

Implement this method to Show/Hide the Hero Marker for an action.

public boolean showHeroMarkerForActionID(HyperTrackMapFragment hyperTrackMapFragment, String actionID)
Parameter Description
hyperTrackMapFragment The fragment in which the Map view is placed.
actionID The ActionID for which the Hero Marker is being shown/hidden.
Returns
Flag to show/hide Hero Marker

getHeroMarkerIconForActionID

Implement this method to provide a Custom Icon to the hero Marker. NOTE: The icon should be oriented to the north so that bearing of Marker is perfect.

It is suggested to use R.drawable.* to preserve cross functionality and avoid conflicts.

public int getHeroMarkerIconForActionID(HyperTrackMapFragment hyperTrackMapFragment, String actionID)
Parameter Description
hyperTrackMapFragment The fragment in which the Map view is placed.
actionID The ActionID for which the Hero Marker's Icon is being provided.
Returns
ResourceId of the resource you want to set as HeroMarker Icon.

View getHeroMarkerViewForActionID

Implement this method to provide a Custom View to the Hero Marker. NOTE: The icon should be oriented to the north so that bearing of Marker is perfect.

public View getHeroMarkerViewForActionID(HyperTrackMapFragment hyperTrackMapFragment, String actionID)
Parameter Description
hyperTrackMapFragment The fragment in which the Map view is placed.
actionID The ActionID for which the Hero Marker's Custom View is being provided.
Returns
View of the layout you want to set as HeroMarker View.

float[]getHeroMarkerAnchorValues

Implement this method to set Anchor values for the Hero Marker. The anchor specifies the point in the icon image that is anchored to the Marker's position on the Earth's surface. NOTE :The anchor point is specified in the continuous space [0.0, 1.0] x [0.0, 1.0], where (0, 0) is the top-left corner of the image, and (1, 1) is the bottom-right corner. The anchoring point in a W x H image is the nearest discrete grid point in a (W + 1) x (H + 1) grid, obtained by scaling the then rounding. For example, in a 4 x 2 image, the anchor point (0.7, 0.6) resolves to the grid point at (3, 1).

u-coordinate of the anchor, as a ratio of the image width (in the range [0, 1]) v-coordinate of the anchor, as a ratio of the image height (in the range [0, 1])

public float[] getHeroMarkerAnchorValues(HyperTrackMapFragment hyperTrackMapFragment, String actionID)
Parameter Description
hyperTrackMapFragment The fragment in which the Map view is placed.
actionID The ActionID for which the Hero Marker's Anchor is being set.
Returns
Array of float values of size 2 which you want to set as HeroMarker's Anchor.

rotateHeroMarker

Implement this method to Set or Unset rotation for the Hero Marker.

public boolean rotateHeroMarker(HyperTrackMapFragment hyperTrackMapFragment, String actionID)
Parameter Description
hyperTrackMapFragment The fragment in which the Map view is placed.
actionID The ActionID for which the Hero Marker's rotation is being enabled/disabled.
Returns
Flag for the rotation of Hero Marker.

showExpectedPlaceMarkerForActionID

Implement this method to Show/Hide the Expected Place Marker.

public boolean showExpectedPlaceMarkerForActionID(HyperTrackMapFragment hyperTrackMapFragment, String actionID)
Parameter Description
hyperTrackMapFragment The fragment in which the Map view is placed.
actionID The ActionID for which the Expected Place Marker is being shown/hidden.
Returns
Flag to show/hide Expected Place Marker.

getExpectedPlaceMarkerIconForActionID

Implement this method to provide a Custom Icon to the Expected Place Marker. NOTE: The Expected Place Marker is static and doesn't rotate in terms of bearing.

It is suggested to use R.drawable.* to preserve cross functionality and avoid conflicts.

public int getExpectedPlaceMarkerIconForActionID(HyperTrackMapFragment hyperTrackMapFragment, String actionID)
Parameter Description
hyperTrackMapFragment The fragment in which the Map view is placed.
actionID The ActionID for which the Expected Place Marker's Custom Icon is being provided.
Returns
ResourceId of the resource you want to set as Expected PlaceMarker Icon.

getExpectedPlaceMarkerViewForActionID

Implement this method to provide a Custom View to the Expected Place Marker.

[info] Note The Expected Place Marker is static and doesn't rotate in terms of bearing. Also, with a Custom View, ETA time would not be displayed on the Marker.

public View getExpectedPlaceMarkerViewForActionID(HyperTrackMapFragment hyperTrackMapFragment, String actionID)
Parameter Description
hyperTrackMapFragment The fragment in which the Map view is placed.
actionID The ActionID for which the Expected Place Marker's Custom View is being provided.
Returns
View of the layout you want to set as Expected PlaceMarker View.

getExpectedPlaceMarkerAnchorValues

Implement this method to set Anchor values for the Expected Place Marker. The anchor specifies the point in the icon image that is anchored to the Marker's position on the Earth's surface.

NOTE :The anchor point is specified in the continuous space [0.0, 1.0] x [0.0, 1.0], where (0, 0) is the top-left corner of the image, and (1, 1) is the bottom-right corner. The anchoring point in a W x H image is the nearest discrete grid point in a (W + 1) x (H + 1) grid, obtained by scaling the then rounding. For example, in a 4 x 2 image, the anchor point (0.7, 0.6) resolves to the grid point at (3, 1).

u-coordinate of the anchor, as a ratio of the image width (in the range [0, 1]) v-coordinate of the anchor, as a ratio of the image height (in the range [0, 1])

public float[] getExpectedPlaceMarkerAnchorValues(HyperTrackMapFragment hyperTrackMapFragment, String actionID)
Parameter Description
hyperTrackMapFragment The fragment in which the Map view is placed.
actionID The ActionID for which the Expected Place Marker's Anchor is being set.
Returns
Array of float values of size 2 which you want to set as Expected PlaceMarker's Anchor.

Implement this method to Show Expected Place Marker for common layout while tracking Multiple Actions. To show/hide Multiple Actions Expected Place Marker for specific actions use @link #showExpectedPlaceMarkerForActionID(HyperTrackMapFragment, String)}

public boolean showMultipleActionsExpectedPlaceMarker(HyperTrackMapFragment hyperTrackMapFragment)
Parameter Description
hyperTrackMapFragment The fragment in which the Multiple Actions Expected Place Marker is placed.
Returns
show/hide Multiple Actions Expected Place Marker.

getMultipleActionsExpectedPlaceMarkerIcon

Implement this method to provide a Custom Icon for common Expected Place Marker while tracking Multiple Actions

public int getMultipleActionsExpectedPlaceMarkerIcon(HyperTrackMapFragment hyperTrackMapFragment)
Parameter Description
hyperTrackMapFragment The fragment in which the Multiple Actions Expected Place Marker is placed.
Returns
ResourceId of the resource you want to set as Multiple Actions Expected PlaceMarker Icon. It is suggested to use R.drawable.* to preserve cross functionality and avoid conflicts.

[info] Note The Expected Place Marker is static and doesn't rotate in terms of bearing.

getMultipleActionsExpectedPlaceMarkerView

Implement this method to provide a Custom View for common Expected Place Marker while tracking Multiple Actions

public View getMultipleActionsExpectedPlaceMarkerView(HyperTrackMapFragment hyperTrackMapFragment)
Parameter Description
hyperTrackMapFragment The fragment in which the Multiple Actions Expected Place Marker is placed.
Returns
View of the layout you want to set as Expected PlaceMarker View.

[info] Note The Expected Place Marker is static and doesn't rotate in terms of bearing. Also, with a Custom View, ETA time would not be displayed on the Marker.

getMultipleActionsExpectedPlaceMarkerAnchorValues

Implement this method to set Anchor values for common Expected Place Marker while tracking Multiple Actions.

The anchor specifies the point in the icon image that is anchored to the Marker's position on the Earth's surface.

NOTE :The anchor point is specified in the continuous space [0.0, 1.0] x [0.0, 1.0], where (0, 0) is the top-left corner of the image, and (1, 1) is the bottom-right corner. The anchoring point in a W x H image is the nearest discrete grid point in a (W + 1) x (H + 1) grid, obtained by scaling the then rounding. For example, in a 4 x 2 image, the anchor point (0.7, 0.6) resolves to the grid point at (3, 1).

u-coordinate of the anchor, as a ratio of the image width (in the range [0, 1]) v-coordinate of the anchor, as a ratio of the image height (in the range [0, 1])

public float[] getMultipleActionsExpectedPlaceMarkerAnchorValues(HyperTrackMapFragment hyperTrackMapFragment, String actionID)
Parameter Description
hyperTrackMapFragment The fragment in which the Multiple Actions Expected Place Marker is placed.
actionID The ActionID for which the Multiple Actions Expected Place Marker's Anchor is being set.
Returns
Array of float values of size 2 which you want to set as Multiple Actions Expected PlaceMarker's Anchor.

showSourceMarkerForActionID

Implement this method to Show/Hide the Source Marker.

public boolean showSourceMarkerForActionID(HyperTrackMapFragment hyperTrackMapFragment, String actionID)
Parameter Description
hyperTrackMapFragment The fragment in which the Source Marker is placed.
actionID The ActionID for which the Source Marker is being shown/hidden.
Returns
Flag to show/hide Source Marker.

getSourceMarkerIconForActionID

Implement this method to provide a Custom Icon to the Source Marker.

public int getSourceMarkerIconForActionID(HyperTrackMapFragment hyperTrackMapFragment, String actionID)
Parameter Description
hyperTrackMapFragment The fragment in which the Source Marker is placed.
actionID The ActionID for which the Source Marker's Icon is being provided.
Returns
ResourceId of the resource you want to set as SourceMarker Icon. It is suggested to use R.drawable.* to preserve cross functionality and avoid conflicts.

getSourceMarkerViewForActionID

Implement this method to provide a Custom View to the Source Marker.

 public View getSourceMarkerViewForActionID(HyperTrackMapFragment hyperTrackMapFragment, String actionID)
Parameter Description
hyperTrackMapFragment The fragment in which the Source Marker is placed.
actionID The ActionID for which the Source Marker's Custom View is being provided.
Returns
View of the layout you want to set as SourceMarker View.

getSourceMarkerAnchorValues

Implement this method to set Anchor values for the Source Marker.

The anchor specifies the point in the icon image that is anchored to the Marker's position on the Earth's surface.

NOTE :The anchor point is specified in the continuous space [0.0, 1.0] x [0.0, 1.0], where (0, 0) is the top-left corner of the image, and (1, 1) is the bottom-right corner. The anchoring point in a W x H image is the nearest discrete grid point in a (W + 1) x (H + 1) grid, obtained by scaling the then rounding. For example, in a 4 x 2 image, the anchor point (0.7, 0.6) resolves to the grid point at (3, 1).

u-coordinate of the anchor, as a ratio of the image width (in the range [0, 1]) v-coordinate of the anchor, as a ratio of the image height (in the range [0, 1])

public float[] getSourceMarkerAnchorValues(HyperTrackMapFragment hyperTrackMapFragment, String actionID)
Parameter Description
hyperTrackMapFragment The fragment in which the Source Marker is placed.
actionID The ActionID for which the Source Marker's Anchor is being set.
Returns
Array of float values of size 2 which you want to set as SourceMarker's Anchor.

getActionSummaryStartMarkerIconForActionID

Implement this method to provide a Custom Icon to the ActionSummaryStart Marker.

public int getActionSummaryStartMarkerIconForActionID(HyperTrackMapFragment hyperTrackMapFragment, String actionID)
Parameter Description
hyperTrackMapFragment The fragment in which the ActionSummaryStart Marker is placed.
actionID The ActionID for which the ActionSummaryStart Marker's Icon is being provided.
Returns
ResourceId of the resource you want to set as ActionSummaryStartMarker Icon. It is suggested to use R.drawable.* to preserve cross functionality and avoid conflicts.

getSummaryStartMarkerViewForActionID

Implement this method to provide a Custom View to the Summary Start Marker.

public View getSummaryStartMarkerViewForActionID(HyperTrackMapFragment hyperTrackMapFragment, String actionID)
Parameter Description
hyperTrackMapFragment The fragment in which the ActionSummaryStart Marker is placed.
actionID The ActionID for which the Action Summary Start Marker's Custom View is being provided.
Returns
View of the layout you want to set as Summary Start Marker View.

getActionSummaryStartMarkerAnchorValues

Implement this method to set Anchor values for the ActionSummaryStart Marker.

The anchor specifies the point in the icon image that is anchored to the Marker's position on the Earth's surface.

NOTE :The anchor point is specified in the continuous space [0.0, 1.0] x [0.0, 1.0], where (0, 0) is the top-left corner of the image, and (1, 1) is the bottom-right corner. The anchoring point in a W x H image is the nearest discrete grid point in a (W + 1) x (H + 1) grid, obtained by scaling the then rounding. For example, in a 4 x 2 image, the anchor point (0.7, 0.6) resolves to the grid point at (3, 1).

u-coordinate of the anchor, as a ratio of the image width (in the range [0, 1]) v-coordinate of the anchor, as a ratio of the image height (in the range [0, 1])

 public float[] getActionSummaryStartMarkerAnchorValues(HyperTrackMapFragment hyperTrackMapFragment, String actionID)
Parameter Description
hyperTrackMapFragment The fragment in which the ActionSummaryStart Marker is placed.
actionID The ActionID for which the Action Summary Start Marker's Anchor is being set.
Returns
Array of float values of size 2 which you want to set as ActionSummaryStartMarker's Anchor.

getActionSummaryEndMarkerIconForActionID

Implement this method to provide a Custom Icon to the ActionSummaryEnd Marker.

public int getActionSummaryEndMarkerIconForActionID(HyperTrackMapFragment hyperTrackMapFragment, String actionID)
Parameter Description
hyperTrackMapFragment The fragment in which the ActionSummaryEnd Marker is placed.
actionID The ActionID for which the ActionSummaryEnd Marker's Icon is being provided.
Returns
ResourceId of the resource you want to set as ActionSummaryEndMarker Icon. It is suggested to use R.drawable.* to preserve cross functionality and avoid conflicts.

getSummaryEndMarkerViewForActionID

Implement this method to provide a Custom View to the Summary End Marker.

public View getSummaryEndMarkerViewForActionID(HyperTrackMapFragment hyperTrackMapFragment, String actionID)
Parameter Description
hyperTrackMapFragment The fragment in which the ActionSummaryEnd Marker is placed.
actionID The ActionID for which the Action Summary End Marker's Custom View is being provided.
Returns
View of the layout you want to set as Summary End Marker View.

getActionSummaryEndMarkerAnchorValues

Implement this method to set Anchor values for the ActionSummaryEnd Marker.

The anchor specifies the point in the icon image that is anchored to the Marker's position on the Earth's surface.

NOTE :The anchor point is specified in the continuous space [0.0, 1.0] x [0.0, 1.0], where (0, 0) is the top-left corner of the image, and (1, 1) is the bottom-right corner. The anchoring point in a W x H image is the nearest discrete grid point in a (W + 1) x (H + 1) grid, obtained by scaling the then rounding. For example, in a 4 x 2 image, the anchor point (0.7, 0.6) resolves to the grid point at (3, 1).

u-coordinate of the anchor, as a ratio of the image width (in the range [0, 1]) v-coordinate of the anchor, as a ratio of the image height (in the range [0, 1])

public float[] getActionSummaryEndMarkerAnchorValues(HyperTrackMapFragment hyperTrackMapFragment, String actionID)
Parameter Description
hyperTrackMapFragment The fragment in which the ActionSummaryEnd Marker is placed.
actionID The ActionID for which the ActionSummaryEnd Marker's Anchor is being set.
Returns
Array of float values of size 2 which you want to set as ActionSummaryEndMarker's Anchor.

showActionSummaryForActionID

Implement this method to Show/Hide the Action Summary View (View having the Action Summary Info and Polyline).

public boolean showActionSummaryForActionID(HyperTrackMapFragment hyperTrackMapFragment, String actionID)
Parameter Description
hyperTrackMapFragment The fragment in which the Action Summary View is placed.
actionID The ActionID for which the Action Summary View is being shown/hidden.
Returns
Flag to show/hide Action Summary View.

showAddressInfoViewForActionID

Implement this method to Show the Address Info View (View having the Expected Place Address Info).

 public boolean showAddressInfoViewForActionID(HyperTrackMapFragment hyperTrackMapFragment, String actionID)
Parameter Description
hyperTrackMapFragment The fragment in which the Address Info View is placed.
actionID The ActionID for which the Address Info View is being shown/hidden.
Returns
Flag to show/hide Address Info view.

showActionDetailForActionID

Implement this method to Show the Action Detail View. View having the Action ETA, distance remaining, Action Status, Phone Icon.

 public boolean showActionDetailForActionID(HyperTrackMapFragment hyperTrackMapFragment, String actionID)
Parameter Description
hyperTrackMapFragment The fragment in which the Address Info View is placed.
actionID The ActionID for which the Action detail view is being shown/hidden.
Returns
Flag to show/hide Action detail view.

getActionStatusForActionID

Implement this method to provide a custom action status for given Action Id.

public String getActionStatusForActionID(HyperTrackMapFragment hyperTrackMapFragment,
                                             String actionID, String actionStatus)
Parameter Description
hyperTrackMapFragment The fragment in which the Action is being tracking.
actionID The ActionID for which the custom Action status being provide.
actionStatus Default Action status
Returns
Custom Action Status

showUserInfoForActionID

Implement this method to Show the User Info View (View having the User Photo, Name and Call button).

public boolean showUserInfoForActionID(HyperTrackMapFragment hyperTrackMapFragment, String actionID)
Parameter Description
hyperTrackMapFragment The fragment in which the User Info View is placed.
actionID The ActionID for which the User Info View is being shown/hidden.
Returns
Flag to show/hide User Info view.

showCallButtonForActionID

Implement this method to Show the Call to User Button.

public boolean showCallButtonForActionID(HyperTrackMapFragment hyperTrackMapFragment, String actionID)
Parameter Description
hyperTrackMapFragment The fragment in which the Call Button is placed.
actionID The ActionID for which the Call Button is being shown/hidden.
Returns
Flag to show/hide Call Button.

showTrafficLayer

Implement this method to Show the Traffic Layer on hyperTrackMapFragment.

public boolean showTrafficLayer(HyperTrackMapFragment hyperTrackMapFragment);
Parameter Description
hyperTrackMapFragment The fragment in which the Traffic Layer is visible.
actionID The ActionID for which the Edit Expected Place Layout is being shown/hidden.
Returns
Flag to show/hide Traffic Layer on map.

getTrailingPolylineColor

Implement this method to set the color of trailing polyline when action is active.

public int getTrailingPolylineColor();
Returns
ResourceId of the resource you want to set as Trailing Polyline. It is suggested to use R.color.* to preserve cross functionality and avoid conflicts.

getSummaryPolylineColor

Implement this method to set the color of summary polyline when action has completed.

public int getSummaryPolylineColor();
Returns
ResourceId of the resource you want to set as Summary Polyline.
It is suggested to use R.color.* to preserve cross functionality and avoid conflicts. |

disableDynamicZoom

Implement this method to Disable the Dynamic Zoom on Map.

public boolean disableDynamicZoom(HyperTrackMapFragment hyperTrackMapFragment)
Parameter Description
hyperTrackMapFragment The fragment in which the the Markers are visible.
Returns
Flag to enable/disable Dynamic Zoom on map.

showPlaceSelectorView

Implement this method to enable "Select Place" view. This view is DISABLED by default. This enables the user to create a Place object with user's recently selected places, his current location, searchable places with pin location functionality.

public boolean showPlaceSelectorView()
Returns
Flag to enable Select Place View

notifyDataSetChanged

Implement this method to reload all the UI elements that are being/should be displayed on the map, including Markers, User info view and Address Info View. The Map View's callback or Adapter calls this method when the Map View has to completely reload its UI and its elements.

public final void notifyDataSetChanged()

results matching ""

    No results matching ""