Loading...
Searching...
No Matches
com.navigine.idl.java.FlatIconMapObject Class Referenceabstract

represents icon object on location view. More...

+ Inheritance diagram for com.navigine.idl.java.FlatIconMapObject:

Public Member Functions

abstract boolean setAngle (double angle)
 Method is used to specify rotation of object.
 
abstract boolean setAngleAnimated (double angle, float duration, AnimationType type)
 Method is used to rotate object with specified animation.
 
abstract boolean setPosition (LocationPoint point)
 Method is used to specify center of object.
 
abstract boolean setPositionAnimated (LocationPoint point, float duration, AnimationType type)
 Method is used to move center of object with specified animation LocationPoint.
 
abstract boolean setBitmap (android.graphics.Bitmap bitmap)
 Method is used to specify bitmap image to the object.
 
abstract boolean setSize (float width, float height)
 Method is used to specify size of object.
 
abstract int getId ()
 Unique identifier of map object.
 
abstract MapObjectType getType ()
 Map object type MapObjectType. Map object could be casted to the specified type.
 
abstract byte[] getData ()
 Any kind of user's data.
 
abstract boolean setVisible (boolean visible)
 Method is used to change visibility of map object.
 
abstract boolean setInteractive (boolean interactive)
 Method is used to interactive property If True - map object could be handled in pickMapObjectAt method.
 
abstract boolean setStyle (String style)
 Method is used to apply custom styling to map object.
 
abstract void setData (byte[] data)
 Method is used to set any kind of user's data.
 
abstract boolean setTitle (String title)
 Method is used to set object title. Title will shown on location view.
 

Detailed Description

represents icon object on location view.

Referenced from LocationWindow.

Note
FlatIconMapObject keep orientation to location view surface.

Definition at line 20 of file FlatIconMapObject.java.

Member Function Documentation

◆ getData()

abstract byte[] com.navigine.idl.java.MapObject.getData ( )
abstractinherited

Any kind of user's data.

Returns
Data stored in map object MapObjectType.

◆ getId()

abstract int com.navigine.idl.java.MapObject.getId ( )
abstractinherited

Unique identifier of map object.

Returns
Unique identifier of current map objcet MapObjectType

◆ getType()

abstract MapObjectType com.navigine.idl.java.MapObject.getType ( )
abstractinherited

Map object type MapObjectType. Map object could be casted to the specified type.

Returns
Type of current map objcet MapObjectType.

◆ setAngle()

abstract boolean com.navigine.idl.java.FlatIconMapObject.setAngle ( double angle)
abstract

Method is used to specify rotation of object.

Parameters
angleangle of rotation in degrees.
Returns
true if success, false otherwise.

◆ setAngleAnimated()

abstract boolean com.navigine.idl.java.FlatIconMapObject.setAngleAnimated ( double angle,
float duration,
AnimationType type )
abstract

Method is used to rotate object with specified animation.

Parameters
angleangle of rotation in degrees.
durationanimation duration in seconds.
typeanimation type AnimationType.
Returns
true if success, false otherwise.

◆ setBitmap()

abstract boolean com.navigine.idl.java.IconMapObject.setBitmap ( android.graphics.Bitmap bitmap)
abstractinherited

Method is used to specify bitmap image to the object.

Parameters
bitmapplatfrom bitmap object.
Returns
true if success, false otherwise.

◆ setData()

abstract void com.navigine.idl.java.MapObject.setData ( byte[] data)
abstractinherited

Method is used to set any kind of user's data.

Parameters
dataData to store in map object

◆ setInteractive()

abstract boolean com.navigine.idl.java.MapObject.setInteractive ( boolean interactive)
abstractinherited

Method is used to interactive property If True - map object could be handled in pickMapObjectAt method.

Parameters
interactivecontrol interactivity of the object.
Returns
true if success, false otherwise.

◆ setPosition()

abstract boolean com.navigine.idl.java.IconMapObject.setPosition ( LocationPoint point)
abstractinherited

Method is used to specify center of object.

Parameters
pointmetrics coordinate of center LocationPoint.
Returns
true if success, false otherwise.

◆ setPositionAnimated()

abstract boolean com.navigine.idl.java.IconMapObject.setPositionAnimated ( LocationPoint point,
float duration,
AnimationType type )
abstractinherited

Method is used to move center of object with specified animation LocationPoint.

Parameters
pointmetrics coordinate of center LocationPoint.
durationanimation duration in seconds.
typeanimation type AnimationType.
Returns
true if success, false otherwise.

◆ setSize()

abstract boolean com.navigine.idl.java.IconMapObject.setSize ( float width,
float height )
abstractinherited

Method is used to specify size of object.

Parameters
widthwidth of object in pixels.
heightwidth of object in pixels.
Returns
true if success, false otherwise.

◆ setStyle()

abstract boolean com.navigine.idl.java.MapObject.setStyle ( String style)
abstractinherited

Method is used to apply custom styling to map object.

Parameters
stylestyling string (Style parameters).
Returns
true if success, false otherwise.

◆ setTitle()

abstract boolean com.navigine.idl.java.MapObject.setTitle ( String title)
abstractinherited

Method is used to set object title. Title will shown on location view.

Parameters
titleof map object.
Returns
true if success, false otherwise.

◆ setVisible()

abstract boolean com.navigine.idl.java.MapObject.setVisible ( boolean visible)
abstractinherited

Method is used to change visibility of map object.

Parameters
visiblecontrol visibility of the object.
Returns
true if success, false otherwise.

The documentation for this class was generated from the following file: