What you can do with the preview is right-click and so a "show source" - this will show the openlayers code that Geoserver has generated. This is a perfectly viable template to start creating your own web application from. Typically web apps are built in a development environment (eg Eclipse, netbeans, etc) which generated a deployable war. Replace the default index.html that the environments typically generate with the code from the geoserver template and you can start working. However, you will likely want to point to a local server version of OL.
However, OL has moved to version 3 which is quite a different beast from version that is in at least my instance of geoserver. For starting a new project you would probably be better off starting with OL3 and one of their examples. The geoserver preview template can still give you some good pointers however. Notice: This email and any attachments are confidential. If received in error please destroy and immediately notify us. Do not copy or disclose the contents. ------------------------------------------------------------------------------ Don't Limit Your Business. Reach for the Cloud. GigeNET's Cloud Solutions provide you with the tools and support that you need to offload your IT needs and focus on growing your business. Configured For All Businesses. Start Your Cloud Today. https://www.gigenetcloud.com/ _______________________________________________ Geoserver-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geoserver-users
