Implemented legend from arcgis services