Modifier and Type | Method and Description |
---|---|
Extent |
MapWidget.getExtent()
The current extent of the map in map units.
|
Modifier and Type | Method and Description |
---|---|
void |
MapWidget.setExtent(Extent extent)
Sets the extent of the map.
|
void |
MapWidget.Options.setExtent(Extent extent)
If provided, the extent and projection of the map is set to the properties of
Extent.
|
void |
MapWidget.setExtent(Extent extent,
boolean fit)
Sets the extent of the map.
|
Modifier and Type | Method and Description |
---|---|
Extent |
Portal.getDefaultExtent()
The default extent for the map the portal displays in the map viewer.
|
Modifier and Type | Method and Description |
---|---|
void |
MapExtentChangeHandler.onMapExtentChange(Extent extent,
Point delta,
boolean levelChange,
LOD lod) |
void |
MapPanHandler.onMapPan(Extent extent,
Point delta) |
void |
MapPanEndHandler.onMapPanEnd(Extent extent,
Point endPoint) |
void |
MapPanStartHandler.onMapPanStart(Extent extent,
Point startPoint) |
void |
MapResizeHandler.onMapResize(Extent extent,
int width,
int height) |
void |
MapZoomHandler.onZoom(Extent extent,
float zoomFactor,
Point anchor) |
void |
MapZoomEndHandler.onZoomEnd(Extent extent,
float zoomFactor,
Point anchor,
int level) |
void |
MapZoomStartHandler.onZoomStart(Extent extent,
float zoomFactor,
Point anchor,
int level) |
Modifier and Type | Method and Description |
---|---|
Extent |
Extent.centerAt(Point point)
A new extent is returned with the same width and height centered at the argument point.
|
static Extent |
Extent.create(double xmin,
double ymin,
double xmax,
double ymax,
SpatialReference ref)
Creates a new Extent object.
|
static Extent |
Extent.create(com.google.gwt.core.client.JavaScriptObject json)
Creates a new Extent object using a JSON object.
|
Extent |
Extent.expand(float factor)
Expands the extent by the factor given.
|
Extent |
Polyline.getExtent()
Returns the extent of the Polyline.
|
Extent |
Polygon.getExtent()
Returns the extent of the polygon.
|
Extent |
Multipoint.getExtent()
Gets the extent of all the points.
|
static Extent |
Geometry.getExtentForScale(MapWidget map,
int scale)
Get the extent for the specified scale.
|
Extent |
Extent.offset(double dx,
double dy)
Offsets the current extent.
|
Extent |
Extent.union(Extent extent)
Expands this extent to include the extent of the argument.
|
Extent |
Extent.update(double xmin,
double ymin,
double xmax,
double ymax,
SpatialReference ref)
Updates this extent with the specified parameters.
|
Modifier and Type | Method and Description |
---|---|
boolean |
Extent.contains(Extent extent)
When "true", the geometry in the argument is contained in this extent.
|
boolean |
Extent.intersects(Extent extent)
Returns true if the input geometry intersects this extent.
|
static Geometry |
Geometry.toMapGeometry(Extent extent,
float width,
float height,
Geometry mapGeometry)
Converts the geometry argument to map coordinates based on the extent, width, and height of the Map.
|
static Point |
Geometry.toMapPoint(Extent extent,
float width,
float height,
Point screenPoint)
Deprecated.
Deprecated at v1.1. Use toMapGeometry instead
|
static Geometry |
Geometry.toScreenGeometry(Extent extent,
float width,
float height,
Geometry screenGeometry)
Converts the geometry argument to screen coordinates based on the extent, width, and height of the Map.
|
static Point |
Geometry.toScreenPoint(Extent extent,
float width,
float height,
Point mapPoint)
Deprecated.
Deprecated at v1.1. Use toScreenGeometry instead
|
Extent |
Extent.union(Extent extent)
Expands this extent to include the extent of the argument.
|
Modifier and Type | Method and Description |
---|---|
Extent |
ImageParameters.getBbox()
Extent of map to be exported.
|
Extent |
WMSLayerInfo.getExtent()
The layer extent.
|
Extent |
WMSLayer.getExtent()
Extent of the WMS service.
|
Extent |
MapImage.getExtent()
Extent of exported map.
|
Extent |
ImageServiceParameters.getExtent()
Extent of the exported image.
|
Extent |
TiledMapServiceLayer.getFullExtent()
Full extent as defined by the map service.
|
Extent |
FeatureLayer.getFullExtent()
The full extent of the layer.
|
Extent |
DynamicMapServiceLayer.getFullExtent()
Full extent as defined by the map service.
|
Extent |
TiledMapServiceLayer.getInitialExtent()
Initial extent as defined by the map service.
|
Extent |
DynamicMapServiceLayer.getInitialExtent()
Initial extent as defined by the map service.
|
Modifier and Type | Method and Description |
---|---|
static MapImage |
MapImage.create(Extent extent,
java.lang.String href)
Creates a new Map Image object.
|
static WMSLayerInfo |
WMSLayerInfo.create(java.lang.String name,
java.lang.String title,
java.lang.String description,
Extent extent)
Creates a new WMSLayerInfo object.
|
java.lang.String |
DynamicMapServiceLayer.getImageUrl(Extent extent,
float width,
float height,
GetImageUrlCallback callback)
Method to implement when extending DynamicMapServiceLayer.
|
void |
ImageParameters.setBbox(Extent bbox) |
void |
WMSLayer.ResourceInfo.setExtent(Extent extent) |
void |
ImageServiceParameters.setExtent(Extent extent) |
void |
WMTSLayerInfo.Options.setFullExtent(Extent fullExtent)
Set the fullExtent parameter.
|
void |
WMTSLayerInfo.Options.setInitialExtent(Extent initialExtent)
Set the initialExtent parameter.
|
Modifier and Type | Method and Description |
---|---|
Extent |
RestfulLayerInfo.getExtent() |
Extent |
RestfulServicesDirectory.getFullExtent() |
Extent |
RestfulServicesDirectory.getInitialExtent() |
Modifier and Type | Method and Description |
---|---|
Extent |
DirectionsFeatureSet.getExtent()
The extent of the route.
|
Extent |
IdentifyParameters.getMapExtent()
The Extent or bounding box of the map currently being viewed.
|
Modifier and Type | Method and Description |
---|---|
void |
IdentifyParameters.setMapExtent(Extent mapExtent)
Set the mapExtent parameter.
|
void |
Locator.Parameters.setSearchExtent(Extent searchExtent) |
Modifier and Type | Method and Description |
---|---|
Extent |
VEGeocodeResult.getBestView()
Best extent for displaying the result.
|