Navigation:  WebOffice clients > WebOffice map widget >

Important Information

Previous pageReturn to chapter overviewNext page

REQUIREMENTS

A minimum resolution of 800x400 pixels is recommended.

 

 

RESTRICTIONS:

AUTHENTICATION METHODS: At the moment it's only possible to access anonymously, with HTTP GET/POST based User Credentials (user=xxx&password=yyy, optional usergroup=zzz) or with SSO (Single Sign On) (For further information see Authentication Type HTTP or Authentication Type SSO).

 

Following authentication types are currently not supported by the WebOffice map widget:

Authentication Type BASIC

Authentication Type LDAP

Authentication Type NTLM

Authentication Type OAuth2

Authentication Type Portalverbundprotokoll

Authentication Type UserManagement-Database

 

 

How does it work:

Default response format is JSON (JavaScript Object Notation).

If a request like this is sent:

http://prodemo.mysynergis.com/WebOffice/synservice?project=Baumkataster_Bregenz&user=baum&password=baum&width=385&height=340&query=baeume&returnkey=StringGUID&activetools=location%20identify&callback=getJSONResponse&map_adv=true&mapmargin=1&request_id=1337772661053

 

You will get a response like this:

getJSONResponse('{"MAP":{"url":"http://prodemo.mysynergis.com/WebOffice/output/Baumkataster_20120523_134111_130_8e.png","x":-44488,"y":262693.5,"scale":2984.3482597404477,"width":385,"height":340,"upp":0.7896103896103897},"response_id":"1337772661053"}')

 

Note: The example above shows a call to the Service API used by the WebOffice map widget. The response contains a unique ID, a timestamp, that processes the response of the last request.

Note: The WebOffice map widget supports requests via HTTP GET as well as via HTTP POST. Please consider the browser limitation of the length of the URL in IE when using HTTP GET.

 

 

FILE STRUCTURE:

You can find the WebOffice map widget in the WebOffice 10.4 SP2 application (C:\Tomcat\webapps\<WebOffice application>\client_mapwidget):

default.jsp/default.htm: is the provided standard page for the client of the WebOffice map widget. The default.jsp can be called via http GET and http POST parameters.

Note: The default.htm will not any longer be supported and is in deprecated mode. Please use instead the default.jsp.

 

testcontainer.jsp/testcontainer.htm: WebOffice map widget Testcontainer, in order to create WebOffice map widget requests quickly and easy

Note: The testcontainer.htm will not any longer be supported and is in deprecated mode. Please use instead the testcontainer.jsp.

 

Images: contains all image files of WebOffice map widget client

Note: The folder contains the animated symbol for loading (loading.gif), which indicates e.g. whether a zooming operation is successfully finished.

 

Scripts: contains the JavaScript file (SynServiceClient.js) of the WebOffice map widget

Note: An optional parameter called "referrer" is available within the SynServiceClient.js to ensure that POST-data, which were sent via cross domain, can also be transmitted. This parameter must contain the domain of the web application and will be used if no referrer was passed within the G.parentURL.

 

Styles: contains stylesheet files

 

Testcontainer: contains the JavaScript files of the WebOffice map widget Testcontainer and for the JavaScript callback functions