Skip to content

Latest commit

 

History

61 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fmereport-plugin

A plugin to show results from FME Flow workspaces

Download the plugin

  • Download the code.
  • Unpack it to your local folder.
  • Open in your code editor or command prompt and run "npm install" and then "npm run build".
  • Copy the build folder and paste it in a plugins folder in your Origo project.

To use the plugin

Be sure to edit your folders and filenames for your project.

In the Origo project index.html import swiper component

<!--Add in header-->
<link href="plugins/fmereport.css" rel="stylesheet" />

<!--Add in body-->
<script src="plugins/fmereport.min.js"></script>
<script type="text/javascript">
	//Init origo
		var origo = Origo('index.json');
		origo.on('load', function (viewer) {
        var fmereport = Fmereport({
			reportNames: ['Byggrapport', 'Another report title'],
			reportUrls: ['urlToFMEFlow/fmedatastreaming/SEIAWC/Byggrapport.fmw?token=token', 'Another URL'],
			reportIcon: '#fa-info',
  			pickGeomLayer = 'layerName in origo config, activates pick geometry button on layer'
			});
        viewer.addComponent(fmereport);
      });
</script>

About

A plugin to show results from FME Flow workspaces

Resources

Stars

0 stars

Watchers

2 watching

Forks

Releases

Packages

Used by

Contributors

Languages