What is Layer Catalog, and can I use it with HTML5 viewer ?
What is Layer Catalog, and can I use it with HTML5 viewer ?
0
-
The Layer Catalog is a new feature available with Essentials 4.6 and HTML5 2.7. You create a Layer Catalog Site (as discussed in the Geocortex Essentials Administration Guide section 5.3.2). Once you add the reference to the catalog site to an existing site, there will be a new tool you can add to the toolbar called Layer Catalog. By clicking on it, users can browse the layers you included in the Layer Catalog Site and add them to the layer list. 0 -
Can these layers added from Layer Catalog be saved in a Project that you can open as saved while opening a saved Project?
Thanks,
Dibya0 -
Yes, user-added layers are saved as part of a project. You can find more info in the Project Module section of the HTML5 viewer's admin & dev guide (§15.54 in the current version), but here's the pertinent snippet from there:
What Projects Save
When you save a project, the following aspects of the viewer's state are saved:- Map's center point
- Currently selected basemaps
- Layer visibility
- Currently applied layer filters
- Currently selected layer theme
- User-added layers, including layers added dynamically from a layer catalog
- Uploaded files such as CSV files or shapefiles
- Markup (graphics and text) from measurement and drawing tools
- List of saved filters and queries
- Current feature set, and where it is displayed (Results List or Results Table)
- Current set of selected features
- Current feature details, and how they are displayed (compact or expanded)
- Heat maps
- Clustering
- Highlights
- Pushpins
- Plotted coordinates
- Current map tip
- Current mouse coordinates selection
- Bookmarks
0 -
Loading a saved project that includes layers from my layer catalog is hanging. I'm assuming that's the issue because if I save and open a project with layers from my layer catalog, they load no problem.
Testing GE 4.6, GVH 2.7, Chrome 55, and IE 100 -
Hi John,
Can you elaborate on the steps you're taking when you see the viewer hang vs. when the project loads successfully? I'd like to run this scenario by our QA team.0 -
1. Open the viewer
2. Use the Layer Catalog tool to add a layer from my catalog
3. Save a new project
Two options after that.
Option 1) Copy the share URL and open it in a new tab - in this case, the viewer loads everything it's supposed except for the added layer from the catalog.
Option2) Refresh the viewer and then open the project - in this case, I can see everything loads in the background, but there's a ModalWindowNoCloseButton with the title Project and the text Loading project with a busy indicator. It doesn't go away.
_img_ alt="User-added image" src="https://latitudegeo--c.na53.content.force.com/servlet/rtaImage?eid=90760000000CgE3&feoid=Body&refid=0EM600000001Qxv" _/_img_
No errors in the debug log in either case.
Some additional info:
all services are secured map services and over https.0 -
Ah, okay. The sharing was the step I was missing. How do the requests look in Fiddler? 0 -
I'm not a Fiddler pro, but I don't see any red or warning text. Is there something/somewhere specific I should be exploring? 0 -
Mostly, I wanted to rule out the possibility that there were pending requests that timed out. I wasn't able to reproduce this on my own machine, but I've passed this along to the QA team.
I should confirm: you're not running any custom code in Essentials or your viewer? And this is the out-of-the-box layer catalog, correct? As opposed to a layer catalog implemented by professional services?0 -
Correct, out of the box layer catalog. 0 -
I did a little more testing, and it appears that the issue is probably coming from the site, not the layer catalog. I created a new empty site and added the existing layer catalog to it. It appears to be working fine. So there must be something on the site or viewer end that is causing the layers not to load. 0 -
That is odd. Is the site where you're seeing the Loading projects dialog hang around new for this version of Essentials and the viewer? Or has it been upgraded from a previous version? 0 -
It's an instance that's been upgraded at least twice in the past. It's currently at 4.6.3.24. I think the first install of the instance I did was 4.4. 0 -
I haven't been able to reproduce this, but I see someone else reporting something similar. Could you zip up your sites (the working one, the broken one, and the layer catalog) and either (To: community@geocortex.com) email them to me or put them up on a fileshare and email me the particulars? 0 -
Hi Jordan,
I saw you responded to my similar issue on a another feed, and I'll respond here to keep the conversations together.
I did lots of testing to try and figure out the cause, and what I determined is it may be an issue of the layer catalog sharing the same serivce as the site. On my site I had excluded the layers that where to be shared in the layer catalog, and vice versa inside the layer catalog service. When those layers where present during a saved project, the project wouldn't load. However, it would load when I saved that map with layer catalog layers from a different service. I then created a different mxd with only my layer catalog layers, published it as a seperate map service, and replaced it within the layer catalog site. When I did that, the projects would load when those layers were present. Although it seems to be related to using the same map service in both, I have been able to get sites that share the same map service with the layer catalog to save and open projects.
Additionaly, I discovered another bug during this testing. I added 2 different layer catalogs to my site, but when I go to add layers from them only the layer catalog that was added last appears.
Cheers,
Dan0
Du måste logga in om du vill lämna en kommentar.
Kommentarer
15 kommentarer