GeoServer has some facilities for embedding such decorations in the graphics
(PNG/JPEG/etc) produced by the WMS. This technique is appropriate if you
want to embed WMS images in your pages using a simple <img> tag with the
usual WMS parameters. See
http://docs.geoserver.org/stable/en/user/advanced/wmsdecoration.html for
details.
If you want a more dynamic map (with panning and zooming, and perhaps
interactive markers) then you should look into OpenLayers:
http://openlayers.org/ . The map preview page in GeoServer uses this, and
you can use your browser's 'view source' function to see how those maps are
constructed. More general examples demonstrating a wider range of
functionality are available at http://openlayers.org/dev/examples/
Hope this helps.
--
David Winslow
OpenGeo - http://opengeo.org/
On Sat, Feb 12, 2011 at 6:33 AM, G.R.Nobles <g.r.nob...@rug.nl> wrote:
> Dear list,
> The text from my post seemed to be missing, so trying again - original
> message:
>
> Dear list
>
> I guess a simple question, I have a map:
>
> http://www.singlegrave.nl:8080/geoserver/wms?REQUEST=GetLegendGraphic&VERSION=1.0.0&FORMAT=image/png&WIDTH=20&HEIGHT=20&LAYER=SGC_World:layers
>
> I have a legend:
>
> http://www.singlegrave.nl:8080/geoserver/wms?REQUEST=GetLegendGraphic&VERSION=1.0.0&FORMAT=image/png&WIDTH=20&HEIGHT=20&LAYER=SGC_World:layers
>
> I cant seem to find any basic informtion for adding things like legends,
> scale bars, overview map etc
>
> Also a futher question, how do you add this to a website, I know html and
> basic php, currently i am using an iframe, i know not ideal.
>
> Thanks
>
> Gary
>
>
> --
> Gary R. Nobles g.r.nob...@rug.nl
> PhD Candidate
> Institute of Archaeology
> Poststraat 6
> Groningen University
> The Netherlands
> Personal Webpage:
> http://www.rug.nl/let/onderzoek/onderzoekinstituten/gia/phdprojectNobles
> Project Website: www.singlegrave.nl
>
>
> ------------------------------------------------------------------------------
> The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
> Pinpoint memory and threading errors before they happen.
> Find and fix more than 250 security defects in the development cycle.
> Locate bottlenecks in serial and parallel code that limit performance.
> http://p.sf.net/sfu/intel-dev2devfeb
> _______________________________________________
> Geoserver-users mailing list
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
>
------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users