Skip to content

Commit

Permalink
- Legend links for remote services
Browse files Browse the repository at this point in the history
  • Loading branch information
afabiani committed May 8, 2018
1 parent 669b816 commit 05e2a1b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion geonode/services/serviceprocessors/wms.py
Original file line number Diff line number Diff line change
Expand Up @@ -305,6 +305,7 @@ def _create_layer_service_link(self, geonode_layer):
geonode_layer.remote_service.type,
geonode_layer.store
),
link_type="OGC:WMS",
defaults={
"extension": "html",
"name": "OGC {}: {} Service".format(
Expand All @@ -313,7 +314,7 @@ def _create_layer_service_link(self, geonode_layer):
),
"url": geonode_layer.ows_url,
"mime": "text/html",
"link_type": "OGC:{}".format(geonode_layer.remote_service.type),
"link_type": "OGC:WMS",
}
)

Expand Down

0 comments on commit 05e2a1b

Please sign in to comment.