<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML xmlns="http://www.w3.org/TR/REC-html40" xmlns:v =
"urn:schemas-microsoft-com:vml" xmlns:o =
"urn:schemas-microsoft-com:office:office" xmlns:w =
"urn:schemas-microsoft-com:office:word" xmlns:x =
"urn:schemas-microsoft-com:office:excel" xmlns:p =
"urn:schemas-microsoft-com:office:powerpoint" xmlns:a =
"urn:schemas-microsoft-com:office:access" xmlns:dt =
"uuid:C2F41010-65B3-11d1-A29F-00AA00C14882" xmlns:s =
"uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882" xmlns:rs =
"urn:schemas-microsoft-com:rowset" xmlns:z = "#RowsetSchema" xmlns:b =
"urn:schemas-microsoft-com:office:publisher" xmlns:ss =
"urn:schemas-microsoft-com:office:spreadsheet" xmlns:c =
"urn:schemas-microsoft-com:office:component:spreadsheet" xmlns:oa =
"urn:schemas-microsoft-com:office:activation" xmlns:html =
"http://www.w3.org/TR/REC-html40" xmlns:q =
"http://schemas.xmlsoap.org/soap/envelope/" XMLNS:D = "DAV:" xmlns:x2 =
"http://schemas.microsoft.com/office/excel/2003/xml" xmlns:ois =
"http://schemas.microsoft.com/sharepoint/soap/ois/" xmlns:dir =
"http://schemas.microsoft.com/sharepoint/soap/directory/" xmlns:ds =
"http://www.w3.org/2000/09/xmldsig#" xmlns:dsp =
"http://schemas.microsoft.com/sharepoint/dsp" xmlns:udc =
"http://schemas.microsoft.com/data/udc" xmlns:xsd =
"http://www.w3.org/2001/XMLSchema" xmlns:sps =
"http://schemas.microsoft.com/sharepoint/soap/" xmlns:xsi =
"http://www.w3.org/2001/XMLSchema-instance" xmlns:udcxf =
"http://schemas.microsoft.com/data/udc/xmlfile" xmlns:wf =
"http://schemas.microsoft.com/sharepoint/soap/workflow/" xmlns:mver =
"http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:m =
"http://schemas.microsoft.com/office/2004/12/omml" xmlns:mrels =
"http://schemas.openxmlformats.org/package/2006/relationships" xmlns:ex12t =
"http://schemas.microsoft.com/exchange/services/2006/types" xmlns:ex12m =
"http://schemas.microsoft.com/exchange/services/2006/messages"><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.6000.16587" name=GENERATOR>
<STYLE>@font-face {
        font-family: Cambria Math;
}
@font-face {
        font-family: Calibri;
}
@page Section1 {size: 8.5in 11.0in; margin: 1.0in 1.0in 1.0in 1.0in; }
P.MsoNormal {
        FONT-SIZE: 11pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Calibri","sans-serif"
}
LI.MsoNormal {
        FONT-SIZE: 11pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Calibri","sans-serif"
}
DIV.MsoNormal {
        FONT-SIZE: 11pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Calibri","sans-serif"
}
A:link {
        COLOR: blue; TEXT-DECORATION: underline; mso-style-priority: 99
}
SPAN.MsoHyperlink {
        COLOR: blue; TEXT-DECORATION: underline; mso-style-priority: 99
}
A:visited {
        COLOR: purple; TEXT-DECORATION: underline; mso-style-priority: 99
}
SPAN.MsoHyperlinkFollowed {
        COLOR: purple; TEXT-DECORATION: underline; mso-style-priority: 99
}
SPAN.EmailStyle17 {
        COLOR: windowtext; FONT-FAMILY: "Calibri","sans-serif"; mso-style-type: personal-compose
}
.MsoChpDefault {
        mso-style-type: export-only
}
DIV.Section1 {
        page: Section1
}
</STYLE>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></HEAD>
<BODY lang=EN-US vLink=purple link=blue>
<DIV dir=ltr align=left><SPAN class=020480421-13022008><FONT face=Arial
color=#0000ff size=2>Adam,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=020480421-13022008><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=020480421-13022008><FONT face=Arial
color=#0000ff size=2>I don't believe your first thing you want to do is possible
with the current state of GeoMOOSE. The Information tab is not a seperate
.html page or frame, it is a <DIV> inside the HTML. So you would
need to write the javascript code to replace the content of that
<DIV>. This would likely take some digging into GeoMOOSE.
Unless Dan has some other ideas.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=020480421-13022008><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=020480421-13022008><FONT face=Arial
color=#0000ff size=2>As far as the zoom to feature function. That only
works because the extents of the features are being returned by MapServer in the
HTML Query template. Because you are using an external script you will
need to get the feature extents from that script. The easiest way (and the
way I have done it in the past) is to just store the extents in the tabular
database table. Other options might include doing a MapServer itemquery or
switching your ASP script to PHP and using PHP Mapscript.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=020480421-13022008><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=020480421-13022008><FONT face=Arial
color=#0000ff size=2>Hope that helps,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=020480421-13022008><FONT face=Arial
color=#0000ff size=2>Brian</FONT></SPAN></DIV>
<DIV> </DIV>
<DIV align=left><FONT face=Arial size=2>Brian Fischer</FONT></DIV>
<DIV align=left><FONT face=Arial size=2>Houston Engineering, Inc.</FONT></DIV>
<DIV align=left><FONT face=Arial size=2>Maple Grove, MN</FONT></DIV>
<DIV align=left><FONT face=Arial size=2>(763) 493-4522</FONT></DIV>
<DIV> </DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B>
geomoose-users-bounces@lists.sourceforge.net
[mailto:geomoose-users-bounces@lists.sourceforge.net] <B>On Behalf Of </B>Adam
Feidt<BR><B>Sent:</B> Wednesday, January 30, 2008 1:04 PM<BR><B>To:</B>
geomoose-users@lists.sourceforge.net;
geomoose-developers@lists.sourceforge.net<BR><B>Subject:</B> [Geomoose-users]
hyperlinks in information tab<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV class=Section1>
<P class=MsoNormal>Hello all,<o:p></o:p></P>
<P class=MsoNormal> I have a couple questions that I
need help with. First of all I have an asp script that connects to a
database and displays information in the Information tab. From there I’m
hyperlinking and running another script that will connect to another database
and display information. Unfortunately, when I run the second script from
the hyperlink it displays in another window instead of displaying in the
information tab. Can I redirect the results?<o:p></o:p></P>
<P class=MsoNormal><o:p> </o:p></P>
<P class=MsoNormal>Secondly, I’m running the same asp script and displaying the
results in the information tab. From there I’m hyperlinking from the
results table to do a zoom to feature. I’m using the below code in an asp
script.<o:p></o:p></P>
<P class=MsoNormal><o:p> </o:p></P>
<P class=MsoNormal>j_script =
"javascript:Map.itemQueryLayer('Highlight','Parcels','PID'," & "'" &
strField & "'" &
",'/ms4w/apps/GeoMOOSE/PrairieMap/select_parcel_PID.map');Map.zoomToViewString(([shpminx]-500)+','+([shpminy]-500)+','+([shpmaxx]+500)+','+([shpmaxy]+500))"<o:p></o:p></P>
<P class=MsoNormal><o:p> </o:p></P>
<P class=MsoNormal><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">Response.Write("<td style
= 'text-align:center' width = '40'>" & "<a href=" & j_script &
">" & "<img src='shared/images/view.png' border='0' title='Click to
Zoom Map to Parcel'></a>" & "</td>")<o:p></o:p></SPAN></P>
<P class=MsoNormal><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'"><o:p> </o:p></SPAN></P>
<P class=MsoNormal>The polygon is selecting, but the zoom to fails because
shpminx is undefined. Do I need to create a lookup table with the
extents? Shouldn’t the Map.zoomToViewString function grab the extents from
the selected feature?<SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'"><o:p></o:p></SPAN></P>
<P class=MsoNormal><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'"><o:p> </o:p></SPAN></P>
<P class=MsoNormal><o:p> </o:p></P>
<P class=MsoNormal>Adam M. Feidt<o:p></o:p></P>
<P class=MsoNormal>GIS Coordinator<o:p></o:p></P>
<P class=MsoNormal>City of Eden Prairie<o:p></o:p></P>
<P class=MsoNormal>8080 Mitchell Rd<o:p></o:p></P>
<P class=MsoNormal>Eden Prairie, MN 55344<o:p></o:p></P>
<P class=MsoNormal>phone# 952-949-8443<o:p></o:p></P>
<P class=MsoNormal>fax# 952-949-8334<o:p></o:p></P>
<P class=MsoNormal><o:p> </o:p></P></DIV></BODY></HTML>