Extends
Members
-
active{boolean}
-
-
className{string}
-
class Name of the Object
-
initialized{boolean}
-
-
name{string}
-
unique Name
Methods
-
getAppearanceThemes(){Array.<string>}
-
Gets the appearance themes
- Deprecated
- 3.6
-
getCitygmlClassOptions(){Array.<vcs.vcm.widgets.Export.CityGMLClassOptions>}
-
Returns an array of objects with a value and a title property
-
getClassName(){string} inherited
-
returns the class name of this object.
- Deprecated
- Yes
Returns:
className
-
getConfigObject(){Object} inherited
-
-
getFormatOptions(){Array.<string>}
-
Gets the format options available
- Deprecated
- 3.6
-
getId(){string} inherited
-
returns the id of this object
- Deprecated
- Yes
-
getLodOptions(){Array.<string>}
-
Gets the lod options available
- Deprecated
- 3.6
-
getName(){string} inherited
-
returns the name of the Object, the name is either given by the config Object or a uuid is generated
- Deprecated
- Yes
-
getSupportedMaps(){Array.<string>} inherited
-
Returns the widgets supported maps
-
getTexturedFormats(){Array.<string>}
-
Gets formats with texture
- Deprecated
- 3.6
-
isActive(){boolean} inherited
-
returns the active state of the widget
- Deprecated
- v3.6 use the property active directly
Returns:
state of the widget
-
isInitialized(){boolean} inherited
-
checks if the Widget is already initialized
- Deprecated
- Yes
Returns:
true if all requirements are there
-
isSupported(map){boolean} inherited
-
returns true if this widget supports the given map. Should be overriden by the widget
Name Type Description mapstring | vcs.vcm.maps.Map the map or className to check for support
-
prepareRequestAndSend(query, url, token){Promise}
-
Request and FME data download. Takes a query Object
Name Type Description queryvcs.vcm.widgets.Export.Query urlstring optional url, otherwise widgets url is taken
tokenstring optional token override for the widgets token
Type Definitions
-
vcs.vcm.widgets.Export.CityGMLClassOptions{Object}
-
Properties:
Name Type Description valuestring the CityGML class value
namestring the associated string representation, eg. Building, Tunnel
citygmlOnlyboolean whether this class can only be handled when exporting to the CityGML format
-
vcs.vcm.widgets.Export.Options
-
Properties:
Name Type Argument Default Description serverUrlstring the FME server URL
securityTokenstring the FME security token for the given server
showFreeFormCrsInputboolean <optional>
false show a text input for the output CRS
dataProjectionvcs.vcm.util.Projection.Options | undefined the datas projection, defaults to the frameworks projection
coordinateSystemstring | Array.<string> | undefined the output coordinate EPSG. The default value is the data projection. If you pass an array, the first entry is the default and the others become available as a select field
heightModestring <optional>
'absolute' formatsArray.<string> | undefined the supported export formats
lodArray.<string> an array of allowed levels of detail
citygmlclassesArray.<string> the supported citygml classes
appearanceThemesArray.<string> maxareanumber <optional>
2000000 classificationTypestring | undefined <optional>
'both' classifiaction type of the drawing layer
stylevcs.vcm.util.style.VectorStyleItem.Options | undefined the style used on the drawing layer
-
vcs.vcm.widgets.Export.Query{Object}
-
Properties:
Name Type Description formatstring the export format
emailstring the email address to send the download to
cityGmlClassesArray.<vcs.vcm.widgets.Export.CityGMLClassOptions> an array of strings representing thematic classes keys
textureboolean boolean value wether to add textures
appearancestring string value of the appearance theme to use
levelstring string value of the level of detail to use
useFeatureGeometryboolean | undefined whether to use the feature geometry or not
crsstring | undefined the output CRS to use
virtualcityMAP 3.6