java.lang.Object
   ↳ Fragment
     ↳ com.mapsted.ui.base.BaseFragment<VM extends com.mapsted.ui.base.BaseViewModel>
       ↳ com.mapsted.ui.map.MapFragment
Known Direct Subclasses

Summary

Fields
public static final String TAG
Public Constructors
MapFragment()
Public Methods
void addCustomMapWidget(CustomMapWidget customMapWidget)
void addView(View view)
void bottomSheetClick()
Method to handle click on bottom sheet slide indicator.
void chooseMercatorZone(Consumer<MercatorZone> resultCallback)
void collapseEntityDetailView()
void createCustomTag(TagInfo tagInfo, MercatorZone mercatorZone, Consumer<Tag> resultCallback)
void createViewModel()
void deleteCustomTag(int tagId, Consumer<Tag> resultCallback)
void deleteCustomTags(ArrayList<Integer> tagIds, Consumer<Boolean> resultCallback)
void expandEntityDetailView()
void hideCustomMapWidget(String viewGroupName)
void navigateClosestLocationClicked(MultiLocationsSearchableDialogFragment exploreLocationOptionDialog, String name, EntityZone entityZone)
Navigate map to the unique Search Entity id location
static MapFragment newInstance()
void onAttach(Context context)
void onCreate(Bundle savedInstanceState)
View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState)
void onDestroy()
void onDestroyView()
void onDetach()
void onPause()
void onResume()
void onShowChooseMercatorThenLaunchFragment(Class<? extends Fragment> fragmentToReturnTo)
Show ChooseMercatorFragment, after mercator is chosen, launch the given fragment
void onViewClicked(EntityZone entityZone, SearchEntity searchEntity)
Navigate map to the unique entity id location
void onViewCreated(View view, Bundle savedInstanceState)
void removeCustomMapWidget(String viewGroupName)
void requestAllCustomsTags(Consumer<List<Tag>> resultCallback)
void selectEntity(int propertyId, int buildingId, int floorId, int entityId)
void setBottomSheetDraggable(boolean draggable)
void setCollapsedEntityDetailViewHeight(int dp)
void setCustomTag(Tag tag)
void showAlertsList(List<String> alertIds)
void showAllCustomTagsOnMap(boolean show)
void showCenterMercatorPin(boolean show)
void showCustomMapWidget(String viewGroupName)
void showErrorDialogDueToBlockingAlerts(List<String> alertIds)
void showMiscellaneousErrorDialog(String errorMessage)
void showNavigatingViews()
Overridden method for populating instructions and showing route for the selected/searched entities
void showOverlaySearchFragment(boolean showMyLocation, int destinationIndexBeingChosen)
void showRoutePreviewFragment(RoutingResponse routingResponse)
void updateCustomTag(TagInfo tagInfo, Consumer<Tag> resultCallback)
[Expand]
Inherited Methods
From class com.mapsted.ui.base.BaseFragment
From class java.lang.Object
From interface com.mapsted.ui.map.ChooseUserPositionFragment.CenterMercatorPin
From interface com.mapsted.ui.map.RoutingErrorHandler
From interface com.mapsted.ui.map.ShowAlertsListListener
From interface com.mapsted.ui.map.explore.MultiLocationsSearchableDialogFragment.Listener
From interface com.mapsted.ui.map.interfaces.IMapUserActions
From interface com.mapsted.ui.map.selected_entity.EntityDetailFragment.BottomSheetListener

Fields

public static final String TAG

Public Constructors

public MapFragment ()

Public Methods

public void addCustomMapWidget (CustomMapWidget customMapWidget)

public void addView (View view)

public void bottomSheetClick ()

Method to handle click on bottom sheet slide indicator. It slides up the bottom sheet.

public void chooseMercatorZone (Consumer<MercatorZone> resultCallback)

public void collapseEntityDetailView ()

public void createCustomTag (TagInfo tagInfo, MercatorZone mercatorZone, Consumer<Tag> resultCallback)

public void createViewModel ()

public void deleteCustomTag (int tagId, Consumer<Tag> resultCallback)

public void deleteCustomTags (ArrayList<Integer> tagIds, Consumer<Boolean> resultCallback)

public void expandEntityDetailView ()

public void hideCustomMapWidget (String viewGroupName)

public void navigateClosestLocationClicked (MultiLocationsSearchableDialogFragment exploreLocationOptionDialog, String name, EntityZone entityZone)

Navigate map to the unique Search Entity id location

public static MapFragment newInstance ()

public void onAttach (Context context)

public void onCreate (Bundle savedInstanceState)

public View onCreateView (LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState)

public void onDestroy ()

public void onDestroyView ()

public void onDetach ()

public void onPause ()

public void onResume ()

public void onShowChooseMercatorThenLaunchFragment (Class<? extends Fragment> fragmentToReturnTo)

Show ChooseMercatorFragment, after mercator is chosen, launch the given fragment

Parameters
fragmentToReturnTo this fragment will be launched after onUserPositionSet(MercatorZone)

public void onViewClicked (EntityZone entityZone, SearchEntity searchEntity)

Navigate map to the unique entity id location

public void onViewCreated (View view, Bundle savedInstanceState)

public void removeCustomMapWidget (String viewGroupName)

public void requestAllCustomsTags (Consumer<List<Tag>> resultCallback)

public void selectEntity (int propertyId, int buildingId, int floorId, int entityId)

public void setBottomSheetDraggable (boolean draggable)

public void setCollapsedEntityDetailViewHeight (int dp)

public void setCustomTag (Tag tag)

public void showAlertsList (List<String> alertIds)

public void showAllCustomTagsOnMap (boolean show)

public void showCenterMercatorPin (boolean show)

public void showCustomMapWidget (String viewGroupName)

public void showErrorDialogDueToBlockingAlerts (List<String> alertIds)

public void showMiscellaneousErrorDialog (String errorMessage)

public void showNavigatingViews ()

Overridden method for populating instructions and showing route for the selected/searched entities

public void showOverlaySearchFragment (boolean showMyLocation, int destinationIndexBeingChosen)

public void showRoutePreviewFragment (RoutingResponse routingResponse)

public void updateCustomTag (TagInfo tagInfo, Consumer<Tag> resultCallback)