-
Notifications
You must be signed in to change notification settings - Fork 19
Class CircleMapObject
CircleMapObject class is used for showing circle objects on the map.
Referenced from: LocationView.
public boolean setPosition(LocationPoint point)Function sets the position of circle object on the map.
-
point— location point in metric coordinates.
public void setPositionAnimated(LocationPoint point, float duration, AnimationType type)Function sets the position of circle object on the map with animation
-
point— location point in metric coordinates. -
duration— animation duration in sec -
type— AnimationType type of animation
public Point getPosition()Function returns the position of circle object on the map.
X and y metric coordinates of circle object.
public void setRadius(float radius)Function sets the radius of circle object.
-
radius— radius of the circle object on map, should be evaluated considering the fact that location view's width is from -1 to 1.
public float getRadius()Function returns the radius of circle object.
Radius of the circle map object.
public void setData(byte[] data)Function sets the data for circle map object which could be used for distinguishing different objects on map.
-
data— byte array of data.
public byte[] getData()Function returns the data attached to the circle object.
Byte array of data.
public void setEnabled(boolean visibility)Function is used for setting the visibility of circle object on the map.
public void setColor(float red, float green, float blue, float alpha)Function is used for setting the color of map object.
-
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.
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