Spectrum Spatial (SSA/LIM)

 View Only
  • 1.  Custom Template/Extensibility Query - Grid Photos

    Posted 09-10-2020 02:42
    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 09-15-2020 20:38
    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 09-16-2020 18:30
    Edited by Duri Bradshaw 09-16-2020 18:33
    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 09-16-2020 19:19
    Edited by Kieran McGowan 09-17-2020 02:21
    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
    ------------------------------