02-24-2020 11:16 AM - edited 02-24-2020 01:27 PM
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
JS code samples only availiable to customize Map, Bi Map
Is there is a step-by step toturial or samples for 3D Map?
02-25-2020 06:17 AM
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:
(you must register for the access, the registration is free)