Skip to end of metadata
Go to start of metadata

You are viewing an old version of this content. View the current version.

Compare with Current View Version History

« Previous Version 2 Next »

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

NameTypeCardinalityDefaultDescription
urlstring0..1Browser urlThe url will be set automatically by the browser. This can optionally be overridden by setting a fixed url.
markerboolean0..1falseShould a marker be placed on the x,y position when the client is loaded
showMessageboolean0..1trueShould 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>


i18n resources

iddefault
map.urlGenerator.tooltip.titleCopy hyperlink to clipboard
map.urlGenerator.tooltip.textGenerates a hyperlink to this client with reference to current position and scale. The hyperlink will be copied to clipboard
map.urlGenerator.titleCopy hyperlink
map.urlGenerator.success.titleCopy success
map.urlGenerator.success.msgSuccessfully copied hyperlink to clipboard
map.urlGenerator.error.msgCould not copy hyperlink to clipboard



  • No labels