Uses of Class
javax.microedition.location.Coordinates

Packages that use Coordinates
javax.microedition.location Contains the basic classes needed to request and get a location result. 
javax.microedition.location.services Contains the classes and interfaces related to location based services. 
 

Uses of Coordinates in javax.microedition.location
 

Subclasses of Coordinates in javax.microedition.location
 class QualifiedCoordinates
          The QualifiedCoordinates class represents coordinates as latitude-longitude-altitude values that are associated with an accuracy value.
 

Methods in javax.microedition.location that return Coordinates
 Coordinates RectangleGeographicArea.getCenterPoint()
          Returns the coordinates of the center point of this geographic area.
 Coordinates PolygonGeographicArea.getCenterPoint()
          Returns the coordinates of the center point of this geographic area.
abstract  Coordinates GeographicArea.getCenterPoint()
          Returns the coordinates of the center point of this geographic area.
 Coordinates CircleGeographicArea.getCenterPoint()
           
 Coordinates[] RectangleGeographicArea.getCoordinates()
          Returns the two Coordinates objects that were used to construct this rectangle geographical area.
 Coordinates[] PolygonGeographicArea.getCoordinates()
          Returns an array of Coordinates objects that form the polygonal geographical area.
 

Methods in javax.microedition.location with parameters of type Coordinates
static void LocationProvider.addProximityListener(ProximityListener listener, Coordinates coordinates, float proximityRadius)
          Deprecated. in 2.0, replaced by addAreaListener
 float Coordinates.azimuthTo(Coordinates to)
          Calculates the azimuth between the two points according to the ellipsoid model of WGS84.
 boolean RectangleGeographicArea.containsCoordinates(Coordinates coordinate)
           
 boolean PolygonGeographicArea.containsCoordinates(Coordinates coordinate)
           
abstract  boolean GeographicArea.containsCoordinates(Coordinates coordinate)
          With this method an application can check if the given coordinate is inside this GeographicArea object.
 boolean CircleGeographicArea.containsCoordinates(Coordinates coordinate)
           
 float Coordinates.distance(Coordinates to)
          Calculates the geodetic distance between the two points according to the ellipsoid model of WGS84.
 Landmark[] LandmarkStore.getLandmarks(GeographicArea areaFilter, AddressInfo addrFilter, java.lang.String nameFilter, java.lang.String descFilter, java.lang.String authorFilter, java.lang.String catFilter, Coordinates distFrom, int maxResults, int sortOrder, int sortBy)
          With this method an application can search landmarks in the store using filters.
 void ProximityListener.proximityEvent(Coordinates coordinates, Location location)
          Deprecated. After registering this listener with the LocationProvider, this method will be called by the platform when the implementation detects that the current location of the terminal is within the defined proximity radius of the registered coordinates.
 

Constructors in javax.microedition.location with parameters of type Coordinates
CircleGeographicArea(Coordinates center, float radius)
          Constructs a CircleGeographicArea object.
PolygonGeographicArea(Coordinates[] coordinates)
          Constructs a PolygonGeographicArea object.
RectangleGeographicArea(Coordinates lowerLeftCorner, Coordinates upperRightCorner)
          Constructs a RectangleGeographicArea object.
 

Uses of Coordinates in javax.microedition.location.services
 

Methods in javax.microedition.location.services that return Coordinates
 Coordinates Route.getDestinationPoint()
          Returns the coordinates of the destination point of the route.
 Coordinates[] RouteSegment.getGeometry()
          Returns the geometry of the route segment.
 Coordinates Route.getStartingPoint()
          Returns the coordinates of the starting point of the route.
 Coordinates Map.transformPixelsToWGS84Coordinates(int x, int y)
          Converts a point on area where the map is rendered into WGS84 coordinates.
 

Methods in javax.microedition.location.services with parameters of type Coordinates
 int[] Map.centerOnCoordinates(Coordinates center)
          Centers the map to the given coordinates.
 void NavigationServiceListener.destinationReached(NavigationServiceProvider provider, Coordinates currentLocation)
          Called by the API implementation or navigation service provider when the destination has been reached.
 void MapServiceProvider.displayMap(RectangleGeographicArea initialViewport, GeographicArea[] areas, Landmark[] landmarks, Coordinates[] coordinates, Route[] routes, MapServicePreferences preferences, MapServiceListener listener)
          Requests a map service provider to display a map.
 Map MapServiceProvider.getMap(RectangleGeographicArea initialViewport, GeographicArea[] areas, Landmark[] landmarks, Coordinates[] coordinates, Route[] routes, int width, int height, MapServiceListener listener)
          Requests a Map object from a map service provider.
 Route[] NavigationServiceProvider.getRoute(Coordinates[] waypoints, NavigationServicePreferences preferences)
          Requests a routing service from a navigation service provider.
 void NavigationServiceProvider.navigate(Coordinates[] waypoints, NavigationServicePreferences preferences, NavigationServiceListener listener)
          Requests a navigation service from a navigation service provider.
 void NavigationServiceListener.offRoute(NavigationServiceProvider provider, Coordinates currentLocation)
          Called by the API implementation or navigation service provider when going off the route has been detected.
 Landmark[] GeocodingServiceProvider.reverseGeocode(Coordinates coordinates, GeocodingServicePreferences preferences)
          Requests a reverse geocoding service from a geocoding service provider.
 void NavigationServiceListener.routeCalculated(NavigationServiceProvider provider, Route route, Coordinates currentLocation)
          Called by the API implementation or navigation service provider when the requested route has been calculated for the first time.
 void NavigationServiceListener.routeChanged(NavigationServiceProvider provider, Coordinates currentLocation, Route newRoute)
          Called by the API implementation or navigation service provider when route has been recalculated without explicit request from the application.
 void MapServiceListener.selectionUpdated(MapServiceProvider provider, GeographicArea[] areas, Landmark[] landmarks, Coordinates[] coordinates, Route[] routes)
          Called by the map service provider when an application has requested a selection or multiple selections from the map from the user.
 void RouteSegment.setGeometry(Coordinates[] geometry)
          Sets the geometry for the route segment.
 void NavigationServiceProvider.showRoute(Coordinates[] waypoints, NavigationServicePreferences preferences, NavigationServiceListener listener)
          Requests a navigation service provider to show the given coordinates as a route.
 int[] Map.transformWGS84CoordinatesToPixels(Coordinates coordinates)
          Converts coordinates in WGS84 projection system into the coordinate system of the area where the map is rendered.
 void NavigationServiceListener.waypointReached(NavigationServiceProvider provider, Coordinates waypoint, Coordinates currentLocation)
          Called by the API implementation or navigation service provider when a waypoint on the route has been reached.
 

Constructors in javax.microedition.location.services with parameters of type Coordinates
RouteSegment(Coordinates[] geometry, NavigationInstruction[] instructions, java.lang.String description)
          Constructor to create a route segment.
RouteSegment(Coordinates start, Coordinates end, NavigationInstruction[] instructions, java.lang.String description)
          Constructor to create a route segment.
 



Copyright © 2003-2008 Nokia Corporation. All Rights Reserved.
Java is a trademark of Sun Microsystems, Inc.