All identify results on 1 page

748
5
01-17-2012 12:59 PM
JoyC
by
New Contributor
Is it possible to show the identify results from all layers on one page within the infoWindow popup? Without tabs or navigate to next page?
If yes, how is it done?

Thanks.
0 Kudos
5 Replies
derekswingley1
Frequent Contributor
Yes. The identify task returns results as JSON. It's up to you as to what you do with them. The samples show populating an info window or popup but you could just as easily build a string and put it in a div (or some other element).
0 Kudos
JoyC
by
New Contributor
What i did is basically put all the results from 3 layers within the same infoTemplate.
However, the popup still gives me 3 pages of navigation, with the first layer result show up on 2 navigation pages.
Is it how popup set up? That it will always displays different layer results on different pages?
0 Kudos
derekswingley1
Frequent Contributor
The popup is designed to show info about a single feature at a time. If you'd like to show info for multiple features at once, you can manually build up the info about your features and still using setTitle/setContent. Here's an example based on the identify sample w/popup samplehttp://jsfiddle.net/swingley/FDz96/
0 Kudos
DeanSeales
New Contributor
Is there a way to keep the pop up in tact but make the ability to transfer contents to a datagrid optional?
Keeping all of the functionalities of the pop up in the datagrid, of course.

Like:

Zoom To To Data Grid

at the bottom of the pop up window

Thanks
0 Kudos
ChristopherPollard
Occasional Contributor
Derek,
Thanks for the great example!
Is it possible to be able to anchor/embed the popup window into a sidepane?
I've been looking for an identify example but I have only found ones with a datagrid and tabs (which don't really work for me).
I love the way the popup returns features, how it displays multiple results and allows the users to scroll through those features easily.
I have a project where the popup is taking up too much of the map and I'd love to just anchor the popup to the sidebar.
http://www.dvrpc.org/webmaps/CMP/

Also is there any good reference/resource that I could use for customizing the popup?
In another project I want to not have "Zoom To" and the "Maximize" popup.
Thanks for all your great insight and examples,
Chris[ATTACH=CONFIG]12822[/ATTACH]
0 Kudos