From: Nutsch, B. D. <bn...@nd...> - 2007-09-25 21:36:55
|
Hi Emanuele, Thank you very much for that! I had looked at this file previously but = it hadn't dawned on me to set the values in there. Works just fine now = with the images, though I need to have some data in place to test the = spatial extent search. What sort of issues need to be fixed for that? I discovered that after setting the extents that if I click on the Reset = link near the bottom of the map, below the Search button, the default = "world" extents take over again. Must be another set of variables to be = set? Thank you again, I really do appreciate it. Regards, Bob =20 > -----Original Message----- > From: Emanuele Tajariol [mailto:e_t...@us...]=20 > Sent: Tuesday, September 25, 2007 4:14 PM > To: Nutsch, Bob D. > Cc: geo...@li... > Subject: Re: [GeoNetwork-devel] Setting the default search=20 > map -- initial extents >=20 > Alle 21:52:52 di marted=EC 25 settembre 2007, Nutsch, Bob D. ha = scritto: > > Where do I set the default extents of the map so that it is "zoomed=20 > >in" to the map extents? I have to manually zoom in to the=20 > extents of=20 > >the map. >=20 > At the top of im_minimap.js you can find this line: >=20 > var im_mm_north, im_mm_east, im_mm_south, im_mm_west; >=20 > When these vars are undefined, the first image is zoomed at=20 > full extent. > You may want to set that line this way: > var im_mm_north=3D49, im_mm_east=3D-96, im_mm_south=3D46, = im_mm_west=3D-105; >=20 > However, there are some issues on the AoI (the=20 > red-dot-bordered area in which the metadata search is=20 > performed) that have to be fixed. >=20 > Ciao, > Emanuele >=20 |