-
Notifications
You must be signed in to change notification settings - Fork 19
Class LocationView
LocationView class is used for showing the map and its elements on the device screen
public void setSublocation(int id)Function sets the sublocation for current downloaded and set location.
-
id— id of the sublocation.
public void showBeacons(boolean visibility)Function is used for showing and hiding all the beacons on the map.
-
visibility— visibility status of beacons.
public void showEddystones(boolean visibility)Function is used for showing and hiding all the eddystones on the map.
-
visibility— visibility status of eddystones.
public void showWifis(boolean visibility)Function is used for showing and hiding all the wifi elements on the map.
-
visibility— visibility status of wifi elements.
public void showVenues(boolean visibility)Function is used for showing and hiding all the venues on the map.
-
visibility— visibility status of venues.
public void setTargetPoint(Point screenPoint)Function is used for setting the target point on the map for making the route.
-
screenPoint— point on the map in screen coordinates.
public TouchInput getTouchInput()Function is used for getting TouchInput class element for working with gestures and touches.
TouchInput class element.
public CircleMapObject getObjectAt(Point screenPoint)Function is used for getting circle map object at screen point.
-
screenPoint— point on the map in screen coordinates.
CircleMapObject class element.
public CircleMapObject createCircleMapObject()Function is used for creating circle map object and getting it.
CircleMapObject class element, which could be modified by the user.
public void addCircleMapObject(CircleMapObject mapObject)Function is used for adding circle map object to the map.
-
mapObject— previously created circle map object.
public void setCircleMapObjectsVisibility(List<CircleMapObject> mapObjects, boolean visibility)Function is used for changing the visibility of circle map objects.
-
mapObjects— list of circle map objects added to the map. -
visibility— visibility status to be set.
public TextureMapObject createTextureMapObject()Function is used for creating texture map object and getting it.
TextureMapObject class element, which could be modified by the user.
public void addTextureMapObject(TextureMapObject mapObject)Function is used for adding texture map object to the map.
-
mapObject— previously created texture map object.
public void setTextureMapObjectsVisibility(List<TextureMapObject> mapObjects, boolean visibility)Function is used for changing the visibility of texture map objects.
-
mapObjects— list of texture map objects added to the map. -
visibility— visibility status to be set.
public LineMapObject createLineMapObject()Function is used for creating line map object and getting it.
LineMapObject class element, which could be modified by the user.
public void addLineMapObject(LineMapObject mapObject)Function is used for adding line map object to the map.
-
mapObject— previously created line map object.
public void setLineMapObjectsVisibility(List<LineMapObject> mapObjects, boolean visibility)Function is used for changing the visibility of line map objects.
-
mapObjects— list of line map objects added to the map. -
visibility— visibility status to be set.
public Point screenToMetricCoordinates(Point screenPoint)Function is used for converting screen coordinates to the metric coordinates.
-
screenPoint— point on the map in screen coordinates.
public void setBackgroundColor(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.
public void setMaxScale(float value)Function is used for setting the maximum scale value.
-
value— maximum scale value. Default value is 100.
public void setMinScale(float value)Function is used for setting the minimum scale value.
-
value— minimum scale value. Default value is 1.
public void setZoomScale(float value)Function is used for setting current scale value.
-
value— current scale value. Number should be in the range of minimum and maximum scale values.
public void attachToPosition(boolean value)Function is used for attaching the screen movements to the user position.
-
value— if value set to true, screen will be attached to the user position and will move regarding it.
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