VisioMove Essential (Android)  1.27.6
VMEMapView Class Reference

Description

Version
1.0

Inherits RelativeLayout.

Public Member Functions

 VMEMapView (Context context, AttributeSet attributeSet)
 VMEMapView constructor. More...
 
 VMEMapView (Context context, AttributeSet attributeSet, int defStyle)
 VMEMapView constructor. More...
 
 VMEMapView (Context context, AttributeSet attributeSet, int defStyleAttr, int defStyleRes)
 VMEMapView constructor. More...
 
String getMapPath ()
 
void setMapPath (String mapPath)
 Sets the path of the map bundle to be used. More...
 
String getMapHash ()
 
void setMapHash (String mapHash)
 Set the online map's hash. More...
 
long getMapSecretCode ()
 
void setMapSecretCode (int mapSecretCode)
 Set the embedded map's secret code. More...
 
String getMapServerUrl ()
 
void setMapServerUrl (String mapServerUrl)
 Sets the map server url. More...
 
void setPromptUserToDownloadMap (boolean enable)
 Determines whether to prompt the user before downloading an online map. More...
 
boolean getPromptUserToDownloadMap ()
 
VMEMapDescriptor getCachedMapDescriptor (String identifier)
 Get the cached map descriptor. More...
 
void deleteCachedMap (String identifier) throws FileNotFoundException
 Deletes a map from the application that has been cached by the SDK. More...
 
void setMapListener (VMEMapListener pMapListener)
 The map listener delegate to receive map related notifications. More...
 
void setLifeCycleListener (VMELifeCycleListener lifeCycleListener)
 The delegate to receive life cycle related notifications. More...
 
void setPlaceListener (VMEPlaceListener placeListener)
 The delegate to receive place related notifications. More...
 
void setBuildingListener (VMEBuildingListener buildingListener)
 The delegate to receive building related notifications. More...
 
void setLocationTrackingModeListener (VMELocationTrackingModeListener locationTrackingModeListener)
 The delegate to receive location tracking mode related notifications. More...
 
void setCameraListener (VMECameraListener cameraListener)
 The delegate to receive camera related notifications. More...
 
void loadMap ()
 Loads the map using the current map configuration. More...
 
void unloadMap ()
 Unloads the current map. More...
 
void dispose ()
 Dispose this view. More...
 
void setFocusOnMap ()
 Set focus on map - map state. More...
 
void updateCamera (VMECameraUpdate update)
 Repositions the camera according to the instructions defined in the update. More...
 
void animateCamera (VMECameraUpdate update)
 Animates the movement of the camera from the current position to the position defined in the update. More...
 
void animateCamera (VMECameraUpdate update, float duration, VMEAnimationCallback callback)
 Animates the movement of the camera from the current position to the position defined in the update. More...
 
VMECameraContext getCameraContext ()
 Gets the current context of the camera. More...
 
VMECameraMoveReason getCameraMoveReason ()
 Gets the last move reason of the camera. More...
 
void updateScene (VMESceneUpdate update)
 Updates the change of scene from the current scene to the scene defined in the update. More...
 
void animateScene (VMESceneUpdate update)
 Animates the change of scene from the current scene to the scene defined in the update. More...
 
List< String > getModalities ()
 
List< String > getAttributes ()
 
void setExcludedModalities (List< String > modalities)
 Sets the modalities that will be excluded from the routing network when a route is computed. More...
 
void setExcludedAttributes (List< String > attributes)
 Sets the attributes that will be excluded from the routing network when a route is computed. More...
 
void computeRoute (VMERouteRequest routeRequest, VMEComputeRouteCallback callback)
 Requests that a route be computed. More...
 
void updateLocation (VMELocation location)
 Updates the users current physical location within the map. More...
 
VMELocation createLocationFromLocation (Location location)
 Takes a native location object and converts it to a VisioMove Essential object Uses the geo-fences within the map bundle to determine if the location falls within a building and if so, what floor. More...
 
VMEPosition createPositionFromLocation (Location location)
 Takes a native location object and converts it to a VisioMove Essential object Uses the geo-fences within the map bundle to determine if the location falls within a builing and if so, what floor. More...
 
void setLocationTrackingMode (VMELocationTrackingMode trackingMode)
 Change the value of the location tracking mode. More...
 
void setLocationTrackingButtonToggleModes (List< VMELocationTrackingMode > trackingModes)
 Set the all the location tracking modes handled by the VME location tracker button. More...
 
VMELocationTrackingMode getLocationTrackingMode ()
 Get the current location tracking mode. More...
 
List< VMELocationTrackingMode > getLocationTrackingButtonToggleModes ()
 Get the current location tracking modes handled by the VME location tracker button. More...
 
void setCompassHeadingMarkerVisible (boolean visible)
 Control the visibility of the compass heading marker. More...
 
boolean getCompassHeadingMarkerVisible ()
 Retrieve the visibility of the compass heading marker. More...
 
void setSelectorViewVisible (boolean visible)
 Control whether the selector view is visible. More...
 
boolean getSelectorViewVisible ()
 
void setNavigationHeaderViewVisible (boolean visible)
 Control whether the navigation header view is visible. More...
 
boolean getNavigationHeaderViewVisible ()
 
boolean setMapFont (String filePath)
 Overrides the map's default font (currently DejaVuSans.ttf). More...
 
void showSearchViewWithTitle (String title, VMESearchViewCallback callback)
 Request to show the search view. More...
 
void showPlaceInfo (String placeID)
 Displays info related to the place: More...
 
void updatePlaceData (JSONObject pData)
 Update the place data content within the map. More...
 
boolean setPlaceData (String placeID, JSONObject data)
 Updates the place data associated with a place ID. More...
 
boolean setPlaceColor (String placeID, @ColorInt int color)
 Update the place's color. More...
 
boolean resetPlaceColor (String placeID)
 Reset the place's color back to it's initial value. More...
 
boolean setPlaceColor (Map< String, Integer > placeIDToColor)
 Set a group of place colors in one call. More...
 
boolean resetPlaceColor (List< String > placeIDs)
 Reset a group of places to their original colors in one call. More...
 
boolean addPlace (String placeID, Uri imageURL, JSONObject data, VMEPosition position)
 Adds a dynamic place to the map. More...
 
boolean addPlace (String placeID, Uri imageURL, JSONObject data, VMEPosition position, VMEPlaceSize size, VMEPlaceAnchorMode anchorMode, VMEPlaceAltitudeMode altitudeMode, VMEPlaceDisplayMode displayMode, VMEPlaceOrientation orientation, VMEPlaceVisibilityRamp visibilityRamp)
 Adds a dynamic place to the map. More...
 
boolean setPlacePosition (String placeID, VMEPosition position, boolean animated)
 Update the place's position. More...
 
boolean removePlace (String placeID)
 Remove the place from the map. More...
 
List< String > queryAllPlaceIDs ()
 Queries all place IDs within the map. More...
 
VMEPlace getPlace (String placeID)
 Returns a requested place. More...
 
List< String > queryAllCategoryIDs ()
 Queries all category IDs within the map. More...
 
VMECategory getCategory (String categoryID)
 Returns a requested category. More...
 
VMEPosition getPlacePosition (String placeID)
 Returns a place's center position. More...
 
List< VMEPosition > getPlaceBoundingPositions (String placeID)
 Returns The place's bounding box. More...
 
void queryPlaces (VMEPlaceFilter filter, VMEPlaceFilterCallback callback)
 Queries the map for places matching the filter. More...
 
boolean setPlaceSize (String placeID, VMEPlaceSize size, boolean animated)
 Update the place's size. More...
 
JSONObject getCustomData ()
 Returns all places custom data. More...
 
void fetchCustomData (VMECustomDataRefreshCallback callback)
 Fetch the custom data from server. More...
 
boolean addOverlayView (String overlayViewID, View view, String placeID)
 Adds a native overlay view above the map that's associated with a place. More...
 
boolean addOverlayView (String overlayViewID, View view, String placeID, VMEAnchorMode anchorMode)
 Adds a native overlay view above the map that's associated with a place. More...
 
boolean addOverlayView (String overlayViewId, View view, VMEPosition anchorPosition)
 Adds a native overlay view above the map that's associated with a position. More...
 
boolean addOverlayView (String overlayViewID, View view, VMEPosition anchorPosition, VMEAnchorMode anchorMode)
 Adds a native overlay view above the map that's associated with a position. More...
 
boolean setOverlayAnchor (String overlayViewID, String placeID)
 Sets the place of the overlay view. More...
 
boolean setOverlayAnchor (String overlayViewID, VMEPosition position)
 Sets the position of the overlay view. More...
 
boolean removeOverlayView (String overlayViewID)
 Removes the overlay view from the map. More...
 
void setStatisticsLog (boolean enabled)
 Set the statistics logging. More...
 
void setStatisticsLogCamera (boolean enabled)
 Set the statistics camera logging. More...
 
void setStatisticsLogLocation (boolean enabled)
 Set the statistics location logging. More...
 
void setStatisticsLogInterest (boolean enabled)
 Set the statistics interest logging. More...
 
void setStatisticsTrackedPlaceIDs (List< String > trackedPlaceIDs)
 Set the statistics place tracked position logging for a list of place IDs. More...
 
boolean isStatisticsLog ()
 See VMEMapView.setStatisticsLog(boolean) for more info on what this returns. More...
 
boolean isStatisticsLogCamera ()
 See VMEMapView.setStatisticsLogCamera(boolean) for more info on what this returns. More...
 
boolean isStatisticsLogLocation ()
 See VMEMapView.setStatisticsLogLocation(boolean) for more info on what this returns. More...
 
List< String > getStatisticsTrackedPlaceIDs ()
 See VMEMapView.setStatisticsTrackedPlaceIDs(List<String>) for more info on what this returns. More...
 
boolean isStatisticsLogInterest ()
 See VMEMapView.setStatisticsLogInterest(boolean) for more info on what this returns. More...
 

Static Public Member Functions

static String getMinDataSDKVersion ()
 Retrieves the minimum version string major.minor.patch of the data that this SDK can handle. More...
 
static String getDataSDKVersion ()
 Retrieves the version string major.minor.patch of the data that this SDK can handle. More...
 
static String getVersion ()
 Retrieve the current version of VisioMove Essential. More...
 
© 2022 Copyright Visioglobe, All Rights Reserved. View our Privacy Policy