-
Notifications
You must be signed in to change notification settings - Fork 18
Class PolylineMapObject
PavelTychinin edited this page Oct 29, 2021
·
2 revisions
PolylineMapObject class is used for showing polyline objects on the map.
Referenced from: LocationView.
public boolean setPolyLine(LocationPolyline polyline)
Function sets the positions of polyline object on the map.
-
polyline
— location polyline in metric coordinates.
-
true
if successfalse
if smth was wrong
public void setWidth(float width)
Function sets the width of polyline map object.
-
width
— width of the polyline object in meters
public void setVisible(boolean visible)
Function is used for setting the visibility of polyline 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