Hi Darren,
This can be achieved using the following snippet in the custom template HTML file -
x = {{ data.layerInfoSource. geometry.coordinates[0] }}, y = {{ data.layerInfoSource. geometry.coordinates[0] }}
Thanks,
Vishwas
------------------------------
Vishwas Gupta
Knowledge Community Shared Account
Shelton CT
------------------------------
Original Message:
Sent: 04-17-2019 05:40
From: Darren White
Subject: Template Designer 2018.2 - On-click Coordinates
Can someone advise if it is still possible to capture the on-click coordinates from Analyst?
In version 12.1 we have templates that use the captured coordinates to populate web forms and query URL's. For this I used the {coord.x} & { coord.y} function.
Is there an equivalent in 2018.2?
Many thanks
Darren
------------------------------
Darren White
Derbyshire County Council
MATLOCK
------------------------------