public class IlpShapeBackground extends IlpAbstractMapDataSourceBackground
.shp
Shape files as background.
This background loader reads:
.shp
.
.dbf
(optional),
.shx
, and the Perforce JViews spatial index file,
with extension .idx
(optional).
See also: the Perforce JViews demo demos/maps/esri
, which can
be used to create the spatial index (.idx
) files, and
the Perforce JViews package ilog.views.maps.format.shapefile
.
managerLayers
LOAD_ON_DEMAND_PROPERTY, THREADED_PROPERTY, URL_PROPERTY, VISIBLE_PROPERTY
Constructor and Description |
---|
IlpShapeBackground()
Instantiates a new background.
|
Modifier and Type | Method and Description |
---|---|
IlvMapDataSource |
createMapDataSource(IlpViewsView view)
Creates an
ilog.views.maps.datasource.IlvTiledShapeDataSource
if load-on-demand is enabled or an
ilog.views.maps.datasource.IlvShapeDataSource otherwise. |
protected IlvMapStyle |
createMapStyle()
If no style is already being defined in the
IlvMapDataSource ,
it by default creates an IlvGraphicPathStyle . |
create, createRenderer, customizeMapStyle, dispose, getMapDataSource, getMapStyle
addLayer, addLayers, addPropertyChangeListener, endBatch, getManagerLayer, getManagerLayers, getManagerLayersCount, getProperties, getProperty, getUrl, isLoadOnDemand, isThreaded, isVisible, removeLayer, removeLayers, removePropertyChangeListener, setLoadOnDemand, setProperty, setThreaded, setUrl, setVisible, startBatch
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addPropertyChangeListener, getManagerLayer, getManagerLayers, getManagerLayersCount, getProperty, removePropertyChangeListener, setProperty
public IlvMapDataSource createMapDataSource(IlpViewsView view) throws IlpBackgroundHandlingException
ilog.views.maps.datasource.IlvTiledShapeDataSource
if load-on-demand is enabled or an
ilog.views.maps.datasource.IlvShapeDataSource
otherwise.view
- the IlpViewsView being usedIlpBackgroundHandlingException
- in case that there is problem handling this operation.IlpMapDataSourceBackground.createMapDataSource(ilog.cpl.graphic.views.IlpViewsView)
protected IlvMapStyle createMapStyle() throws IlpBackgroundHandlingException
IlvMapDataSource
,
it by default creates an IlvGraphicPathStyle
.createMapStyle
in class IlpAbstractMapDataSourceBackground
ilog.views.maps.graphic.style.IlvMapStyle
to
be used by this background's
ilog.views.maps.datasource.IlvMapDataSource
.IlpBackgroundHandlingException
- if a problem occurs.IlpAbstractMapDataSourceBackground.createMapStyle()
© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.