OpenAPI Interface v1.0

  • View
    87

  • Download
    4

Embed Size (px)

Transcript

(OpenAPI 3D API) Version 1.0

2010. 12

1. 2. i. ii. 3. i. ii. iii. iv. v. vi. vii. viii. ix. x. xi.

..................................................................................... 1 MapControls ......................................................................................... 2 HMap ................................................................................................... 2 Control ................................................................................................ 21 Overlays .............................................................................................. 23 InfoWindow ......................................................................................... 23 Marker ................................................................................................ 26 KML .................................................................................................... 29 KMLStyle ............................................................................................. 32 Point ................................................................................................... 35 Polyline ............................................................................................... 38 Polygon ............................................................................................... 41 Rectangle............................................................................................. 46 Circle ................................................................................................... 48 MultiPolyline ........................................................................................ 51 MultiPolygon ....................................................................................... 54

1.

Class SummaryCircle Control InfoWindow KML KMLStyle Marker Circle UI Control InfoWindow KML KML

MultiPolygon MultiPolygon MultiPolyline MultiPolyline Point Polygon Polyline Rectangle HMap Point Polygon LineString Rectangle 3D Map

1

2. MapControls

i.

HMap

2D/ Map

Constructor SummaryHMap(String

container, int width, int height, String type,

String key, String mapName)3D .

Method Summaryvoid addControlAnchor() .

void addControlXY() . .

void addGeoRSSOverlay() GeoRSS .

void addKMLOverlay() KML .

void addListener() .

void addOverlay() geometry .

void AnalysisSight()

2

void area() .

void clearAnalysisSight()AnalysisSight .

void clearDisplay() .

void clearMapState() .

void clearMeasures() .

void clearOverlays() .

void deleteSelectedObject() .

void describeFeatureType()Post WFS DescribeFeatureType .

void disableScrollWheelZoom() Zoom .

void displayInfowin() .

void displayOverlays() .

void distance() .

void editSelectedGeometry() geometry .

void enableScrollWheelZoom() Zoom .

3

void finishEdit()geometry .

void flyToXY() .

void get2DLayers()2D .

void get3DLayers()3D .

void getAppletContainer() .

void getArea() .

void getBounds() .

void getCenter() .

void getColorRGB()16 10 .

void getEditGeom() .

void getEyePosition() void getFeatureType()Post WFS GetFeature .

void getHeading()Heading .

void getLayerName() .

void getLayers() .

4

void getLevelInfo() Zoom .

void getLockfeature()Post WFS Lockfeature .

void getMapName()Map .

void getOpenLSRouter()Post OpenLS .

void getOpenLSRouterToKML()Post OpenLS KML .

void getPitch() 3 (pitch) .

void getScale() .

void getScreenImage() .

void getScreenXY() .

void getValueHexString()16 10 .

void getWorldXY() .

void getZoomLevel() Zoom .

void init()Map .

void moveSelectedObject() (pan) .

void pan() (pan) .

5

void panTo3DXY()Point 3 .

void panToXY()2D Point .

void playtour()KML Tour .

void removeControl() .

void removeListener() .

void removeOverlay() .

void removePlaytour()KML Tour .

void rotateSelectedObject() .

void saveScreenImage() .

void scaleSelectedObject() void selectObject() Object .

void selectObjectID() ID .

void set2DLayers()2D .

void set3DLayers()3D .

6

void setArea() .

void setBounds() .

void setCenter() .

void setCenterAndScale() .

void setCenterAndZoomLevel() Zoom .

void setClickXY() void setCmdStateCursor() .

void setDefaultPanSpeed() .

void setEarthSkinVisible()EarthSkin visible .

void setHeading() void setHeadingAndPitch() void setLayerManagerVisible() void setLayers() .

void setMiniMapVisible() visible .

void setObject3DVisible() 3 visible (show/hide) .

7

void setPanSpeed() .

void setPitch() void setRasterVisible()Raster visible .

void setScale() .

void setShowHide() .

void setSkyGradientVisible()Sky visible .

void setTerrainProfileVisible()Terrain visible (show/hide) .

void setTrackPipesVisible()TrackPipe visible (show/hide) .

void setVector2DVisible() 2 visible (show/hide) .

void setVectorRasterVisible()VectorRaster visible .

void setVectorRoadVisible()VectorRoad visible .

void setWMSVisible()VMS visible .

void setZoomLevel() Zoom .

void toGML() geometry GML .

void transactionWFS()Post WFS Transaction .

8

void ZoomIn() .

void ZoomOut() .

Constructor DetailuGEonMap

public HMap(String container, int width, int height, String type, String key, String mapName)3D . Parameters: container - width - height - type - (U_VIEWER_WEB2D,U_VIEWER_ANIMATION,U_VIEWER_WEB3D) key - mapName - Stereotype constructor

Method DetailaddControlAnchor

public void addControlAnchor()addGeoRSSOverlay

public void addGeoRSSOverlay() GeoRSS . Parameters: path - GeoRSS

9

addKMLOverlay

public void addKMLOverlay()addListener

public void addListener()addOverlay

public void addOverlay() geometry . Parameters: object - (kml )

AnalysisSight

public void AnalysisSight()area

public void area() .

clearAnalysisSight

public void clearAnalysisSight()clearDisplay

public void clearDisplay() .

clearMapState

public void clearMapState() .

clearMeasures

public void clearMeasures()10

.

clearOverlays

public void clearOverlays() .

deleteSelectedObject

public void deleteSelectedObject()describeFeatureType

public void describeFeatureType()disableScrollWheelZoom

public void disableScrollWheelZoom()displayInfowin

public void displayInfowin()displayOverlays

public void displayOverlays()distance

public void distance() .

editSelectedGeometry

public void editSelectedGeometry()enableScrollWheelZoom

public void enableScrollWheelZoom()

11

finishEdit

public void finishEdit()flyToXY

public void flyToXY() . Parameters: x - x y - y

get2DLayers

public void get2DLayers()get3DLayers

public void get3DLayers()getAppletContainer

public void getAppletContainer()getArea

public void getArea()getBounds

public void getBounds()getCenter

public void getCenter() . Returns: Point -

getColorRGB

public void getColorRGB()12

getEditGeom

public void getEditGeom()getEyePosition

public void getEyePosition()getFeatureType

public void getFeatureType()getHeading

public void getHeading()getLayerName

public void getLayerName()getLayers

public void getLayers()getLevelInfo

public void getLevelInfo()getLockfeature

public void getLockfeature()getMapName

public void getMapName()getOpenLSRouter

public void getOpenLSRouter()

13

getOpenLSRouterToKML

public void getOpenLSRouterToKML()getPitch

public void getPitch() 3 (pitch) .

getScale

public void getScale() . Returns: scale -

getScreenImage

public void getScreenImage() .

getScreenXY

public void getScreenXY() . Parameters: x - x y - y Returns: Point - (x,y)

getValueHexString

public void getValueHexString()getWorldXY

public void getWorldXY() . Parameters: x - x y - y

14

Returns: Point - (x,y)

getZoomLevel

public void getZoomLevel()init

public void init()moveSelectedObject

public void moveSelectedObject() (pan) .

pan

public void pan() (pan) .

panTo3DXY

public void panTo3DXY()panToXY

public void panToXY()playtour

public void playtour()removeControl

public void removeControl()removeListener

public void removeListener()

15

removeOverlay

public void removeOverlay() . Parameters: object -

removePlaytour

public void removePlaytour()rotateSelectedObject

public void rotateSelectedObject()saveScreenImage

public void saveScreenImage()scaleSelectedObject

public void scaleSelectedObject()selectObject