Zum Hauptinhalt gehen

How to remove "loading" message on the bottom of the HTML Viewer

Kommentare

1 Kommentar

  • Chris Roberts
    Hi Keith

     

    I had the same issue, no services were turned on except for the base maps. Yet I still got the Loading "servicename" map data.

     

    I found you can edit the loading text in the Mapping.en-US.json file C:\inetpub\wwwroot\Html5ViewerName\Resources\Locales remove '{0}' from the following lines, and the loading text will just say "Loading Map Data" :

     

    "language-map-loading-stage1": "Loading {0} map data...",

     

    "language-map-loading-stage2": "Still loading {0} map data...",

     

    "language-map-loading-stage3": "Still working.  Loading {0} map data...",

     

    I havent tested what would happen if you actuallu removed the lines though?

     

    Incidently I did have some trouble getting the changes to be recognised in IE (Chrome, Safari etc recognised the changes OK though). As a work around I had to add locale=en-us to the shortened url eg:

     

    (http://Yourwebsite.com.au/viewer/?locale=en-us&viewer=viewername) Yourwebsite.com/viewer/?locale=en-us&viewer=viewername

     

     This seemed to force IE to reread the Mapping.en-US.json file

     

    Chris
    0

Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.