on 12-03-2013 2:59 AM
I found that in the vb demo, almost all info in the map are loaded from a json file.
My question is, is this the only way to load the map?
if so, is there any template or tools or document to help us to create such a json file?
Hi Rita,
all business content (icons,texts,context menu, and so on) is loaded via JSON. The map itself (including maybe some description texts) is loaded from the external GIS product.
You don't need to create the JSON file on your own when using the standard Geo-Map adapter.
How do you integrate VB into your application? WD, FPM, UI5?
Hope this helps.
Marcus
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Rita,
VB has various interfaces, here is an overview:
In general the application defines the symbols and their attributes like color, position, and all the interactions. Visual Business displays the symbols on a map and the user can work with it. The map is loaded from external map provider - in the image named as External Systems. This is done automatically.
In the ABAP the application fills a table structure and adds in each row the symbols.
I'm going to upload the TechED presentation there you can see an example.
The Geomap Adapter converts this table into a json format and sends this to the client.
Here we have a json format to use VB also for SAPUI5 development. Here in the json the data, the symbols and the interactions are defined.
If the user interacts the client raises an event which can be handled directly in Jasascript or indirectly as an ABAP event.
We are going to publish in the next weeks more details. If you need more information please drop me a line.
thank you for your reply.
And we use UI5 as our front-end framework.
Do you have the document or something else about the full version of the json format including the description?
And about interaction, do you have a simple sample?
such as: when a user click one marker, the popup window about this marker could be shown.
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.