Turning on/off labels from the Geocortex,
Turning on/off labels from the Geocortex,
I’m wondering if there is a way to turn on/off labels from the Gecortex (as we do in the ArcMap).
/customer/servlet/servlet.FileDownload?file=00P6000000eluISEAY
If so, layers can be published with turned off label while users of the web mapping application can have the chance to turn on/off labels. Therefore, it will be the decision of the very end user to lose some performance when the labels are turned one.
Thank you
Best
Jamal
-
You can toggle labels on and off in Geocortex, but the service has to be published Dynamic Workspaces allowed (listed under Capabilities when configuring an AGS service). If that's enabled, then you can choose whether or not to allow dynamic labels or symbology withi GE Rest Mgr.
0 -
Thanks John,
Sorry for the confusion.
What I meant here is to let end-users of the web mapping application be able to turn on\off the labels but not the Geocortex manager.
Is that possible?
0 -
Yes, that is possible.
Step 1: Enable Dynamic Workspaces on your map service.
/customer/servlet/servlet.FileDownload?file=00P6000000em1fxEAA
Step 2: Choose whether or not to Show Labels in GE Rest Mgr on the Details tab of the map layer in question.
/customer/servlet/servlet.FileDownload?file=00P6000000elziTEAQ
Then your end users will be able to toggle the labels on and off within your application.
/customer/servlet/servlet.FileDownload?file=00P6000000em16sEAA
0 -
Thank you very much John for the very useful answer and the screenshots you have provided.
This precisely responds to my enquiry. Very much appreciated
Best
Jamal
0 -
Sorry John. I’m again in trouble.
I have set everything, nevertheless, I don’t have the “show label” in the application
What might be the issue?
/customer/servlet/servlet.FileDownload?file=00P6000000eluBgEAI
/customer/servlet/servlet.FileDownload?file=00P6000000elu1bEAA
/customer/servlet/servlet.FileDownload?file=00P6000000elzS1EAI
/customer/servlet/servlet.FileDownload?file=00P6000000em23bEAA
0 -
Jamal,
When you publish the service from the MXD the lables must be ON in the MXD for the above instructions to work.
Chase
0 -
Thank you very much Chase.
Correct. It works fine now
/customer/servlet/servlet.FileDownload?file=00P6000000eluBREAY
/customer/servlet/servlet.FileDownload?file=00P6000000elzixEAA
0 -
I know this post is quite old but I am trying to enable users to turn labels on and off as well. I've published the service with dynamic layers enabled, however when I launch the map in the viewer, I dont see anywhere for the user to turn labels on or off. I am using GE 4.5 and HTML5 Viewer 2.6...Thanks! 0 -
Another solution to this is when you publish the service create one layer with just the geometry and one with just the labels. This way you do not have to publish with dynamic layers enabled and it gives the user the option to shut off the labels in the Layer list. 0
Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.
Kommentare
9 Kommentare