using map service legend in a webmap

793
5
11-21-2013 04:22 AM
Egan_LouisFajardo
New Contributor III
Hi,

How can I use the legend of a mapservice as part of a AGOL generated webmap?

This is the map I have created
http://dpwh.maps.arcgis.com/apps/OnePane/basicviewer/index.html?appid=9fe61206457b4294b47dc0ddc3c7a0...

And this is the map service in use
https://203.177.0.139/ArcGIS/rest/services/Leng/2013_Road_Data_elf/MapServer/

Pretty sure it has a legend because this has the correct content
https://203.177.0.139/ArcGIS/rest/services/Leng/2013_Road_Data_elf/MapServer/legend

Thanks!

Regards,
Egan
Tags (2)
0 Kudos
5 Replies
Egan_LouisFajardo
New Contributor III
Hi,

How can I use the legend of a mapservice as part of a AGOL generated webmap?

This is the map I have created
http://dpwh.maps.arcgis.com/apps/One...7dc0ddc3c7a0cd

And this is the map service in use
https://203.177.0.139/ArcGIS/rest/se...elf/MapServer/

Pretty sure it has a legend because this has the correct content
https://203.177.0.139/ArcGIS/rest/se...pServer/legend

Thanks!

Regards,
Egan

(I have originally posted this thread at http://forums.arcgis.com/threads/97295-using-map-service-legend-in-a-webmap but no one seems to be answering so I'm reposting here...)
0 Kudos
MikeMinami
Esri Notable Contributor
I'm seeing a certificate error. Your service is https, but the certificate has expired. See attached image.

https://203.177.0.139/ArcGIS/rest/services/Leng/2013_Road_Data_elf/MapServer
0 Kudos
MikeMinami
Esri Notable Contributor
Better to post here. The other forum is a beta forum. However, I answered it there...

http://forums.arcgis.com/threads/97295-using-map-service-legend-in-a-webmap

thanks,

Mike
0 Kudos
Egan_LouisFajardo
New Contributor III
Thanks, Mike.

Would this still be a certificate issue? Our certificate is not signed or anything. So we are placing the map service address as an exception to an internet browser for it to allow access to "unsigned" content. By doing this we are able to use the AGOL webmaps with mapservice from an unsigned source. What doesnt seem to make sense is why, after doing the exception list, would AGOL allow features to be drawn but not the legends (or the info configured for the pop-up dialog, as we also recently found out). What specific about these that makes them excluded?

Regards,
Egan
0 Kudos
Egan_LouisFajardo
New Contributor III
Thanks. mike. I replied to the non-beta version.

Regards,
Egan
0 Kudos