public class StandardMapComponent extends Object implements MapComponent, Serializable, JRChangeEventsSupport
| Modifier and Type | Field and Description |
|---|---|
static String |
PROPERTY_ADDRESS_EXPRESSION |
static String |
PROPERTY_EVALUATION_GROUP |
static String |
PROPERTY_EVALUATION_TIME |
static String |
PROPERTY_IMAGE_TYPE |
static String |
PROPERTY_LANGUAGE_EXPRESSION |
static String |
PROPERTY_LATITUDE_EXPRESSION |
static String |
PROPERTY_LONGITUDE_EXPRESSION |
static String |
PROPERTY_MAP_SCALE |
static String |
PROPERTY_MAP_TYPE |
static String |
PROPERTY_MARKER_DATA
Deprecated.
Replaced by
PROPERTY_MARKER_DATA_LIST. |
static String |
PROPERTY_MARKER_DATA_LIST |
static String |
PROPERTY_MARKER_DATASET
Deprecated.
Replaced by
PROPERTY_MARKER_DATA. |
static String |
PROPERTY_ON_ERROR_TYPE |
static String |
PROPERTY_PATH_DATA_LIST |
static String |
PROPERTY_PATH_STYLE_LIST |
static String |
PROPERTY_ZOOM_EXPRESSION |
ATTRIBUTE_IMAGE_TYPE, ATTRIBUTE_MAP_SCALE, ATTRIBUTE_MAP_TYPE, ATTRIBUTE_ON_ERROR_TYPE, DEFAULT_LATITUDE, DEFAULT_LONGITUDE, DEFAULT_MAP_TYPE, DEFAULT_ON_ERROR_TYPE, DEFAULT_PATH_NAME, DEFAULT_ZOOM, ELEMENT_MARKER_DATA, ELEMENT_PATH_DATA, ELEMENT_PATH_STYLE, ITEM_PROPERTY_address, ITEM_PROPERTY_clickable, ITEM_PROPERTY_draggable, ITEM_PROPERTY_latitude, ITEM_PROPERTY_longitude, ITEM_PROPERTY_MARKER_color, ITEM_PROPERTY_MARKER_cursor, ITEM_PROPERTY_MARKER_flat, ITEM_PROPERTY_MARKER_icon, ITEM_PROPERTY_MARKER_ICON_ANCHOR_x, ITEM_PROPERTY_MARKER_ICON_ANCHOR_y, ITEM_PROPERTY_MARKER_ICON_height, ITEM_PROPERTY_MARKER_ICON_ORIGIN_x, ITEM_PROPERTY_MARKER_ICON_ORIGIN_y, ITEM_PROPERTY_MARKER_ICON_url, ITEM_PROPERTY_MARKER_ICON_width, ITEM_PROPERTY_MARKER_INFOWINDOW_content, ITEM_PROPERTY_MARKER_INFOWINDOW_latitude, ITEM_PROPERTY_MARKER_INFOWINDOW_longitude, ITEM_PROPERTY_MARKER_INFOWINDOW_maxWidth, ITEM_PROPERTY_MARKER_INFOWINDOW_pixelOffset, ITEM_PROPERTY_MARKER_label, ITEM_PROPERTY_MARKER_optimized, ITEM_PROPERTY_MARKER_raiseOnDrag, ITEM_PROPERTY_MARKER_shadow, ITEM_PROPERTY_MARKER_SHADOW_ANCHOR_x, ITEM_PROPERTY_MARKER_SHADOW_ANCHOR_y, ITEM_PROPERTY_MARKER_SHADOW_height, ITEM_PROPERTY_MARKER_SHADOW_ORIGIN_x, ITEM_PROPERTY_MARKER_SHADOW_ORIGIN_y, ITEM_PROPERTY_MARKER_SHADOW_url, ITEM_PROPERTY_MARKER_SHADOW_width, ITEM_PROPERTY_MARKER_size, ITEM_PROPERTY_MARKER_target, ITEM_PROPERTY_MARKER_title, ITEM_PROPERTY_MARKER_url, ITEM_PROPERTY_MARKER_zIndex, ITEM_PROPERTY_name, ITEM_PROPERTY_style, ITEM_PROPERTY_STYLE_editable, ITEM_PROPERTY_STYLE_fillColor, ITEM_PROPERTY_STYLE_fillOpacity, ITEM_PROPERTY_STYLE_geodesic, ITEM_PROPERTY_STYLE_isPolygon, ITEM_PROPERTY_STYLE_strokeColor, ITEM_PROPERTY_STYLE_strokeOpacity, ITEM_PROPERTY_STYLE_strokeWeight, ITEM_PROPERTY_visible, MAP_ELEMENT_NAME, MAP_ELEMENT_TYPE, PARAMETER_CACHE_RENDERER, PARAMETER_LANGUAGE, PARAMETER_MARKERS, PARAMETER_ON_ERROR_TYPE, PARAMETER_PATH_LOCATIONS, PARAMETER_PATHS, PARAMETER_REQ_PARAMS, PARAMETER_ZOOM, PROPERTY_CLIENT_ID, PROPERTY_KEY, PROPERTY_PREFIX, PROPERTY_SIGNATURE, PROPERTY_VERSION| Constructor and Description |
|---|
StandardMapComponent() |
StandardMapComponent(MapComponent map,
JRBaseObjectFactory objectFactory) |
| Modifier and Type | Method and Description |
|---|---|
void |
addMarkerData(int index,
ItemData markerData) |
void |
addMarkerData(ItemData markerData) |
void |
addPathData(int index,
ItemData pathData) |
void |
addPathData(ItemData pathData) |
void |
addPathStyle(int index,
ItemData pathStyle) |
void |
addPathStyle(ItemData pathStyle) |
Object |
clone() |
JRExpression |
getAddressExpression()
Returns a
JRExpression
representing the address of the map center. |
String |
getEvaluationGroup()
Returns the evaluation group name for the map component element
|
EvaluationTimeEnum |
getEvaluationTime()
Returns the evaluation time of the map component element
|
JRPropertyChangeSupport |
getEventSupport()
Returns the property change support object for this instance.
|
MapImageTypeEnum |
getImageType()
Returns the image format of the map.
|
JRExpression |
getLanguageExpression()
Returns a
JRExpression
representing the language for the labels on the map. |
JRExpression |
getLatitudeExpression()
Returns a
JRExpression
representing the latitude coordinate of the map center |
JRExpression |
getLongitudeExpression()
Returns a
JRExpression
representing the longitude coordinate of the map center |
MapScaleEnum |
getMapScale()
Returns the scale factor of the Google map used to return higher-resolution map images when
working with high resolution screens available on mobile devices.
|
MapTypeEnum |
getMapType()
Returns the type of the Google map.
|
ItemData |
getMarkerData()
Deprecated.
Replaced by
getMarkerDataList(). |
List<ItemData> |
getMarkerDataList()
Returns a list of
ItemData objects
representing collections of markers on the map |
MarkerDataset |
getMarkerDataset()
Deprecated.
Replaced by
getMarkerData(). |
OnErrorTypeEnum |
getOnErrorType()
Returns an attribute that customizes the way the engine handles a missing map image
during report generation.
|
List<ItemData> |
getPathDataList()
Returns a list of
ItemData objects
representing collections of paths on the map |
List<ItemData> |
getPathStyleList()
Returns a list of
ItemData objects
representing collections of path styles for the map |
JRExpression |
getZoomExpression()
Returns a numeric expression
representing the zoom factor of the map.
|
ItemData |
removeMarkerData(ItemData markerData) |
ItemData |
removePathData(ItemData pathData) |
ItemData |
removePathStyle(ItemData pathStyle) |
void |
setAddressExpression(JRExpression addressExpression) |
void |
setEvaluationGroup(String evaluationGroup) |
void |
setEvaluationTime(EvaluationTimeEnum evaluationTimeValue) |
void |
setImageType(MapImageTypeEnum imageType) |
void |
setLanguageExpression(JRExpression languageExpression) |
void |
setLatitudeExpression(JRExpression latitudeExpression) |
void |
setLongitudeExpression(JRExpression longitudeExpression) |
void |
setMapScale(MapScaleEnum mapScale) |
void |
setMapType(MapTypeEnum mapType) |
void |
setMarkerData(ItemData markerData)
Deprecated.
Replaced by
addMarkerData(ItemData). |
void |
setMarkerDataset(MarkerDataset markerDataset)
Deprecated.
Replaced by
setMarkerData(ItemData). |
void |
setOnErrorType(OnErrorTypeEnum onErrorType) |
void |
setZoomExpression(JRExpression zoomExpression) |
public static final String PROPERTY_LATITUDE_EXPRESSION
public static final String PROPERTY_LONGITUDE_EXPRESSION
public static final String PROPERTY_ADDRESS_EXPRESSION
public static final String PROPERTY_ZOOM_EXPRESSION
public static final String PROPERTY_LANGUAGE_EXPRESSION
public static final String PROPERTY_EVALUATION_TIME
public static final String PROPERTY_EVALUATION_GROUP
public static final String PROPERTY_MAP_TYPE
public static final String PROPERTY_MAP_SCALE
public static final String PROPERTY_IMAGE_TYPE
public static final String PROPERTY_ON_ERROR_TYPE
public static final String PROPERTY_MARKER_DATA_LIST
public static final String PROPERTY_PATH_STYLE_LIST
public static final String PROPERTY_PATH_DATA_LIST
public static final String PROPERTY_MARKER_DATASET
PROPERTY_MARKER_DATA.public static final String PROPERTY_MARKER_DATA
PROPERTY_MARKER_DATA_LIST.public StandardMapComponent()
public StandardMapComponent(MapComponent map, JRBaseObjectFactory objectFactory)
public JRExpression getLatitudeExpression()
MapComponentJRExpression
representing the latitude coordinate of the map centergetLatitudeExpression in interface MapComponentpublic void setLatitudeExpression(JRExpression latitudeExpression)
public JRExpression getLongitudeExpression()
MapComponentJRExpression
representing the longitude coordinate of the map centergetLongitudeExpression in interface MapComponentpublic void setLongitudeExpression(JRExpression longitudeExpression)
public JRExpression getAddressExpression()
MapComponentJRExpression
representing the address of the map center. If no latitude or longitude
coordinates are provided, the address expression will be used to calculate
these coordinatesgetAddressExpression in interface MapComponentpublic void setAddressExpression(JRExpression addressExpression)
public JRExpression getZoomExpression()
MapComponentgetZoomExpression in interface MapComponentpublic void setZoomExpression(JRExpression zoomExpression)
public JRExpression getLanguageExpression()
MapComponentJRExpression
representing the language for the labels on the map.getLanguageExpression in interface MapComponentpublic void setLanguageExpression(JRExpression languageExpression)
public EvaluationTimeEnum getEvaluationTime()
MapComponentgetEvaluationTime in interface MapComponentpublic void setEvaluationTime(EvaluationTimeEnum evaluationTimeValue)
public String getEvaluationGroup()
MapComponentgetEvaluationGroup in interface MapComponentpublic void setEvaluationGroup(String evaluationGroup)
public JRPropertyChangeSupport getEventSupport()
JRChangeEventsSupportgetEventSupport in interface JRChangeEventsSupportpublic Object clone()
clone in interface JRCloneableclone in class Objectpublic MapTypeEnum getMapType()
MapComponentgetMapType in interface MapComponentMapTypeEnumpublic void setMapType(MapTypeEnum mapType)
public MapScaleEnum getMapScale()
MapComponent1 (default value)24 (for Business customers only)getMapScale in interface MapComponentpublic void setMapScale(MapScaleEnum mapScale)
public MapImageTypeEnum getImageType()
MapComponentgetImageType in interface MapComponentMapImageTypeEnumpublic void setImageType(MapImageTypeEnum imageType)
public ItemData getMarkerData()
getMarkerDataList().getMarkerData in interface MapComponentpublic void setMarkerData(ItemData markerData)
addMarkerData(ItemData).public OnErrorTypeEnum getOnErrorType()
MapComponentgetOnErrorType in interface MapComponentOnErrorTypeEnumpublic void setOnErrorType(OnErrorTypeEnum onErrorType)
public MarkerDataset getMarkerDataset()
getMarkerData().getMarkerDataset in interface MapComponentpublic void setMarkerDataset(MarkerDataset markerDataset)
setMarkerData(ItemData).public List<ItemData> getPathStyleList()
MapComponentItemData objects
representing collections of path styles for the mapgetPathStyleList in interface MapComponentItemDatapublic void addPathStyle(ItemData pathStyle)
public void addPathStyle(int index,
ItemData pathStyle)
public List<ItemData> getMarkerDataList()
MapComponentItemData objects
representing collections of markers on the mapgetMarkerDataList in interface MapComponentItemDatapublic void addMarkerData(ItemData markerData)
public void addMarkerData(int index,
ItemData markerData)
public List<ItemData> getPathDataList()
MapComponentItemData objects
representing collections of paths on the mapgetPathDataList in interface MapComponentItemDatapublic void addPathData(ItemData pathData)
public void addPathData(int index,
ItemData pathData)
Copyright © 2017. All rights reserved.