<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
</head>
<body bgcolor="#ffffff" text="#000000">
Hello all,<br>
<br>
I'm having trouble with a snippet of javascript used to zoom to a
particular parcel after querying for it. <br>
<br>
The code is:<br>
GeoMOOSE.zoomToExtent(([shpminx]-500)+','+([shpminy]-500)+','+([shpmaxx]+500)+','+([shpmaxy]+500))<br>
<br>
It seems that "shpminx, shpminy, etc." aren't working because my map
simply zooms in to wherever it is positioned at that time. The correct
parcel is highlighted, but the view does not shift to it. Is there a
different term used to represent the extents? I've included the whole
html below:<br>
<br>
<tr><br>
<td><a
href=<a class="moz-txt-link-rfc2396E" href="javascript:GeoMOOSE.changeLayerUrl('highlight','php/itemquery.php');GeoMOOSE.updateLayerParameters('highlight',{'qitm':'TAXKEY','qstring':'[TAXKEY]','layer':'townshipzoning/all'});GeoMOOSE.turnLayerOn('highlight/all');GeoMOOSE.zoomToExtent(([shpminx]-500)+','+([shpminy]-500)+','+([shpmaxx]+500)+','+([shpmaxy]+500))">"javascript:GeoMOOSE.changeLayerUrl('highlight','php/itemquery.php');
GeoMOOSE.updateLayerParameters('highlight',{'qitm':'TAXKEY','qstring':'[TAXKEY]','layer':'townshipzoning/all'});
GeoMOOSE.turnLayerOn('highlight/all');
GeoMOOSE.zoomToExtent(([shpminx]-500)+','+([shpminy]-500)+','+([shpmaxx]+500)+','+([shpmaxy]+500))"</a>>[TAXKEY]</a></td><br>
</tr><br>
<br /><br>
</tr><br>
<br>
Thank you<br>
<div class="moz-signature">-- <br>
<meta http-equiv="Content-Type" content="text/html; ">
<title>Untitled Document</title>
<style type="text/css">
<!--
.name_title {
        font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
        font-size: 14px;
        color: #009;
}
.org {
        font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
        font-size: 12px;
        color: #060;
}
.links {
        font-size: 12px;
}
-->
</style>
<p><span class="name_title">Devon Piernot<br>
</span>
<span class="org">GIS / Web Developer<br>
Southwestern Wisconsin Regional Planning Commission<br>
</span><span class="links">(608) 342-6065</span><br>
<span class="links"><a class="moz-txt-link-abbreviated" href="mailto:piernotd@uwplatt.edu">piernotd@uwplatt.edu</a><br>
<a class="moz-txt-link-abbreviated" href="http://www.swwrpc.org">www.swwrpc.org</a></span></p>
</div>
</body>
</html>