M.App Enterprise Discussions

Discuss topics with other M.App Enterprise Product pioneers and experts to get the most out of it.
Showing results for 
Search instead for 
Do you mean 
Reply
Highlighted
Occasional Contributor
Posts: 5
Registered: ‎02-07-2020

Custom RIA App

[ Edited ]

Hi,

 

What are the steps to create a custom RIA app within M.App Enterprise?

I can create app using 3D map to display the specified layers at legend

But i want to customize the browser app (with the 3D Map) by adding extra panels & javascript code

JS code samples only availiable to customize Map, Bi Map

 

Is there is a step-by step toturial or samples for 3D Map?

 

Regards,

Maha

Highlighted
Technical Evangelist
Posts: 1,307
Registered: ‎09-11-2015

Re: Custom RIA App

Hi Maha,

 

Ria code samples are currently being worked on and are planned to be released together with the new MAE release (~Q4).

 

I've at least checked on how to basically access the current Ria API and got the following example which works fine when it's put into JS panel of a 3D Map:

// Luciad modules can be loaded with require()
const ReferenceProvider = require("luciad/reference/ReferenceProvider");
const ShapeFactory = require("luciad/shape/ShapeFactory");
const bounds = ShapeFactory.createBounds(ReferenceProvider.getReference("EPSG:4326"), [-74, 1, 40, 1]);

// The map instance is bound to 'map'
map.mapNavigator.fit(bounds);

You can put debugger; statement before them to inspect the inner behavior. But the modules seemingly refer to what can be found in LuciadRia documentation. There's a complex developer guide available here:
- https://dev.luciad.com/portal/productDocumentation/LuciadRIA/docs/documentation/LuciadRIA_DeveloperG...
- https://dev.luciad.com/portal/productDocumentation/LuciadRIA/docs/documentation/
(you must register for the access, the registration is free)

Jan Neumann
Post Sales Engineer Web Applications
Hexagon Geospatial