Thank you Jeroen. I was able to get what I needed from just a couple of minor changes. If the Advanced Search is open, this does NOT open the Map Viewer, which is actually the behavior I want. And, I did not edit the code in search-results.xsl (used when clicking Last Results) as I'm not sure how the Map Viewer would work here. Since I have such a small database, I simply commented out the Last Results item in the menu. Would not recommend that for larger sites.
1. In \geonetwork\xsl\search-results-xhtml.xsl, I added
;openIntermap();
to the end of the onClick event of the dyncamic map button (around line 390.)
2. In \intermap\scripts\im_integration.js, I added
if (Element.visible('closeIMBtn')==true) { return true;}
to function openIntermap(). This prevents opening of the map if already open.
It's far from perfect but really all I need. We're going to use the next several months to see how our users respond. By the next revision of our site, hopefully GN 2.3 or 3.0 will probably be available as well as some new interface and mapping capabilities. Thanks everyone for your help.
- John
Jeroen Ticheler wrote:
Hi John,
By default it won't. The new layer will be added to the small map only at first (if the large one is not open). If yu open the large one, it will also show all the layers that were added.
Obviously you coud change the Javascript used to force the large map to open when adding a layer. As a consequence, if the Advanced search form is open, that will be closed again.
Ciao,
Jeroen
____________________________________________________
Jeroen Ticheler
GeoCat bv
Grotenhuisweg 61
7384 CT Wilp
Tel: +31 (0)6 81286572
http://geocat.net
Please consider the environment before printing this email.
On Jan 22, 2009, at 10:58 PM, John Callahan wrote:
Thanks for verifying. If the Map Viewer is closed, will it open upon clicking the "Add Service to Map" button? Should it? Could it?
- John
**************************************************
John Callahan
Geospatial Application Developer
Delaware Geological Survey, University of Delaware
227 Academy St, Newark DE 19716-7501
Tel: (302) 831-3584
Email: john.callahan@anonymised.com
http://www.dgs.udel.edu
**************************************************
Jeroen Ticheler wrote:
Hi John,
That layer actually works for me, both when added by clicking on the "Add Service to Map" button, or directly. Other ones with vector data seem to not work for me.
Ciao,
Jeroen
On Jan 22, 2009, at 9:59 PM, John Callahan wrote:
That could be a scale-dependency issue. Many of our map services, and layers within, have scale dependent rendering and do not show up at the default view scale, about 1:3M or so. That's something I need to ask our cartographer to fix..
All of the items under the "Aerial Imagery" category display at all scale levels. Try those. The entry "Delaware 1997 Aerial Photography" is good to use as it's pretty fast.
- John
**************************************************
John Callahan
Geospatial Application Developer
Delaware Geological Survey, University of Delaware
227 Academy St, Newark DE 19716-7501
Tel: (302) 831-3584
Email: john.callahan@anonymised.com
http://www.dgs.udel.edu
**************************************************
Jeroen Ticheler wrote:
Hi John,
I tried to access some layers of your server both within Intermap and
using QGIS. In both cases, the only resulting images I see are blank :-
( Not sure why, but I have the impression the WMS service does not
behave as it should.
Ciao,
Jeroen
On Jan 22, 2009, at 6:10 PM, John Callahan wrote:
This is a quick question with hopefully a quick answer (although in my
experience, that almost never happens!)
When clicking the "Interactive Map" button for a metadata entry of a
map
service, should the Map Viewer then open up to show that service?
This
is for the default home page as well as the Last Results page. It
does
not open for me and I was wondering if it was a misconfiguration on my
part or is this the intended behavior. Thanks.
(You can see the site I am building here, with only minor
customizations: http://datamil.delaware.gov/geonetwork/)
- John
As FYI: the map services are ArcIMS based installed on the same server
as GN. However, I am accessing them via the ArcIMS WMS connector.
Making our services available via WMS is a requirement of our project.
In the near future, I hope to switch completely to MapServer or
GeoServer.
**************************************************
John Callahan
Geospatial Application Developer
Delaware Geological Survey, University of Delaware
227 Academy St, Newark DE 19716-7501
Tel: (302) 831-3584
Email: john.callahan@anonymised.com
http://www.dgs.udel.edu
**************************************************