0

I am new to GeoServer and I want to overlay Google Maps to my OpenLayers in GeoServer, I don't know how to start, do suggest me how to begin.

I want know which file to access, file extension, and what language is being used to incorporate it in GeoServer?

0

1 Answer 1

1

I don't believe you need to incorporate Google Maps with GeoServer. Instead, the Google Maps tiles will go straight into OpenLayers, with your own datasets coming from GeoServer. Something like this rough diagram:

enter image description here

See the OpenLayers sample page for instructions on how to add Google Maps as a background layer:

map = new OpenLayers.Map('map', {
projection: 'EPSG:3857',
layers: [
new OpenLayers.Layer.Google("Google Physical", {
  type: google.maps.MapTypeId.TERRAIN
})...
3

Not the answer you're looking for? Browse other questions tagged or ask your own question.