Hi,
you can use OpenLayers in order to do that. Below some links that can help
you:
http://openlayers.org/
http://openlayers.org/dev/examples/
http://trac.osgeo.org/openlayers/wiki/Documentation
http://dev.openlayers.org/releases/OpenLayers-2.13.1/doc/apidocs/files/OpenLayers-js.html
Regards,
Tobia Di Pisa
*==Meet us at GEO Business 2014! in London! Visit http://goo.gl/fES3aK
<http://goo.gl/fES3aK> for more information.==*
Dott. Ing. Tobia Di Pisa
Software Engineer
GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313+39 0584 962313
fax: +39 0584 1660272
http://www.geo-solutions.it
http://twitter.com/geosolutions_it
-------------------------------------------------------
Call
Send SMS
Add to Skype
You'll need Skype CreditFree via Skype
2014-04-08 18:16 GMT+02:00 GeoServerUser777 <[email protected]>:
> Hi. I have one question. I have this html. I want to add those geo server
> layers in my html:
>
>
>
> Here starts the HTML:
>
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
> "http://www.w3.org/TR/html4/loose.dtd">
> <html>
> <head>
> <meta http-equiv="content-type" content="text/html; charset=utf-8">
> <title>Latitude and Longitude of a Point</title>
>
>
>
>
> <link href="/d.css" type="text/css" rel="stylesheet">
> </head>
> <body onload="xz()">
> <center>
> <div id="h">
>
>
> </div>
> <div id="h0"></div>
> <div id="o">
> <div id="header" style="background-color:#CCCCCC;text-align:center;">
> Услуги с кадастрални данни
> </div>
> <div id="content">
>
>
>
>
> <div class="lb0">
>
>
>
>
>
> <form onsubmit="showAddress(this.address.value); return false;">
> <center>За да се покажат координатите на точката <strong>Click</strong> на
> картата или въвеждане в <strong>Search box</strong> на данни</center>
> <div style="margin:10px 0 5px
> 0;text-align:center;font-size:1.1em;"><strong>Покажи:</strong> <input
> type="text" style="width:300px;font-size:1.1em;" name="address"
> value="Въведи улица, град, ЕКАТТЕ" onfocus="if (this.value == '123 Street,
> City State/Country'){this.value='';} "> <input type="submit"
> style="font-size:100%" value=" Търси "></div>
> </form>
>
>
>
> </div>
> </p>
> Географска дължина и ширина на точка
>
> <div id="wrapper" style="margin:5px"><div id="map" style="width: 800px;
> height: 450px"></div></div>
>
>
>
> <br>
> <center><input type="button" value="Изтрий" id="reset"
> onclick="reset()">
> <input type="button" value="Центрирай маркер" id="reset1"
> onclick="reset1()"></center>
> <hr>
> Географска дължина и ширина на точка
>
>
> Ширина: <input size="15" type="text" id="latbox" name="lat" value="" >
> Дължина:
> <input size="15" type="text" id="lonbox" name="lon" value="" >
>
> <br><hr>
> <strong>Градуси</strong> <strong>Mинути</strong>
> <strong>Секунди</strong>
> Ширина: <input size="5" type="text" id="latboxm" name="latm" value="" >
> <input size="6" type="text" id="latboxmd" name="latmd" value="" >
> <input
> size="8" type="text" id="latboxms" name="latms" value="" >
> Дължина: <input size="5" type="text" id="lonboxm" name="lonm"
> value="" >
> <input size="6" type="text" id="lonboxmd" name="lonmd" value="" >
> <input
> size="8" type="text" id="lonboxms" name="lonms" value="" >
>
>
>
>
>
>
> <div id="b">
> © ИСК 2014
> </div>
> </body>
> </html>
>
>
>
>
> --
> View this message in context:
> http://osgeo-org.1560.x6.nabble.com/How-to-fit-geo-layers-in-this-html-tp5133879.html
> Sent from the GeoServer - User mailing list archive at Nabble.com.
>
>
> ------------------------------------------------------------------------------
> Put Bad Developers to Shame
> Dominate Development with Jenkins Continuous Integration
> Continuously Automate Build, Test & Deployment
> Start a new project now. Try Jenkins in the cloud.
> http://p.sf.net/sfu/13600_Cloudbees
> _______________________________________________
> Geoserver-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users