gcaseycupp / gmaps-utility-gis

Automatically exported from code.google.com/p/gmaps-utility-gis
0 stars 0 forks source link

Annotation layers do not work #23

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Annotation layers do not work
2. once turned off in child layer, they do not turn back on. Or if other layers 
in same dynamic service are turned on, the annotation automatically turns off 
and won't come back on!
3. See our service and website as an example. the "Parcel Annotation" layer 
will not come back on once turned off. 
http://sagiscloud.thempc.org/arcgis/rest/services/sagis_org/SAGIS/MapServer
website: http://sagistesting.thempc.org

When I published the layer just as its own layer: 
http://sagiscloud.thempc.org/arcgis/rest/services/sagis_org/SAGISAnnotationTEST/
MapServer

And brought in this second service which just had the annotation layer, as its 
own AGS JS TOC object, I notice it works with the top checkbox, but the second 
(inner child) checkbox causes the bug, once off, it doesn't come back on. in 
other words, how the DOM node tree works with the AGS JS TOC widget seems to 
need some work, in order to be able to turn Annotations layers on and off. It 
should basically hide the "inner child" checkbox and work as if you are just 
clicking the topmost checkbox, which seems to work.  But when a service has 
several regular layers and an annotation, and is brought in as one dynamic map 
service, the AGS JS TOC only shows this "child" checkbox apparently because 
annotations do not work at all, if they are inside a dynamic map service with 
other layers.

ESRI will not help because it is a third party widget, although interestingly 
enough this exact same thing happens on ArcGIS.com. But arcgis.com does not 
"support annotations" curiously.

What is the expected output? What do you see instead?
AGS JS TOC does not work with annotation layers as above.

What version of the product are you using? On what operating system?
All browsers (IE 11/FF/Chrome). Windows 8.1.   latest vers 2.09 of AGS widget.

Please provide any additional information below.

Please help!! Thank you!!  I will be glad to test anything you would like me to 
test!

Original issue reported on code.google.com by kmac.di...@gmail.com on 2 Dec 2014 at 7:21