-
Notifications
You must be signed in to change notification settings - Fork 18
Class IconMapObject
PavelTychinin edited this page Oct 29, 2021
·
2 revisions
IconMapObject class is used for showing icon objects on the map.
Referenced from: LocationView.
public boolean setPosition(LocationPoint point)Function sets the position of icon object on the map.
-
point— location point in metric coordinates.
-
trueif successfalseif smth was wrong
public boolean setPositionAnimated(LocationPoint point, float duration, AnimationType type)Function sets the position of icon object on the map with animation
-
point— location point in metric coordinates. -
duration— animation duration in sec -
type— AnimationType type of animation
-
trueif successfalseif smth was wrong
public boolean setSize(float width, float height);Function sets the size of icon object in pixels.
-
width— width of the icon object in pixels -
height— height of the icon object in pixels
public void setVisible(boolean visible)Function is used for setting the visibility of circle object on the map.
public void setBitmap(android.graphics.Bitmap bitmap)Function is used for setting bitmap of map object.
-
bitmap— android.graphics.Bitmap raster object
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