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

Summary

Nested Classes
class MapFragment.Args  
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)
boolean onBackPressed()
void onCreate(Bundle savedInstanceState)
View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState)
void onDestroy()
void onDestroyView()
void onDetach()
void onLocationSelected(EntityZone nearbyEntityZone)
void onNavigationModeCreated()
void onNavigationModeDestroyed()
void onPause()
void onResume()
void onRoutePreviewCreated()
void onRoutePreviewDestroyed()
void onSelectLocationManually()
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 processArguments(Bundle bundle)
void processRoutePreview(RoutingResponse routingResponse)
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)
boolean showAlertsList(List<String> alertIds)
boolean showAlertsList(int propertyId)
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 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.LocationChooserDialog.EventListener
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.routing.navigation.NavigationModeFragment.Listener
From interface com.mapsted.ui.map.routing.preview.RoutePreviewFragment.Listener
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 boolean onBackPressed ()

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 onLocationSelected (EntityZone nearbyEntityZone)

public void onNavigationModeCreated ()

public void onNavigationModeDestroyed ()

public void onPause ()

public void onResume ()

public void onRoutePreviewCreated ()

public void onRoutePreviewDestroyed ()

public void onSelectLocationManually ()

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 processArguments (Bundle bundle)

public void processRoutePreview (RoutingResponse routingResponse)

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 boolean showAlertsList (List<String> alertIds)

public boolean showAlertsList (int propertyId)

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 updateCustomTag (TagInfo tagInfo, Consumer<Tag> resultCallback)