Class DefaultKmlDocument
java.lang.Object
de.hybris.platform.storelocator.map.markers.impl.DefaultKmlDocument
- All Implemented Interfaces:
KmlDocument,KmlElement
DefaultKmlDocument is the default implementation for KmlDocument
-
Constructor Summary
ConstructorsConstructorDescriptionDefaultKmlDocument(GPS center, List<Location> pois) DefaultKmlDocument(GPS center, List<Location> pois, DistanceAndRoute route) DefaultKmlDocument(String name, String description, List<KmlPlacemark> placemarks, List<KmlStyle> styles) DefaultKmlDocument(List<KmlPlacemark> placemarks) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddDocumentStyle(KmlIconStyle iconStyle) Returns markup beginnig of this elementReturns document descriptionReturns markup KML representation of this elementReturns markup ending of this elementgetName()Returns document nameReturns placemarks from documentReturns styles from document
-
Constructor Details
-
DefaultKmlDocument
- Throws:
KmlDocumentException
-
DefaultKmlDocument
- Parameters:
center- not used- Throws:
KmlDocumentException
-
DefaultKmlDocument
- Parameters:
placemarks-
-
DefaultKmlDocument
public DefaultKmlDocument(String name, String description, List<KmlPlacemark> placemarks, List<KmlStyle> styles) - Parameters:
name- the namedescription- the descriptionplacemarks- the placemarksstyles- the styles
-
-
Method Details
-
getPlacemarks
Description copied from interface:KmlDocumentReturns placemarks from document- Specified by:
getPlacemarksin interfaceKmlDocument- Returns:
- List
-
getStyles
Description copied from interface:KmlDocumentReturns styles from document- Specified by:
getStylesin interfaceKmlDocument- Returns:
- List
-
getBeginning
Description copied from interface:KmlElementReturns markup beginnig of this element- Specified by:
getBeginningin interfaceKmlElement- Returns:
- String
-
getElement
Description copied from interface:KmlElementReturns markup KML representation of this element- Specified by:
getElementin interfaceKmlElement- Returns:
- String
-
getEnding
Description copied from interface:KmlElementReturns markup ending of this element- Specified by:
getEndingin interfaceKmlElement- Returns:
- String
-
getDescription
Description copied from interface:KmlDocumentReturns document description- Specified by:
getDescriptionin interfaceKmlDocument- Returns:
- String
-
getName
Description copied from interface:KmlDocumentReturns document name- Specified by:
getNamein interfaceKmlDocument- Returns:
- String
-
addDocumentStyle
-