How to remove "loading" message on the bottom of the HTML Viewer
Everytime a user pans or zooms, a notification box in the bottom of the map viewer opens ups stating its is loading layers and names the layers. Is there any way to turn this off. The map is actually already loaded.
Which brings me to a different question. The layers is says its loading aren't even turned on. I might have my Aerial photography on and nothing else and the little box says its loading my survey monument layer. Any ideas?
0
-
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
Chris0
Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.
Kommentare
1 Kommentar