
#################
MarkupTypeManager
#################

.. js:class:: wv.MarkupTypeManager

   The markup manager exports JSON data for markup in the scene. By default, it will export "views", "notes", "measurement", and "lines". To add a custom markup class to be exported and imported along with other markup items, you can register a custom markup type manager.
   
   The custom markup manager needs two functions:
   
   
   - exportMarkup creates an array of JSON markup data.
   - loadData takes an array of JSON markup data and creates markup items.
   
   
   Index
   =====
   
   .. rubric:: Constructors
   
   
   .. rst-class:: api-xref-list
   
   
   * :js:func:`~wv.MarkupTypeManager.constructor`
   
   .. rubric:: Methods
   
   
   .. rst-class:: api-xref-list
   
   
   * :js:meth:`~wv.MarkupTypeManager.exportMarkup`
   * :js:meth:`~wv.MarkupTypeManager.loadData`
   
   



.. rst-class:: kind-group kind-constructors

.. rubric:: Constructors
   :class: kind-group-title


.. js:method:: wv.MarkupTypeManager.constructor

      .. rst-class:: sig-pretty-signature
      
         | MarkupTypeManager(): :js:class:`MarkupTypeManager <wv.MarkupTypeManager>`
      
      **Returns**\ : :js:class:`MarkupTypeManager <wv.MarkupTypeManager>`
      



.. rst-class:: kind-group kind-methods

.. rubric:: Methods
   :class: kind-group-title


.. js:method:: wv.MarkupTypeManager.exportMarkup

      .. rst-class:: sig-pretty-signature
      
         | exportMarkup(): *object*\ []
      
      **Returns**\ : *object*\ []
      
      
         JSON Array containing markup data.
      
      



.. js:method:: wv.MarkupTypeManager.loadData

      .. rst-class:: sig-pretty-signature
      
         | loadData(**_**\ : *any*\ []): *Promise*
      
      Loads JSON markup data
      
      **Parameters**
      
      
         **\_**\ : *any*\ []
      
      
            JSON Array containing markup data.
      
      
      
      **Returns**\ : *Promise*
      




