Thank you for your quick reply Rossko! Well I think I finally got it. It seems that the only way to do it is to create an HTML file and save it in Geoserver's /www directory. This HTML file has all the OpenLayers and Google Layer JavaScript snippets needed to customize my map using the API's. I was hoping that there would be some sort of plug-in for OpenLayers, but all documentation points to manual JavaScripting. If anyone has any info on a generic way to implement OpenLayers and Google Map Layers please let me know! Otherwise I would recommend this http://lsi.iiit.ac.in/osgeoin/sites/default/files/GeoServer_tutorial.pdf . Note that the Geoserver version used in this documentation seems to be different than the current and some of the instructions are a little off, but it still gives a great gist and there are still ways to follow every step.
Cheers, elshae On Aug 24, 12:48 pm, Rossko <[email protected]> wrote: > > var gsat = new OpenLayers.Layer.Google( > > Whatever example you are looking at, it is an OpenLayers example. > That is a client-side mapping display tool, which can optionally show > Google's mapping imagery via the use of Google's own maps API in > addition to the OpenLayers code. > > > I am new to GIS and spatial data technology. For the last week I have > > been trying to figure what is the appropriate/recommended way to add a > > Google Map layer to my Geoserver projects. > > So far as I know, Geoserver is just that, a server, and you won't be > able or allowed to add Google maps to it. For Geoserver to be any > practical use, you have to view it with some client-side app or > another ... like OpenLayers, for example. If you want to include > Google maps for user view, its the client-side you should be looking > into. -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-maps-js-api-v3?hl=en.
