com.nutiteq.location
Interface LocationMarker

All Superinterfaces:
LocationListener
All Known Implementing Classes:
NutiteqLocationMarker

public interface LocationMarker
extends LocationListener

Interface for graphical representation of location data.


Method Summary
 void paint(Graphics g, MapPos middlePoint, int displayCenterX, int displayCenterY)
           
 void quit()
          Notify marker to quit updates
 void setLocationSource(LocationSource locationSource)
          Set location source into marker.
 void setMapComponent(BasicMapComponent basicMapComponent)
           
 void setTrackingEnabled(boolean enabled)
           
 void updatePosition()
          Force marker position update after zoom
 
Methods inherited from interface com.nutiteq.location.LocationListener
setLocation
 

Method Detail

setLocationSource

void setLocationSource(LocationSource locationSource)
Set location source into marker. Could me used for source state status retrieving

Parameters:
locationSource - location source associated with this marker

paint

void paint(Graphics g,
           MapPos middlePoint,
           int displayCenterX,
           int displayCenterY)

updatePosition

void updatePosition()
Force marker position update after zoom


setMapComponent

void setMapComponent(BasicMapComponent basicMapComponent)

quit

void quit()
Notify marker to quit updates


setTrackingEnabled

void setTrackingEnabled(boolean enabled)