Spectrum Spatial (SSA/LIM)

Expand all | Collapse all

Custom Template/Extensibility Query - Grid Photos

  • 1.  Custom Template/Extensibility Query - Grid Photos

    Posted 9 days ago
    Hi All,

    Before diving into extensibility (which i've gladly avoided til now), i wanted to know if anyone has done, or know if its possible, to easily present photos in the SSA callout in a GRID format rather than stacked.

    I have 4 photos for every inspection points on our road segments which represent the frontleft,frontright,backleft and backright views. I'd like them to look like so:

    Thanks in advance
    Kieran

    ------------------------------
    Kieran McGowan
    IT/GIS Officer
    Corangamite Shire Council
    Camperdown VIC
    ------------------------------


  • 2.  RE: Custom Template/Extensibility Query - Grid Photos

    Posted 3 days ago
    Just in case anyone is interested or ever has this sort of requirement. My workaround was to add each of the 4 image URLs to a html template file (setup to show in grid format), then provide a link to that html file in the callout for each specific segment.

    ------------------------------
    Kieran McGowan
    IT/GIS Officer
    Corangamite Shire Council
    Camperdown VIC
    ------------------------------



  • 3.  RE: Custom Template/Extensibility Query - Grid Photos

    Posted 2 days ago
    Edited by Duri Bradshaw 2 days ago
    Hi Kieran,

    You can also add your own HTML inside the .html for your info template

    Here is and example
    <div>
    <pb-info-column [columnConfig]="Lot_planConfig" [feature]="data.feature" class="multilabelrow col-xs-12">
    </pb-info-column>
    <div class="col-xs-12">
    <a href="https://www.example.com?lotplan={{data.feature.Lot_plan.value}}" target="_blank">Link</a>
    </div>
    </div>


    So you should be able to embed as table or grid and then populate it with images based on attributes stored in data.feature.

    Obviously you cant then edit the template using the Template Designer as this will remove your customisation.



  • 4.  RE: Custom Template/Extensibility Query - Grid Photos

    Posted 2 days ago
    Edited by Kieran McGowan 2 days ago
    Good to know, i'll give it a test. thanks Duri!

    Update: Got there in the end! thanks again Duri


    ------------------------------
    Kieran McGowan
    IT/GIS Officer
    Corangamite Shire Council
    Camperdown VIC
    ------------------------------