Καλημερα ΑΠΟΣΤΟΛΟΣ ;) To change the default gs preview, you have to do two things:
1) modify OpenLayersMapOutputFormat.java and 2) modify template that previous class is using : OpenLayersMapTemplate.ftl Both files are found inside project geoserver wms module: 1) geoserver\src\wms\src\main\java\org\geoserver\wms\map\OpenLayersMapOutputFormat.java 2) geoserver\src\wms\src\main\resources\org\geoserver\wms\map\OpenLayersMapTemplate.ftl There is also possibility to create separate custom openlayers preview module, that will override gs default OL format ( so you dont have to modify any original gs code). Let me know if you are interested in how to do it. Regards, Ivan 2011/4/20 ΑΠΟΣΤΟΛΟΣ ΛΕΛΕΝΤΖΗΣ <[email protected]>: > Hello list, > > I want to change the default viewer of GeoServer. > Basically, i would render the ogc services on google maps. Is it possible?? > Differently, can i configure the code of open layers? > > Thanks, for any suggestion > Apostolis > ------------------------------------------------------------------------------ > Benefiting from Server Virtualization: Beyond Initial Workload > Consolidation -- Increasing the use of server virtualization is a top > priority.Virtualization can reduce costs, simplify management, and improve > application availability and disaster protection. Learn more about boosting > the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev > _______________________________________________ > Geoserver-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/geoserver-users > > -- ------------------------------------------------------- Ivan Grcic GeoSolutions S.A.S. Software Engineer Via Poggio alle Viti 1187 55054 Massarosa (LU) Italy phone: +39 0584 962313 fax: +39 0584 962313 http://www.geo-solutions.it http://geo-solutions.blogspot.com/ http://twitter.com/geosolutions_it http://www.youtube.com/user/GeoSolutionsIT ------------------------------------------------------- ------------------------------------------------------------------------------ Benefiting from Server Virtualization: Beyond Initial Workload Consolidation -- Increasing the use of server virtualization is a top priority.Virtualization can reduce costs, simplify management, and improve application availability and disaster protection. Learn more about boosting the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev _______________________________________________ Geoserver-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geoserver-users
