Interface MapService
- All Known Implementing Classes:
DefaultMapService
public interface MapService
Provides maps query point.
-
Method Summary
Modifier and TypeMethodDescriptionget titledMapwith all the points of interest and the given radiusget titled Map centered around theGPSlocation.get titled Map centered around theGPSlocation with a given radius.getMapBoundsForMap(Map map) Gets the map bounds of the given map.
-
Method Details
-
getMap
get titled Map centered around theGPSlocation with a given radius. As no additional placemarks are required, returned map object that has null KML memberMap.getKml().- Parameters:
gps-GPStitle-Stringradius- radius size as double- Returns:
Map- Throws:
MapServiceException- in the case of error
-
getMap
get titled Map centered around theGPSlocation. Default radius 5[km] will be used. As no additional placemarks are required, returned map object that has null KML memberMap.getKml().- Parameters:
gps-GPStitle-String- Returns:
Map- Throws:
MapServiceException- in the case of error
-
getMap
get titledMapwith all the points of interest and the given radius -
getMap
Map getMap(GPS gps, double radius, List<Location> poi, String title, Location routeTo) throws MapServiceException -
getMapBoundsForMap
Gets the map bounds of the given map. Calculations are perfomed basing on rectangular coordinates, not just a radius.- Parameters:
map- the map to calculate bounds for- Returns:
- the calculated map bounds
- Throws:
GeoLocatorException- the geo locator exception
-