Hi, I want to change the default map to a certain area map, instead of the map of whole world, in the section of search of GN homepage. Does anybody know how to do it?
_________________________________________________________________
Ò»ÕÅÕÕƬµÄ×԰סª¡ªWindows LiveÕÕƬµÄ¿É°®ÊÓƵ½éÉÜ
http://windowslivesky.spaces.live.com/blog/cns!5892B6048E2498BD!889.entry
In this directory: GN_inst_dir/web/intermap/scripts/
File : im_minimap.js
Set : im_mm.setBBox(maxY,maxX,minY,minX)
bye
Marc-Andre
-----Message d'origine-----
De : chenll [mailto:c_lyun@…29…]
Envoyé : 5 avril 2010 09:08
À : geonetwork-user
Objet : [GeoNetwork-users] change the default map of intermap viewer
Hi, I want to change the default map to a certain area map, instead of the map of whole world, in the section of search of GN homepage. Does anybody know how to do it?
_________________________________________________________________
一张照片的自白——Windows Live照片的可爱视频介绍
http://windowslivesky.spaces.live.com/blog/cns!5892B6048E2498BD!889.entry
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
GeoNetwork-users mailing list
GeoNetwork-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork
--
This message has been verified by LastSpam eMail security service
Ce courriel a 閠?v閞ifi?par le service de s閏urit?pour courriels LastSpam
http://www.lastspam.com
Thanks, Marc-Andre, i have doon it according to your suggestion.
From: magoderre@...635...
To: c_lyun@...29...; geonetwork-users@lists.sourceforge.net
Date: Tue, 6 Apr 2010 09:29:41 -0400
Subject: RE: [GeoNetwork-users] change the default map of intermap viewerIn this directory: GN_inst_dir/web/intermap/scripts/
File : im_minimap.js
Set : im_mm.setBBox(maxY,maxX,minY,minX)
bye
Marc-Andre
-----Message d'origine-----
De : chenll [mailto:c_lyun@…29…]
Envoyé : 5 avril 2010 09:08
À : geonetwork-user
Objet : [GeoNetwork-users] change the default map of intermap viewerHi, I want to change the default map to a certain area map, instead of the map of whole world, in the section of search of GN homepage. Does anybody know how to do it?
_________________________________________________________________
一张照片的自白——Windows Live照片的可爱视频介绍
http://windowslivesky.spaces.live.com/blog/cns!5892B6048E2498BD!889.entry
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
GeoNetwork-users mailing list
GeoNetwork-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork--
This message has been verified by LastSpam eMail security serviceCe courriel a 閠?v閞ifi?par le service de s閏urit?pour courriels LastSpam
http://www.lastspam.com
_________________________________________________________________
SkyDrive电子画册,带你领略精彩照片,分享“美”时“美”刻!
http://www.windowslive.cn/campaigns/e-magazine/ngmchina/?a=c
Thanks for this, but how do I change the default map and point to my own map
service?
Regards
Prestige
On Tue, Apr 6, 2010 at 3:39 PM, magoderre [via OSGeo.org] <
ml-node+4859008-637887720-116942@anonymised.com<ml-node%2B4859008-637887720-116942@anonymised.com>
wrote:
In this directory: GN_inst_dir/web/intermap/scripts/
File : im_minimap.js
Set : im_mm.setBBox(maxY,maxX,minY,minX)
bye
Marc-Andre
-----Message d'origine-----
De : chenll [mailto:[hidden email]<http://n2.nabble.com/user/SendEmail.jtp?type=node&node=4859008&i=0>\]Envoyé : 5 avril 2010 09:08
À : geonetwork-user
Objet : [GeoNetwork-users] change the default map of intermap viewerHi, I want to change the default map to a certain area map, instead of the
map of whole world, in the section of search of GN homepage. Does anybody
know how to do it?_________________________________________________________________
一张照片的自白——Windows Live照片的可爱视频介绍
http://windowslivesky.spaces.live.com/blog/cns!5892B6048E2498BD!889.entry<http://windowslivesky.spaces.live.com/blog/cns!5892B6048E2498BD!889.entry>
------------------------------------------------------------------------------Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
GeoNetwork-users mailing list
[hidden email]<http://n2.nabble.com/user/SendEmail.jtp?type=node&node=4859008&i=1>
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at
http://sourceforge.net/projects/geonetwork--
This message has been verified by LastSpam eMail security serviceCe courriel a 閠?v閞ifi?par le service de s閏urit?pour courriels LastSpam
http://www.lastspam.com------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
GeoNetwork-users mailing list
[hidden email]<http://n2.nabble.com/user/SendEmail.jtp?type=node&node=4859008&i=2>
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at
http://sourceforge.net/projects/geonetwork------------------------------
View message @
http://n2.nabble.com/change-the-default-map-of-intermap-viewer-tp4853405p4859008.html
To unsubscribe from GeoNetwork opensource, click here< (link removed) =>.
--
View this message in context: http://n2.nabble.com/change-the-default-map-of-intermap-viewer-tp4853405p4870111.html
Sent from the GeoNetwork users mailing list archive at Nabble.com.
You have to edit this file : GN_inst_dir/web/intermap/WEB-INF/mapServers.xml.
Add server and mapcontext corresponding to your own server and comment those already added.
Best regards
Marc-André
-----Message d'origine-----
De : Prestige [mailto:ptmakanga@…54…]
Envoyé : 8 avril 2010 05:47
À : geonetwork-users@lists.sourceforge.net
Objet : Re: [GeoNetwork-users] change the default map of intermap viewer
Thanks for this, but how do I change the default map and point to my own map
service?
Regards
Prestige
On Tue, Apr 6, 2010 at 3:39 PM, magoderre [via OSGeo.org] <
ml-node+4859008-637887720-116942@...456...<ml-node%2B4859008-637887720-116942@...456...>
wrote:
In this directory: GN_inst_dir/web/intermap/scripts/
File : im_minimap.js
Set : im_mm.setBBox(maxY,maxX,minY,minX)
bye
Marc-Andre
-----Message d'origine-----
De : chenll [mailto:[hidden email]<http://n2.nabble.com/user/SendEmail.jtp?type=node&node=4859008&i=0>\]Envoyé : 5 avril 2010 09:08
À : geonetwork-user
Objet : [GeoNetwork-users] change the default map of intermap viewerHi, I want to change the default map to a certain area map, instead of the
map of whole world, in the section of search of GN homepage. Does anybody
know how to do it?_________________________________________________________________
一张照片的自白——Windows Live照片的可爱视频介绍
http://windowslivesky.spaces.live.com/blog/cns!5892B6048E2498BD!889.entry<http://windowslivesky.spaces.live.com/blog/cns!5892B6048E2498BD!889.entry>
------------------------------------------------------------------------------Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
GeoNetwork-users mailing list
[hidden email]<http://n2.nabble.com/user/SendEmail.jtp?type=node&node=4859008&i=1>
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at
http://sourceforge.net/projects/geonetwork--
This message has been verified by LastSpam eMail security serviceCe courriel a 閠?v閞ifi?par le service de s閏urit?pour courriels LastSpam
http://www.lastspam.com------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
GeoNetwork-users mailing list
[hidden email]<http://n2.nabble.com/user/SendEmail.jtp?type=node&node=4859008&i=2>
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at
http://sourceforge.net/projects/geonetwork------------------------------
View message @
http://n2.nabble.com/change-the-default-map-of-intermap-viewer-tp4853405p4859008.html
To unsubscribe from GeoNetwork opensource, click here< (link removed) =>.
--
View this message in context: http://n2.nabble.com/change-the-default-map-of-intermap-viewer-tp4853405p4870111.html
Sent from the GeoNetwork users mailing list archive at Nabble.com.
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
GeoNetwork-users mailing list
GeoNetwork-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork
--
This message has been verified by LastSpam eMail security service
Ce courriel a �t� v�rifi� par le service de s�curit� pour courriels LastSpam
http://www.lastspam.com
Hi,
File : im_minimap.js
Set : im_mm.setBBox(maxY,maxX,minY,minX)
I modified it too, but it seems that it works only with non-minified version
of the JS files (with ?debug parameter into the URL). So FYI you will
probably have to go into jsbuild/ directory and rebuild the minified version
of the scripts.
Cheers,
--
Pierre Mauduit
Camptocamp France SAS
Savoie Technolac, BP 352
73377 Le Bourget du Lac Cedex
Tel : + 33 (0)4 79 44 44 92
http://www.camptocamp.com
pierre.mauduit@anonymised.com
Hi,
I modified it too, but it seems that it works only with non-minified
version of the JS files (with ?debug parameter into the URL). So FYI you
will probably have to go into jsbuild/ directory and rebuild the minified
version of the scripts.
After having investigated a bit, I found out that the im_class.js was
minified before the im_minimap.js file. With this behaviour, there was some
js code (var im_mm = new Intermap(...)) located in im_minimap.js executed
before the object Intermap was defined. I attached a patch to fix the js
building process of intermap's minified version (at least, I have no more
error with Firebug after rebuilding, and the use of bounding box seems now
functionning).
Hth,
--
Pierre Mauduit
Camptocamp France SAS
Savoie Technolac, BP 352
73377 Le Bourget du Lac Cedex
Tel : + 33 (0)4 79 44 44 92
http://www.camptocamp.com
pierre.mauduit@anonymised.com
(attachments)
jsbuild_im.patch (377 Bytes)
I attached a patch to fix the js building process of intermap's minified
version (at least, I have no more error with Firebug after rebuilding, and
the use of bounding box seems now functionning).
Sorry, this patch is better than the previous one attached (since
im_extras.js has to be loaded before the other scripts, or else changing the
opacity on the "big map" will call an alert()).
--
Pierre Mauduit
Camptocamp France SAS
Savoie Technolac, BP 352
73377 Le Bourget du Lac Cedex
Tel : + 33 (0)4 79 44 44 92
http://www.camptocamp.com
pierre.mauduit@anonymised.com
(attachments)
jsbuild_im.patch (354 Bytes)
Thanks for the fix Pierre. Committed revision 5946.
Do you know any Java libs which could be used to minify JS instead of jsbuild ?
A java lib could be run by the ant process which could be a better option.
Ciao.
Francois
2010/4/8 Pierre Mauduit <pierre.mauduit@anonymised.com>:
I attached a patch to fix the js building process of intermap's minified
version (at least, I have no more error with Firebug after rebuilding, and
the use of bounding box seems now functionning).Sorry, this patch is better than the previous one attached (since
im_extras.js has to be loaded before the other scripts, or else changing the
opacity on the "big map" will call an alert()).
--
Pierre MauduitCamptocamp France SAS
Savoie Technolac, BP 352
73377 Le Bourget du Lac Cedex
Tel : + 33 (0)4 79 44 44 92
http://www.camptocamp.com
pierre.mauduit@anonymised.com------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at
http://sourceforge.net/projects/geonetwork