For google MAPS you also need a public URL - ie localhost
will not work. Your data must be passed through Google's servers.
Thus you may need to bear in mind the confidentiality of
the data.

cheers,

Chris

----- Original Message ----- 
From: "Charles Galpin" <[email protected]>
To: <[email protected]>
Sent: Tuesday, October 05, 2010 1:54 PM
Subject: Re: [Geoserver-users] Question about GeoServer and Google Maps


Oh and I should have mentioned the google maps layer needs to have a 
projection of EPSG:900913 and a display projection of EPSG:4269 to work 
properly. You should be able to look at any of the examples to se this.

projection: "EPSG:900913",
displayProjection: new OpenLayers.Projection("EPSG:4269"),

hth
charles

On Oct 5, 2010, at 8:50 AM, Charles Galpin wrote:

> Dan, you should just be able to use 'image/png'
>
> hth
> charles
>
> On Oct 5, 2010, at 7:29 AM, Dan MacLeod wrote:
>
>>
>> I'm currently using GeoServer 2.0.2 to host layers that I display on 
>> Google
>> Earth. I do this by using NetworkLinks and call GeoServer using the link
>> below. If I wanted to display the same data on Google MAPS,  would I have 
>> to
>> change the format value? For Google Earth I use
>> "Format=application/vnd.google-earth.kmz+XML", would this or anything 
>> else
>> have to change for Google Maps?
>>
>> thanks
>>
>> "http://localhost:8081/geoserver/wms?bbox="; + defaultBbox + "&styles=&" +
>>
>> "Format=application/vnd.google-earth.kmz+XML&request=GetMap&version=1.1.1&"
>> +
>>          "layers=csc2:ASSET_VIEW&width=400&height=400&srs=EPSG:4269
>
> ------------------------------------------------------------------------------
> Beautiful is writing same markup. Internet Explorer 9 supports
> standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
> Spend less time writing and  rewriting code and more time creating great
> experiences on the web. Be a part of the beta today.
> http://p.sf.net/sfu/beautyoftheweb_______________________________________________
> Geoserver-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geoserver-users




--------------------------------------------------------------------------------


> ------------------------------------------------------------------------------
> Beautiful is writing same markup. Internet Explorer 9 supports
> standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
> Spend less time writing and  rewriting code and more time creating great
> experiences on the web. Be a part of the beta today.
> http://p.sf.net/sfu/beautyoftheweb


--------------------------------------------------------------------------------


> _______________________________________________
> Geoserver-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
> 

------------------------------------------------------------
Incoming and outgoing emails are checked for viruses
by Sophos AntiVirus.

This email may contain confidential information which is
intended for the named recipient(s) only.  If you are
not the named recipient you should not take any action in
relation to this email, other than to notify us that you
have received it in error.

Lynx Information Systems Ltd
93-99 Upper Richmond Rd
London SW15 2TG
United Kingdom
Web: http://www.lynxinfo.co.uk
Email: [email protected]
Tel: +44 (0)20 8780 2634
Fax: +44 (0)20 8780 0931

Registered in England Number 2454130
VAT Number GB 561 8979 88
------------------------------------------------------------

------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to