Class DefaultMap
java.lang.Object
de.hybris.platform.storelocator.map.impl.DefaultMap
- All Implemented Interfaces:
Map
-
Constructor Summary
ConstructorsConstructorDescriptionDefaultMap(GPS gps, double radius, List<Location> pois, DistanceAndRoute route, String title, KmlDocument kml) -
Method Summary
Modifier and TypeMethodDescriptionstatic DefaultMapstatic DefaultMapstatic DefaultMapget the route element form the map;getGps()get the IGPS representing the map's central point.getKml()Get the map's imagereturns theMapBoundsof the map instance.Get the POIs marked on the map.doubleGet the value of map radius in kilometersgetTitle()Get the map's title
-
Constructor Details
-
DefaultMap
public DefaultMap(GPS gps, double radius, List<Location> pois, DistanceAndRoute route, String title, KmlDocument kml) - Parameters:
gps-radius-pois-title-
-
-
Method Details
-
create
- Throws:
GoogleMapException
-
create
public static DefaultMap create(GPS center, double radius, String title, List<Location> poi) throws GoogleMapException - Throws:
GoogleMapException
-
create
public static DefaultMap create(GPS center, double radius, String title, List<Location> poi, DistanceAndRoute route) throws GoogleMapException - Throws:
GoogleMapException
-
getGps
Description copied from interface:Mapget the IGPS representing the map's central point. -
getPointsOfInterest
Description copied from interface:MapGet the POIs marked on the map.- Specified by:
getPointsOfInterestin interfaceMap- Returns:
- List
-
getRadius
public double getRadius()Description copied from interface:MapGet the value of map radius in kilometers -
getTitle
Description copied from interface:MapGet the map's title -
getKml
Description copied from interface:MapGet the map's image- Specified by:
getKmlin interfaceMap- Returns:
KmlDocument
-
getDistanceAndRoute
Description copied from interface:Mapget the route element form the map;- Specified by:
getDistanceAndRoutein interfaceMap- Returns:
- the route
-
getMapBounds
Description copied from interface:Mapreturns theMapBoundsof the map instance. Mapbounds consists of NW and SE corners.- Specified by:
getMapBoundsin interfaceMap- Returns:
- mapBounds
-