-
Notifications
You must be signed in to change notification settings - Fork 19
Class LocationViewController
LocationVieController class is used to interact and control the LocationView
public void setSublocationId(int id)Function downloads and selects the specified sublocation.
public TouchInput getTouchInput()Function is used for getting TouchInput class element for working with gestures and touches.
public void setDefaultBackgroundColor(float red, float green, float blue, float alpha)Function is used for setting the background color of screen.
-
red— red color in range 0..1. -
green— green color in range 0..1. -
blue— blue color in range 0..1. -
alpha— alpha color in range 0..1.
TouchInput class element.
public CircleMapObject addCircleMapObject()Function is used for creating circle map object on location view and getting it.
CircleMapObject class element.
public boolean removeCircleMapObject(CircleMapObject circleMapObject)Function is used for removing circle map object from location view
-
circleMapObject— CircleMapObject class element.
-
true- if deletion was successful -
false- if smth was wrong
public IconMapObject addIconMapObject()Function is used for creating icon map object on location view and getting it.
IconMapObject class element.
public boolean removeIconMapObject(IconMapObject iconMapObject)Function is used for removing icon map object from location view
-
iconMapObject— IconMapObject class element.
-
true- if deletion was successful -
false- if smth was wrong
public PolylineMapObject addPolylineMapObject()Function is used for creating polyline map object on location view and getting it.
PolylineMapObject class element.
public boolean removePolylineMapObject(PolylineMapObject polylineMapObject)Function is used for removing polylibe map object from location view
-
polylineMapObject— PolylineMapObject class element.
-
true- if deletion was successful -
false- if smth was wrong
ZoomFactor — pixels per meter parameter how to scale location view
public float getZoomFactor()Function is used for getting current zoom factor of location view
float - current zoom factor
public void setZoomFactor(float zoomFactor)Set zoom factor of the location view
-
zoomFactor— pixels per meter value
public void setPickListener(final PickListener listener)Set a listener for MapObject pick events.
public void pickMapObjectAt(float posX, float posY) Function is used for picking map object on location view. Results will be returned in a callback to the object set by setPickListener
-
posX— horizontal screen coordinate -
posY— vertical screen coordinate
Tutorials
Classes
- NavigineSdk
- LocationListManager
- LocationManager
- NavigationManager
- RouteManager
- ZoneManager
- NotificationManager
- MeasurementManager
- LocationEditManager
- ResourceManager
- Location
- Sublocation
- Category
- Venue
- Zone
- Beacon
- Eddystone
- Wifi
- LocationView
- LocationViewController
- CircleMapObject
- PolylineMapObject
- IconMapObject
- TouchInput
- ScaleResponder
- PanResponder
- LongPressResponder
- DoubleTapResponder
- TapResponder
- LocationListListener
- LocationListener
- PositionListener
- RouteListener
- ZoneListener
- NotificationListener
- LocationEditListener
- MeasurementListener
- ResourceListener
- ResourceUploadListener
- Notification
- Position
- SignalMeasurement
- SensorMeasurement
- Image
- RoutePath
- RouteEvent
- LocationPoint
- LocationInfo
- BitmapRegionDecoder