Opened 12 years ago
Closed 12 years ago
#1208 closed enhancement (fixed)
Use WMC or OWS to load maps in GN widget interface
Reported by: | fgravin | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | v2.10.0 RC0 |
Component: | General | Version: | v2.8.0RC2 |
Keywords: | map, wmc, ows | Cc: |
Description ¶
Hi,
The 2 maps (form Map and main Map) can now be loaded by context files.
You can specify 2 params in your map/Settings.js :
- GeoNetwork.map.CONTEXT to specify a path to WMC file
- GeoNetwork.map.OWS to specify a path to a OWS file
If one of those param is specified, the 2 maps will ignore custom map settings to load ones in the context file (extent, layers, projection etc..).
Change History (2)
comment:1 by , 12 years ago
comment:2 by , 12 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
master commit 17942bf349a278c2b414faccb3d5013760d7b6e0
Note:
See TracTickets
for help on using tickets.
hi florent, nice to know you are (or will be working) on this. By now we've worked on a similar thing which will be soon available on github.
We've added a service to start a map fullscreen and add a reference to a wmc with a parameter in the url to load in that map. Idea behind this is that when people attach a wmc to a metadata record, besides an "add 2 map" button, a button can be presented which lets the user copy-paste a html snippet to embed that map in any cms/wiki/blog.