Provide a helper action to generate a URL to the current client including references to the current position and scale. The URL will be copied to clipboard and can easily be pasted into a document or another browser. Accessing the generated URL will open up a new client and set the initial position and scale to instructed by the URL.
ID
se.viamap.client.map.urlGenerator
Sub-Tags
Name | Type | Cardinality | Default | Description |
---|---|---|---|---|
url | string | 0..1 | Browser url | The url will be set automatically by the browser. This can optionally be overridden by setting a fixed url. |
marker | boolean | 0..1 | false | Should a marker be placed on the x,y position when the client is loaded |
showMessage | boolean | 0..1 | true | Should a message pop up to confirm that the URL have been generated and copied to clipboard |
Example
<item action="weave.urlGenerator" > <url>https://localhost/weave/main.html</url> <marker>true</marker> <showMessage>false</showMessage> </item>