[Geomoose-users] Trying to Zoom to selected record

Jim Dahl jim.dahl at mail.co.douglas.mn.us
Mon Dec 17 12:33:51 EST 2007


I want to zoom to one of several selected records so I added the code
from the itemquery html file to the record html file and it adds the
zoom to icon and zooms to the selected record.  However, it doesn't
highlight and the file path of the select map appears in between the
INFORMATION header and the word (highlighted).  Any idea how I can edit
to eliminate this?
 
The added text is:
 
<td><a href="javascript:Map.itemQueryLayer('Highlight', 'StateParks',
'SP_NAME', '[SP_NAME]',
'/ms4w/apps/GeoMOOSE/maps_douglasdemo/select.map');
Map.zoomToViewString(([shpminx]-500)+','+([shpminy]-500)+','+([shpmaxx]+
500)+','+([shpmaxy]+500))"><img src="shared/images/view.png" border="0"
title="Click to Zoom Map to Park"></a></td>
 

Jim Dahl, GISP
GIS Coordinator
Douglas County Public Works
509 3rd Ave W
PO Box 398
Alexandria MN 56308

V 320-762-2933
   320-763-6001
F 320-763-7955

 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/geomoose-users/attachments/20071217/95cd7e67/attachment.html


More information about the Geomoose-users mailing list