Skip to main content

Can you change the default feature details title/label from what is set in the feature label when you use the Identify too and click on view feature details

Comments

4 comments

  • Permanently deleted user
    Hi Daniel,

     

    For any language/wording change have a look at the locale files.  Search for the text you want to change in this file - 

     

    C:\inetpub\wwwroot\Html5Viewer\Resources\Locales\Mapping.en-US.json

     

    and edit as required.  My example assumes you are using a browser with the US locale.

     

    Regards,

     

    Wayne Richard

     

    Latitude Geographics Group Ltd.

     

    Head Office: 300 – 1117 Wharf Street  Victoria, BC Canada V8W 1T7

     

    Tel: (250) 381-8130 | Fax: (250) 381-8132 | wrichard@latitudegeo.com 

     

    Developers of Geocortex web-based mapping software | www.geocortex.com

     

    An Esri Platinum Business Partner

     

     
    0
  • Permanently deleted user
    Hi Wayne,

     

    I looked through that file and seem to be able to change any text except for the one part that I'm looking for in the image I have above.  Can you give me a hint on where in the code that piece is located.

     

    I also pointed my desktop.json.js file to the modified Mapping.en-US.json.js file so these changes are only reflected on this site.

     

    Thanks

     

    User-added image
    0
  • Permanently deleted user
    I ended up using CSS to make this change.  Might not be the most eligant solution but it appears to be working.

     

    .panel-header h2 {

     

    font-size: 0;

     

    }

     

    .panel-header h2:after {

     

    content: "Parcel Details";

     

    font-size: 25px;

     

    }

     

     
    0
  • Permanently deleted user
    This is what I ended up going with in the end. Gives the best of both worlds by being dynamic and also not looking like a giant run on to end users.

     

    .panel-header h2 {

     

    white-space: nowrap;

     

    max-width: 220px;

     

    text-align: center;

     

    overflow: hidden;

     

    font-style: ubuntu;

     

    font-weight: 600;

     

    color: #4d4949;

     

    padding-left: 30px;

     

    }

     

    User-added image
    0

Please sign in to leave a comment.