Package com.persequor.extension.frontend
Interface IGeoMap
- All Superinterfaces:
IComponent<IGeoMap>
,IHasId<IGeoMap>
-
Method Summary
Modifier and TypeMethodDescriptionlineStyle
(MapLineStyle lineStyle) setHeight
(int height) Set the height of the mapMethods inherited from interface com.persequor.extension.frontend.data.IComponent
half, quarter, setGridWidth, sixth, third, twelfth, twoThirds
-
Method Details
-
addPin
- Parameters:
latitude
- latitudelongitude
- longitudeicon
- icon of pinname
- name to display when pin is clicked- Returns:
- reference to map object
-
addLine
IGeoMap addLine(float fromLatitude, float fromLongitude, float toLatitude, float toLongitude, Color color) - Parameters:
fromLatitude
- latitude of starting pointfromLongitude
- longitude of starting pointtoLatitude
- latitude of end pointtoLongitude
- longitude of end pointcolor
- color of line in hex (e.g. "2355DD") predefined values in MapElementColor.java- Returns:
- reference to map object
-
lineStyle
-
setHeight
Set the height of the map- Parameters:
height
- in pixels- Returns:
- reference to map object
-