<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<font face="Arial">Thanks Marc. I'll try and let you know <br>
<br>
<br>
</font>
<div class="moz-cite-prefix">04.09.2014 13:49 tarihinde, Marc Jansen
yazdı:<br>
</div>
<blockquote cite="mid:540843A6.2080706@terrestris.de" type="cite">
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<div class="moz-cite-prefix">Hey Ceyhun,<br>
<br>
centering is usually done via OpenLayers methods. Access the
OpenLayers map from a GeoExt.MapPanel (or GeoExt.panel.Map), and
call setCenter
(<a moz-do-not-send="true" class="moz-txt-link-freetext"
href="http://dev.openlayers.org/releases/OpenLayers-2.13.1/doc/apidocs/files/OpenLayers/Map-js.html#OpenLayers.Map.setCenter">http://dev.openlayers.org/releases/OpenLayers-2.13.1/doc/apidocs/files/OpenLayers/Map-js.html#OpenLayers.Map.setCenter</a>).<br>
<br>
What you need to pass to that method (and whether you need to
transform something) depends on your configuration of the map.
Questions in that directions may better be answered on the
OpenLayers mailinglists.<br>
<br>
Best,<br>
Marc<br>
<br>
<br>
On 04.09.2014 10:29, Ceyhun Ganioglu wrote:<br>
</div>
<blockquote cite="mid:540822DC.4000603@gmail.com" type="cite">
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
<font face="Arial">Hi,<br>
<br>
I would like to add to input boxes and a button to my map and
when a user clicks the button I want the map zoomed to the
values of X,Y given on the input boxes. <br>
<br>
Which map function do I need to use? and if I need to convert
the X,Y values to lat lon how can I do it? <br>
<br>
Many thanks for your help.<br>
<br>
Regards<br>
<br>
</font> <br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Users mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:Users@geoext.org">Users@geoext.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.geoext.org/cgi-bin/mailman/listinfo/users">http://www.geoext.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
Dipl.-Geogr. Marc Jansen
— Anwendungsentwickler —
terrestris GmbH & Co. KG
Pützchens Chaussee 56
53227 Bonn
Tel: +49 (0)228 / 96 28 99 -53
Fax: +49 (0)228 / 96 28 99 -57
Email: <a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:jansen@terrestris.de">jansen@terrestris.de</a>
Web: <a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.terrestris.de">http://www.terrestris.de</a>
Amtsgericht Bonn, HRA 6835, Komplementärin: terrestris Verwaltungs-
gesellschaft mbH, vertreten durch: Hinrich Paulsen, Till Adams
</pre>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@geoext.org">Users@geoext.org</a>
<a class="moz-txt-link-freetext" href="http://www.geoext.org/cgi-bin/mailman/listinfo/users">http://www.geoext.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</body>
</html>