[Geomoose-users] Query-zoom to first not working correctly

Bistrais, Bob Bob.Bistrais at maine.gov
Thu Sep 27 07:56:38 PDT 2012


I'm trying to set up the Query.php to query a layer and automatically zoom to the first result (which, in my case, should be the only result).  So I have it set up, I perform a query and I do in fact get a result and highlight for the result.  But the map zooms to the wrong location.  Looking in Firebug, I see the extent is invalid:
GeoMOOSE.zoomToExtent(0.000000,0.000000,0.000000,0.000000);

-What should I fix to make this work?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geomoose-users/attachments/20120927/507fba20/attachment.html>


More information about the Geomoose-users mailing list