<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
I like center, you can center on a point or on a box and
center(zoom) makes slightly more sense then location(zoom)<br>
<br>
I will miss goto() though ;)<br>
<br>
Op 7/18/2011 2:40 AM, Drew Wells schreef:
<blockquote
cite="mid:CADsURTUFh0YCQNquWVgBKm=HibunEmapU4K7u2Sv-ewVbj-0Pw@mail.gmail.com"
type="cite">Here's one from left field, how about center(), if
goto does what I think it does. It's a getter/setter and pseudo
aligns with some OL stuff related to the concept. I think they
use map.setCenter, map.getCenter.<br>
<br>
-Drew<br>
<br>
<div class="gmail_quote">On Sun, Jul 17, 2011 at 8:36 PM, Volker
Mische <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:volker.mische@gmail.com">volker.mische@gmail.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hi all,<br>
<br>
I just found out that "goto" is a future reserved word in
ECMAScript 3 but not in ECMAScript 5. This means we can use it
in the future ;)<br>
<br>
This is probably also the reason why so many minifiers crash
on the goto function. Although I really like the name, we
might should think about changing the name. I have two
propositions (feel free to add your own).<br>
<br>
1. go<br>
<br>
Rename "goto" to "go". It doesn't clash with any (future)
reserved word and is even shorter<br>
<br>
2. loc/location<br>
<br>
Rename it to "location," or if that's too long just "loc". We
don't use any abbreviations at the moment (we use "position",
and not "pos"). So "location" would be more consistent. I
actually prefer "location" over "go". The reason is that the
current "goto" acts as a getter and as a setter, but "goto" is
a verb. It makes way more sense to use a subject for things
you can set and get (some might call it a resource). You can
set a location and get a location, but how to you get a
"goto"?<br>
<br>
Cheers,<br>
Volker<br>
_______________________________________________<br>
MapQuery mailing list<br>
<a moz-do-not-send="true"
href="mailto:MapQuery@lists.osgeo.org" target="_blank">MapQuery@lists.osgeo.org</a><br>
<a moz-do-not-send="true"
href="http://lists.osgeo.org/mailman/listinfo/mapquery"
target="_blank">http://lists.osgeo.org/mailman/listinfo/mapquery</a><br>
</blockquote>
</div>
<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
MapQuery mailing list
<a class="moz-txt-link-abbreviated" href="mailto:MapQuery@lists.osgeo.org">MapQuery@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/mapquery">http://lists.osgeo.org/mailman/listinfo/mapquery</a>
</pre>
</blockquote>
<br>
</body>
</html>