Hi Oscar,
to do that you need to create a little javascript applications using one of
the many mapping libraries available, such as OpenLayers (
http://www.openlayers.org/) or LeafletJS (http://leafletjs.com/)..
Mauro
2014-04-29 0:57 GMT+02:00 Oscar Cano R <[email protected]>:
> Geo server gives the option to display the layers in different image
> formats (gif, GPEG, png).
>
> Is there any way to do this but putting a layer of background google maps?
> The documentation says to make a html file to display google maps, but I
> do it in a container <DIV>, and what I need is to see it as an image.
>
> thank
>
> ---
> <!DOCTYPE html>
> <html>
> <head>
> <title>Simple Map</title>
> <meta name="viewport" content="initial-scale=1.0, user-scalable=no">
> <meta charset="utf-8">
> <style>
> html, body, #map-canvas {
> height: 100%;
> margin: 0px;
> padding: 0px
> }
> </style>
> <script
> src="https://maps.googleapis.com/maps/api/js?v=3.exp&sensor=false
> "></script>
> <script>
> var map;
> function initialize() {
> var mapOptions = {
> mapTypeId: google.maps.MapTypeId.TERRAIN,
> zoom: 5,
> center: new google.maps.LatLng(23.453165, -101.81465)
> };
> map = new google.maps.Map(document.getElementById('map-canvas'),
> mapOptions);
> }
>
> google.maps.event.addDomListener(window, 'load', initialize);
>
> </script>
> </head>
> <body>
> <div id="map-canvas"></div>
> </body>
> </html>
> ---
>
>
> ------------------------------------------------------------------------------
> "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
> Instantly run your Selenium tests across 300+ browser/OS combos. Get
> unparalleled scalability from the best Selenium testing platform available.
> Simple to use. Nothing to install. Get started now for free."
> http://p.sf.net/sfu/SauceLabs
> _______________________________________________
> Geoserver-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos. Get
unparalleled scalability from the best Selenium testing platform available.
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users