Hi Myeonghun,<br><br>(Forwarded to the MapFish users list as it is more a MapFish related question.)<br><br>Maybe, you could listen to events that tells that the map is updated and set the scale combo value to the current map scale :<br>
<br>map.events.on({<br> 'moveend': function() {<br> combo.setValue(map.getScale());<br> }<br>});<br><br>This has not been tested.<br><br>Regards,<br>Pierre<br><br><br><br><div class="gmail_quote">On Tue, Apr 21, 2009 at 9:33 AM, Myeong Hun Jeong <span dir="ltr"><<a href="mailto:mhjeong74@gmail.com">mhjeong74@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div>Dear list.</div>
<div> </div>
<div>I downloaded ComboBoxFactory.js from <a href="http://geoext.blogspot.com/" target="_blank">http://geoext.blogspot.com/</a></div>
<div>I tested it. so the map is zoom to scale when a value is chosen in the scale combobox.</div>
<div>However, what I want is that how to update the value of scale combobox when the map is updated?</div>
<div>Please, give me a piece of information.</div>
<div> </div>
<div>Sincerely yours,<br>Myeonghun Jeong.</div>
<div> </div>
<br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@geoext.org">Users@geoext.org</a><br>
<a href="http://www.geoext.org/cgi-bin/mailman/listinfo/users" target="_blank">http://www.geoext.org/cgi-bin/mailman/listinfo/users</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Pierre GIRAUD<br>Géomaticien, Analyste<br><br>Camptocamp France SAS<br>Savoie Technolac, BP 352<br>73377 Le Bourget du Lac, Cedex <br><br>Tel : 00 33 4 79 44 44 93<br>
Mail : <a href="mailto:pierre.giraud@camptocamp.com">pierre.giraud@camptocamp.com</a><br><a href="http://www.camptocamp.com">http://www.camptocamp.com</a> <br>