List of deprecated objects

This document contains the list of objects that has been deprecated in each version with the explanation to how replace those objects with newer ones.

Version 7.6

In this version a big number of UI controls has changed.

Icons

Icon classnames are no more the prefered way to add icons to HTML elements. Now the prefered way to add icons is usgin SVG. There is a Mapspace.html.icons object containing SVG definitions for common icons. So there i no more need to add classnames to DIV or SPAN elements. Now to add an icon to a div element the API just add some SVG content, like this:

//Use any icon name in Mapspace.html.icons
var addIcon = Mapspace.html.getIcon('ADD');
myDiv.innerHTML = addIcon;

This list of constants are no more available in the API 7.6:

  • Mapspace.css.CLASS_ICON_ADD = 'mapspace-icon-add'
  • Mapspace.css.CLASS_ICON_ARROWBACK = 'mapspace-icon-arrowback'
  • Mapspace.css.CLASS_ICON_ARROWFORWARD = 'mapspace-icon-arrowforward'
  • Mapspace.css.CLASS_ICON_CHEVRONLEFT = 'mapspace-icon-chevronleft'
  • Mapspace.css.CLASS_ICON_CHEVRONRIGHT = 'mapspace-icon-chevronright'
  • Mapspace.css.CLASS_ICON_DROPDOWN = 'mapspace-icon-dropdown'
  • Mapspace.css.CLASS_ICON_EXTRA_SIZE = 'mapspace-icon-extra-size'
  • Mapspace.css.CLASS_ICON_LOGOUT = 'mapspace-icon-logout'
  • Mapspace.css.CLASS_ICON_MENU = 'mapspace-icon-menu'
  • Mapspace.css.CLASS_ICON_MEASUREMENU = 'mapspace-icon-measurement-menu'
  • Mapspace.css.CLASS_ICON_ANOTATEMENU = 'mapspace-icon-anotation-menu'
  • Mapspace.css.CLASS_ICON_NORTH = 'mapspace-icon-north'
  • Mapspace.css.CLASS_ICON_REMOVE = 'mapspace-icon-remove'
  • Mapspace.css.CLASS_ICON_SEARCH = 'mapspace-icon-search'
  • Mapspace.css.CLASS_ICON_SOURCELOCAL = 'mapspace-icon-sourcelocal'
  • Mapspace.css.CLASS_ICON_SOURCEREMOTE = 'mapspace-icon-sourceremote'
  • Mapspace.css.CLASS_ICON_SOURCESERVICE = 'mapspace-icon-sourceservice'
  • Mapspace.css.CLASS_ICON_UPLOAD = 'mapspace-icon-upload'
  • Mapspace.css.CLASS_ICON_WARNING = 'mapspace-icon-warning'
  • Mapspace.css.CLASS_ICON_ZOOMOUTMAP = 'mapspace-icon-zoomoutmap'

This functions and events has been removed and no more used:

  • Mapspace.controldef.UserOptionsMenu
  • Mapspace.controldef.ProgressLabel
  • Mapspace.controldef.Logout
  • Mapspace.control.ButtonStyle
  • Mapspace.LoadingEvent (now it is Mapspace.TaskEvent)
  • Mapspace.action.ProgressLabel (now Mapspace.action.TaskNotification)
  • Mapspace.ortho.controldef.getDefaultSideBarControls
  • Mapspace.oblique.controldef.getDefaultSideBarControls
  • Mapspace.street.controldef.getDefaultSideBarControls
  • Mapspace.threed.controldef.getDefaultSideBarControls

This functions has been removed. Now they are no more needed and a new Mapspace.control.ViewerSettingsDialog and its actions are used.

  • Mapspace.action.DebugGrid
  • Mapspace.action.DebugMode
  • Mapspace.threed.action.Dtm
  • Mapspace.street.action.DepthMap
  • Mapspace.ortho.controldef.ScreenShot
  • Mapspace.ortho.controldef.ZoomSlider
  • Mapspace.oblique.controldef.ScreenShot
  • Mapspace.oblique.controldef.ZoomSlider
  • Mapspace.threed.controldef.ScreenShot
  • Mapspace.threed.controldef.GlobeColor
  • Mapspace.street.controldef.Brightness
  • Mapspace.street.controldef.Contrast
  • Mapspace.street.controldef.ScreenShot
  • Mapspace.street.controldef.ZoomSlider

Brightness slider control

This control was used to show a slider to change LiDAR point size. Now it has been replaced with common Bootstrap controls.

This constants, typedefs, functions and classes are no more available:

  • Mapspace.css.CLASS_BRIGHTNESS = 'mapspace-brightness'
  • Mapspace.css.CLASS_BRIGHTNESS_BUTTON2 = 'mapspace-brightness-button2'
  • Mapspace.css.CLASS_ICON_BRIGHTNESS = 'mapspace-icon-brigthness'
  • Mapspace.control.Brightness
  • Mapspace.street.action.Brightness

Checkbox control

This control was used to show a toggle option. Now it has been replaced with common Bootstrap controls.

This constants, typedefs, functions and classes are no more available:

  • Mapspace.css.CLASS_CHECKBOX = 'mapspace-checkbox'
  • Mapspace.control.CheckBoxOptions
  • Mapspace.control.CheckBox
  • Mapspace.controldef.CheckBox
  • Mapspace.controldef.SyncCheckBox
  • Mapspace.controldef.SyncCenterCheckBox
  • Mapspace.controldef.SyncRotationCheckBox
  • Mapspace.controldef.SyncResolutionCheckBox
  • Mapspace.controldef.DebugModeCheckBox
  • Mapspace.css.CLASS_MEASUREMENTS_LABELS = 'mapspace-measurements-labels'
  • Mapspace.css.CLASS_ANNOTATIONS_LABELS = 'mapspace-annotations-labels'
  • Mapspace.ortho.controldef.MeasurementLabels
  • Mapspace.oblique.controldef.MeasurementLabels
  • Mapspace.street.controldef.MeasurementLabels
  • Mapspace.threed.controldef.MeasurementLabels

Dropdown control

This control has been reworked and now this constants are no more needed:

  • Mapspace.css.CLASS_DROPDOWN_BUTTON = 'mapspace-dropdown-button'
  • Mapspace.css.CLASS_DROPDOWN_ARROW = 'mapspace-dropdown-arrow'
  • Mapspace.css.CLASS_DROPDOWN_LIST = 'mapspace-dropdown-list'
  • Mapspace.css.CLASS_DROPDOWN_LISTBOX = 'mapspace-dropdown-listbox';

Contrast slider control

This control was used to show a slider to change LiDAR point size. Now it has been replaced with common Bootstrap controls.

This constants, typedefs, functions and classes are no more available:

  • Mapspace.css.CLASS_CONTRAST = 'mapspace-contrast'
  • Mapspace.css.CLASS_CONTRAST_BUTTON2 = 'mapspace-contrast-button2'
  • Mapspace.css.CLASS_ICON_CONTRAST = 'mapspace-icon-contrast'
  • Mapspace.control.Contrast
  • Mapspace.street.action.Contrast

Datasources control

This control was never used. It was going to be a datasource selector but now has been replaced with {Mapspace.control.AddLayerDialog}.

This constants, typedefs, functions and classes are no more available:

  • Mapspace.css.CLASS_DATASOURCES = 'mapspace-datasources'
  • Mapspace.css.CLASS_DATASOURCES_ADDBUTTON = 'mapspace-datasources-addbutton'
  • Mapspace.css.CLASS_DATASOURCES_UPLOADBUTTON = 'mapspace-datasources-uploadbutton'
  • Mapspace.css.CLASS_DATASOURCES_REMOVEBUTTON = 'mapspace-datasources-removebutton'
  • Mapspace.css.CLASS_DATASOURCES_PANEL = 'mapspace-datasources-panel'
  • Mapspace.control.DataSourcesOptions
  • Mapspace.control.DataSourceEvent
  • Mapspace.control.DataSources

DoubleButton control

This control has been replaced with common Mapspace.control.Button.

This constants, typedefs, functions and classes are no more available:

  • Mapspace.css.CLASS_DOUBLEBUTTON = 'mapspace-doublebutton'
  • Mapspace.css.CLASS_UPDOWN = 'mapspace-updown'
  • Mapspace.control.DoubleButtonEventType
  • Mapspace.control.DoubleButtonOptions
  • Mapspace.control.DoubleButton

FileSelect control

This control was used to show a file selector. Now it has been replaced with common Bootstrap controls.

This constants, typedefs, functions and classes are no more available:

  • Mapspace.css.CLASS_FILESELECT = 'mapspace-fileselect'
  • Mapspace.css.CLASS_FILESELECT_FILEBUTTON = 'mapspace-fileselect-filebutton'
  • Mapspace.control.EventType.FILESELECTED
  • Mapspace.control.FileSelectOptions
  • Mapspace.control.FileSelectEvent
  • Mapspace.control.FileSelect
  • Mapspace.street.action.FileSelectVector ?????

FormattedLabel control

This control has been replaced with Mapspace.control.Notifier.

This constants, typedefs and classes are no more available:

  • Mapspace.control.FormattedLabelOptions
  • Mapspace.control.FormattedLabel

GoTo control

This control was a textbox to search locations and has been superseded by Mapspace.control.Search that does the same and more.

This constants, typedefs, functions and classes are no more available:

  • Mapspace.css.CLASS_GOTO = 'mapspace-goto'
  • Mapspace.control.GotoEvent
  • Mapspace.control.GotoOptions
  • Mapspace.control.Goto
  • Mapspace.ortho.action.Goto
  • Mapspace.oblique.action.Goto
  • Mapspace.street.action.Goto
  • Mapspace.ortho.controldef.Goto
  • Mapspace.oblique.controldef.Goto
  • Mapspace.street.controldef.Goto

GoHome control

This control was used to show a button to relocate the map and now it has been replaced with a common Mapspace.control.Button.

This constants and classes are no more available:

  • Mapspace.css.CLASS_ICON_GOHOME = 'mapspace-icon-gohome'
  • Mapspace.control.GoHome

LiDARPointSize slider control

This control was used to show a slider to change LiDAR point size. Now it has been replaced with common Bootstrap controls.

This constants, typedefs, functions and classes are no more available:

  • Mapspace.css.CLASS_LIDARPOINTSIZE = 'mapspace-lidarpointsize'
  • Mapspace.css.CLASS_LIDARPOINTSIZE_BUTTON2 = 'mapspace-lidarpointsize-button2'
  • Mapspace.css.CLASS_ICON_LIDARPOINTSIZE = 'mapspace-icon-lidarpointsize'
  • Mapspace.threed.controldef.LiDARPointSize
  • Mapspace.threed.action.LiDARPointSize

ListBox control

This control was used to show a common listbox. Now it has been replaced with common Bootstrap controls.

This constants, typedefs and classes are no more available:

  • Mapspace.css.CLASS_LISTBOX = 'mapspace-listbox'
  • Mapspace.control.ListBoxOptions
  • Mapspace.control.ListBoxEvent
  • Mapspace.control.ListBox

Logout control

This control is no more needed and has been replaced by Mapspace.control.UserOptions, that contain this and other controls.

This constants, typedefs and classes are no more available:

  • Mapspace.css.CLASS_LOGOUT = 'mapspace-logout'
  • Mapspace.control.Logout

MainMenu control

This control is no more needed. It was a kind-of panel container of other controls and now common Bootstrap panels are used instead.

This constants, typedefs and classes are no more available:

  • Mapspace.css.CLASS_MAINMENU = 'mapspace-menu'
  • Mapspace.css.CLASS_MAINMENU_PANEL = 'mapspace-menu-panel'
  • Mapspace.css.CLASS_TOOLS_SUBMENU = 'mapspace-tools-submenu'
  • Mapspace.css.CLASS_TOOLS_SUBMENU_COMMON = 'mapspace-tools-submenu-common'
  • Mapspace.css.CLASS_TOOLS_SUBMENU_MEASUREMENTS = 'mapspace-tools-submenu-measurements'
  • Mapspace.css.CLASS_TOOLS_SUBMENU_ANNOTATIONS = 'mapspace-tools-submenu-annotations'
  • Mapspace.control.MainMenuOptions
  • Mapspace.control.MainMenuEvent
  • Mapspace.control.MainMenu

ObliqueLabel control

This control has been replaced with Mapspace.control.Notifier.

This constants, typedefs and classes are no more available:

  • Mapspace.css.CLASS_OBLIQUELABEL = 'mapspace-obliquelabel'
  • Mapspace.css.CLASS_OBLIQUELABEL_TEXT = 'mapspace-obliquelabel-text'
  • Mapspace.css.CLASS_OBLIQUELABEL_LINK = 'mapspace-obliquelabel-link'
  • Mapspace.control.ObliqueLabel

Orientation control

This control never was used. It allowed to change rotation and baselayer in Ortho viewers but was replaced first with the Mapspace.control.Spinner and now with the Mapspace.control.Rotator.

This constants, typedefs and classes are no more available:

  • Mapspace.css.CLASS_ORIENTATION = 'mapspace-orientation';
  • Mapspace.css.CLASS_ORIENTATION_O = 'mapspace-orientation-O';
  • Mapspace.css.CLASS_ORIENTATION_N = 'mapspace-orientation-N';
  • Mapspace.css.CLASS_ORIENTATION_S = 'mapspace-orientation-S';
  • Mapspace.css.CLASS_ORIENTATION_E = 'mapspace-orientation-E';
  • Mapspace.css.CLASS_ORIENTATION_W = 'mapspace-orientation-W';
  • Mapspace.control.Orientation
  • Mapspace.ortho.action.Orientation
  • Mapspace.control.OrientationEvent

ProgressLabel control

This control has been replaced with Mapspace.control.Notifier.

This constants, typedefs and classes are no more available:

  • Mapspace.css.CLASS_PROGRESSLABEL = 'mapspace-progresslabel'
  • Mapspace.css.CLASS_PROGRESSLABEL_TEXT = 'mapspace-progresslabel-text'
  • Mapspace.css.CLASS_PROGRESSLABEL_ICON = 'mapspace-progresslabel-icon'
  • Mapspace.control.ProgressLabelOptions
  • Mapspace.control.ProgressLabel

Search control

This control has been reworked and now this constants are no more needed:

  • Mapspace.css.CLASS_SEARCH
  • Mapspace.css.CLASS_SEARCH_RESET
  • Mapspace.css.CLASS_SEARCH_TOGGLE
  • Mapspace.css.CLASS_SEARCH_AUTOCOMPLETE
  • Mapspace.css.CLASS_SEARCH_BUTTON
  • Mapspace.css.CLASS_ICON_SEARCH

Select control

This control was used to show a common textbox with buttons. Now it has been replaced with common Bootstrap controls.

This constants, typedefs, functions and classes are no more available:

  • Mapspace.css.CLASS_SELECT = 'mapspace-select'
  • Mapspace.css.CLASS_SELECT_UPPERLABEL = 'mapspace-select-upperlabel'
  • Mapspace.css.CLASS_SELECT_CONTAINER = 'mapspace-select-container'
  • Mapspace.css.CLASS_SELECT_BUTTON = 'mapspace-select-button'
  • Mapspace.control.SelectOptions
  • Mapspace.control.SelectEvent
  • Mapspace.control.Select
  • Mapspace.controldef.TimeSelect
  • Mapspace.oblique.controldef.TimeSelect
  • Mapspace.action.TimeSelect
  • Mapspace.oblique.action.TimeSelect
  • Mapspace.controldef.LayerSelect

SideBarButton control

This control was used to show a button to open a side bar and now it has been replaced with a common Mapspace.control.Button.

This constants and classes are no more available:

  • Mapspace.css.CLASS_SIDEBARBUTTON = 'mapspace-sidebarbutton'
  • Mapspace.css.CLASS_SIDEBARMENU = 'mapspace-sidebar-menu'
  • Mapspace.css_CLASS_SIDEBAR_BOTTOM = 'mapspace-sidebar-bottom'
  • Mapspace.control.SideBarButton

SingleButton control

This control was used to show a button to open a side bar and now it has been replaced with a common Mapspace.control.Button.

This constants, typedefs and classes are no more available:

  • Mapspace.css.CLASS_SINGLEBUTTON = 'mapspace-singlebutton'
  • Mapspace.css.CLASS_APIDOCBUTTON = 'mapspace-apidocbutton'
  • Mapspace.css.CLASS_MEASUREMENTS_CLEAR = 'mapspace-measurements-clear'
  • Mapspace.css.CLASS_ANNOTATIONS_CLEAR = 'mapspace-annotations-clear'
  • Mapspace.css.CLASS_SCREENSHOT = 'mapspace-screenshot'
  • Mapspace.control.SingleButtonOptions
  • Mapspace.control.SingleButton

Slider control

This control was used to show a slider. Now it has been replaced with common Bootstrap controls.

This constants, typedefs and classes are no more available:

  • Mapspace.css.CLASS_SLIDER = 'mapspace-slider'
  • Mapspace.css.CLASS_SLIDER_BUTTON1 = 'mapspace-slider-button1'
  • Mapspace.css.CLASS_SLIDER_BUTTON2 = 'mapspace-slider-button2'
  • Mapspace.css.CLASS_VERTICAL = 'mapspace-vertical'
  • Mapspace.css.CLASS_SLIDER_TRACK = 'mapspace-slider-track'
  • Mapspace.css.CLASS_SLIDER_THUMB = 'mapspace-slider-thumb'
  • Mapspace.control.SliderEvent
  • Mapspace.control.SliderOptions
  • Mapspace.control.Slider

Spinner control

This control was used to show a rotation control and now it has been replaced with Mapspace.control.Rotator.

This constants, typedefs, functions and classes are no more available:

  • Mapspace.css.CLASS_SPINNER = 'mapspace-spinner'
  • Mapspace.css.CLASS_SPINNER_CLOCKWISE = 'mapspace-spinner-clockwise'
  • Mapspace.css.CLASS_SPINNER_COUNTERCLOCKWISE = 'mapspace-spinner-counterclockwise'
  • Mapspace.css.CLASS_SPINNER_FLIP = 'mapspace-spinner-flip'
  • Mapspace.css.CLASS_ICON_SPINNER_CLOCKWISE
  • Mapspace.css.CLASS_ICON_SPINNER_COUNTERCLOCKWISE
  • Mapspace.css.CLASS_ICON_SPINNER_FLIP
  • Mapspace.control.Spinner
  • Mapspace.ortho.action.Spinner
  • Mapspace.oblique.action.Spinner
  • Mapspace.street.action.Spinner
  • Mapspace.threed.action.Spinner
  • Mapspace.ortho.controldef.Spinner
  • Mapspace.oblique.controldef.Spinner
  • Mapspace.street.controldef.Spinner
  • Mapspace.threed.controldef.Spinner

Switcher control

This control has been replaced by Mapspace.control.ViewerTools.

This constants, typedefs, functions and classes are no more available:

  • Mapspace.css.CLASS_SWITCHER = 'mapspace-switcher'
  • Mapspace.control.SwitcherOptions
  • Mapspace.control.SwitcherEvent
  • Mapspace.control.SwitcherEventType
  • Mapspace.control.Switcher
  • Mapspace.ortho.controldef.FeatureInfoSwitcher
  • Mapspace.ortho.controldef.AnnotationSwitcher
  • Mapspace.ortho.controldef.MeasurementSwitcher
  • Mapspace.ortho.controldef.MeasurementClear
  • Mapspace.ortho.controldef.AnnotationClear
  • Mapspace.ortho.controldef.OpenStreetImageSwitcher
  • Mapspace.oblique.controldef.FeatureInfoSwitcher
  • Mapspace.oblique.controldef.MeasurementSwitcher
  • Mapspace.oblique.controldef.MeasurementClear
  • Mapspace.oblique.controldef.AnnotationSwitcher
  • Mapspace.oblique.controldef.AnnotationClear
  • Mapspace.oblique.controldef.OpenStreetImageSwitcher
  • Mapspace.street.controldef.FeatureInfoSwitcher
  • Mapspace.street.controldef.MeasurementSwitcher
  • Mapspace.street.controldef.OpenStreetImageSwitcher
  • Mapspace.threed.controldef.MeasurementSwitcher
  • Mapspace.threed.controldef.MeasurementClear

TextBox control

This control was used to show a textbox input. Now it has been replaced with common Bootstrap controls.

This constants, typedefs and classes are no more available:

  • Mapspace.css.CLASS_TEXTBOX = 'mapspace-textbox'
  • Mapspace.css.CLASS_TEXTBOX_BOX = 'mapspace-textbox-box'
  • Mapspace.control.TextBoxOptions
  • Mapspace.control.TextBox

Toggle control

This control was used to show a toggle option. Now it has been replaced with common Bootstrap controls.

This constants, typedefs, functions and classes are no more available:

  • Mapspace.css.CLASS_TOGGLE = 'mapspace-toggle'
  • Mapspace.control.ToggleOptions
  • Mapspace.control.Toggle
  • Mapspace.controldef.Toggle
  • Mapspace.controldef.SyncToggle
  • Mapspace.controldef.SyncCenterToggle
  • Mapspace.controldef.SyncRotationToggle
  • Mapspace.controldef.SyncResolutionToggle
  • Mapspace.controldef.DebugGridToggle
  • Mapspace.controldef.DebugModeToggle
  • Mapspace.threed.controldef.DtmToggle
  • Mapspace.street.controldef.DepthMapToggle

ToolsMenu control

This control has been replaced by Mapspace.control.ViewerTools.

This constants, typedefs and classes are no more available:

  • Mapspace.css.CLASS_TOOLS_MENU = 'mapspace-tools-menu'
  • Mapspace.css.CLASS_ICON_TOOLS = 'mapspace-icon-tools'
  • Mapspace.control.ToolsMenu

ViewerInfoImage, ViewerInfoAngles and ViewerInfoLiDAR actions

This actions are no more used and have been removed. Use the ViewerInfo actions available in each type of viewer instead.

This constants and functions are no more available:

  • Mapspace.css.CLASS_VIEWERINFO_IMAGE = 'mapspace-viewerinfo-image'
  • Mapspace.css.CLASS_VIEWERINFO_ANGLES = 'mapspace-viewerinfo-angles'
  • Mapspace.css.CLASS_VIEWERINFO_LIDAR = 'mapspace-viewerinfo-lidar'
  • Mapspace.street.controldef.ViewerInfoAngles
  • Mapspace.street.controldef.ViewerInfoImage
  • Mapspace.threed.controldef.ViewerInfoLiDAR

WorkspaceLayoutCreator control

This control has been replaced by Mapspace.control.WorkspaceCreator that is a Bootstrap dialog.

This constants, typedefs and classes are no more available:

  • Mapspace.css.CLASS_WORKSPACELAYOUTCREATOR = 'mapspace-workspacelayoutcreator'
  • Mapspace.css.CLASS_WORKSPACELAYOUTCREATOR_LAYOUT = 'mapspace-workspacelayoutcreator-layout'
  • Mapspace.css.CLASS_ICON_OBLIQUEVIEWER = 'mapspace-icon-obliqueviewer'
  • Mapspace.css.CLASS_ICON_STREETVIEWER = 'mapspace-icon-streetviewer'
  • Mapspace.css.CLASS_ICON_THREEDVIEWER = 'mapspace-icon-threedviewer'
  • Mapspace.css.CLASS_ICON_ORTHOVIEWER = 'mapspace-icon-orthoviewer'
  • Mapspace.control.WorkspaceLayoutCreatorOptions
  • Mapspace.control.WorkspaceLayoutCreator

WorkspaceManager control

This control has been reworked and now this constants are no more needed:

  • Mapspace.css.CLASS_WORKSPACEMANAGER_MAINMENU = 'mapspace-workspacemanager-mainmenu'
  • Mapspace.css.CLASS_WORKSPACEMANAGER_UPPERLABEL = 'mapspace-workspacemanager-upperlabel'
  • Mapspace.css.CLASS_WORKSPACEMANAGER_LISTBOX = 'mapspace-workspacemanager-listbox'
  • Mapspace.css.CLASS_WORKSPACEMANAGER_TOOLTIP = 'mapspace-workspacemanager-tooltip'
  • Mapspace.css.CLASS_WORKSPACEMANAGER_VIEWERMENU = 'mapspace-workspacemanager-viewermenu'

Zoom slider control

This control has been removed and is no more available. Use the Mapspace.control.Zoom instead.

This constants, typedefs and classes are no more available:

  • Mapspace.css.CLASS_ZOOMSLIDER = 'mapspace-zoomslider'
  • Mapspace.css.CLASS_ZOOMSLIDER_BUTTON1 = 'mapspace-zoomslider-button1'
  • Mapspace.css.CLASS_ZOOMSLIDER_BUTTON2 = 'mapspace-zoomslider-button2'
  • Mapspace.control.ZoomSlider
  • Mapspace.ortho.action.ZoomSlider
  • Mapspace.oblique.action.ZoomSlider
  • Mapspace.street.action.ZoomSlider