java.lang.Object | |||
↳ | Fragment | ||
↳ | com.mapsted.ui.base.BaseFragment<VM extends com.mapsted.ui.base.BaseViewModel> | ||
↳ | com.mapsted.ui.map.MapFragment |
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) | ||||||||||
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 | 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 | showRoutePreviewFragment(RoutingResponse routingResponse) | ||||||||||
void | updateCustomTag(TagInfo tagInfo, Consumer<Tag> resultCallback) |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() |
Method to handle click on bottom sheet slide indicator. It slides up the bottom sheet.
Navigate map to the unique Search Entity id location
Show ChooseMercatorFragment, after mercator is chosen, launch the given fragment
fragmentToReturnTo | this fragment will be launched after onUserPositionSet(MercatorZone)
|
---|
Navigate map to the unique entity id location
Overridden method for populating instructions and showing route for the selected/searched entities