11-16-2018 03:50 PM
We are preparing an smart App where feature data is a Geojson url . Our idea is to call the App with Geojson files that have more or less feature instance, but allways same feature structure (otherwise we understand that configuration of smart App would be broken) .
How we can do this external ap call with non-fixed Geojson ????
11-21-2018 07:04 AM
Totally possible. The first step is creating a view in Feature Analyzer which uses the Online File option to point at your GeoJSON.
The GeoJSON must be served from a web server of some kind. There may be some additional requirements like setting up SSL or CORS.
For example, The GeoJSON can be served via:
As long as the schema of your GeoJSON doens't change, you should be good to go.
If you need any additional help setting up the Online file link in Feature Analyzer, let me know.
11-25-2018 01:37 PM
In our case we have an application running in a iframe and smartMap should be working on other iframe. Between booth iframes we need to comunicate with a Geojson content file (always same structure) . Several users may be working with same application (that content iframe with data management and iframe with Smart App) and Geojson comunication should be with a temporary file that has a name based on session ID, but allways same fields structure.
Can we have an example ??
11-26-2018 12:15 PM
can you please clarify what you need to do? A standard browser App in M.App Enterprise can be already comprised of several panels (of different types) which are basically iframes. If you work within such an app using the M.App Editor you can leverage the JS API provided by the system, so you can exchange messages between panels and do other stuff.
If you want to include MAE Apps into an external Web Page, then it depends on the specific implementation how to do such a communication.