lib/ReactViews/Map/Panels/SharePanel/BuildShareLink.js
function getShareData(terria) {
  const initSources = terria.initSources.slice();

  addUserAddedCatalog(terria, initSources);
  addSharedMembers(terria, initSources);
  addViewSettings(terria, initSources);
  addFeaturePicking(terria, initSources);
  addLocationMarker(terria, initSources);

  return {
    version: "0.0.05",
    initSources: initSources
  };
}
function getShareData(terria) {
  const initSources = terria.initSources.slice();

  addUserAddedCatalog(terria, initSources);
  addSharedMembers(terria, initSources);
  addViewSettings(terria, initSources);
  addFeaturePicking(terria, initSources);
  addLocationMarker(terria, initSources);

  return {
    version: "0.0.05",
    initSources: initSources
  };
}
function getShareData ( terria ) { const initSources = terria . initSources . slice ( ) ; addUserAddedCatalog ( terria , initSources ) ; addSharedMembers ( terria , initSources ) ; addViewSettings ( terria , initSources ) ; addFeaturePicking ( terria , initSources ) ; addLocationMarker ( terria , initSources ) ; return { version : "0.0.05" , initSources : initSources } ; }
Returns just the JSON that defines the current view.
@param  {Object} terria The Terria object.
@return {Object}
Returns just the JSON that defines the current view .