Spectrum Spatial (SSA/LIM)

 View Only
  • 1.  Template Designer 2018.2 - On-click Coordinates

    Posted 04-17-2019 05:40

    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
    ------------------------------


  • 2.  RE: Template Designer 2018.2 - On-click Coordinates

    Employee
    Posted 04-23-2019 03:48
    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
    ------------------------------



  • 3.  RE: Template Designer 2018.2 - On-click Coordinates

    Posted 04-24-2019 02:36
    Hi Vishwas,

    That's great thank you.

    Darren

    ------------------------------
    Darren White
    Derbyshire County Council
    MATLOCK
    ------------------------------