<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>Re: [mapguide-users] DWF Viewer App</TITLE>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.2995" name=GENERATOR></HEAD>
<BODY dir=ltr>
<DIV dir=ltr align=left><SPAN class=861214311-22112006><FONT face=Arial 
color=#0000ff size=2>Ok we are using .net for our development.&nbsp; Juan I 
think your solution might be the best at this time, it would definitely get me 
around the bug that Andrew talked about.&nbsp; Walt if the DWF Viewer surround 
had to request the zoom extent from the server that would defeat the use of the 
disconnected environment.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=861214311-22112006></SPAN><SPAN 
class=861214311-22112006><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=861214311-22112006><FONT face=Arial 
color=#0000ff size=2>Chris</FONT></SPAN></DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> Walt Welton-Lair 
[mailto:walt.welton-lair@autodesk.com] <BR><B>Sent:</B> Tuesday, November 21, 
2006 5:37 PM<BR><B>To:</B> users@mapguide.osgeo.org<BR><B>Subject:</B> RE: 
[mapguide-users] DWF Viewer App<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV>Seems like the right thing to do then is to have the DWF Viewer surround 
also go to the server to find the correct extent to zoom to.</DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
  <DIV><FONT size=2>-----Original Message----- <BR><B>From:</B> Andrew 
  DeMerchant [mailto:andrew.demerchant@gemtec.ca] <BR><B>Sent:</B> Tue 
  11/21/2006 10:39 PM <BR><B>To:</B> users@mapguide.osgeo.org <BR><B>Cc:</B> 
  <BR><B>Subject:</B> Re: [mapguide-users] DWF Viewer App<BR><BR></FONT></DIV>
  <P><FONT size=2>I had thought there was an artifact for it (which is why I 
  didn't add it<BR>myself)...but I dont' see it.<BR><BR>Andrew<BR><BR><BR>Alain 
  Lebatard wrote:<BR>&gt;<BR>&gt; The reason for the DWF search problem is that 
  the viewer surround uses<BR>&gt; the DWF viewer API to select or zoom to a 
  feature, but the viewer only<BR>&gt; knows about the features that are in the 
  visible extent of the map.<BR>&gt; The AJAX viewer doesn&#8217;t have this problem 
  because since it virtually<BR>&gt; doesn&#8217;t know anything about the features 
  displayed, it has to<BR>&gt; systematically go to the server to perform 
  selection or zoom.<BR>&gt;<BR>&gt; I remember that bug from before MapGuide 
  shipped. We probably didn&#8217;t<BR>&gt; fix it then for lack of time, but I think 
  there is an artifact logged<BR>&gt; for it.<BR>&gt;<BR>&gt; 
  Alain<BR>&gt;<BR>&gt; 
  ------------------------------------------------------------------------<BR>&gt;<BR>&gt; 
  *From:* Andrew DeMerchant [<A 
  href="mailto:andrew.demerchant@gemtec.ca">mailto:andrew.demerchant@gemtec.ca</A>]<BR>&gt; 
  *Sent:* Tuesday, November 21, 2006 12:46 PM<BR>&gt; *To:* 
  users@mapguide.osgeo.org<BR>&gt; *Subject:* Re: [mapguide-users] DWF Viewer 
  App<BR>&gt;<BR>&gt; I mainly use the DWF viewer (still not a fan of the AJAX 
  one...I miss<BR>&gt; the quick panning and zooming with my mouse wheel too 
  much!), but my<BR>&gt; app supports both (the user is sent to the right one 
  according to a<BR>&gt; browser check)...I don't know about searching offline, 
  but I can<BR>&gt; certainly tell you that you can search dwf features just the 
  same. I'm<BR>&gt; using the search tool from MapGuide Studio.<BR>&gt;<BR>&gt; 
  It works fine, except for 1 serious bug.....Say you're zoomed in so<BR>&gt; 
  that not all features of your map are visible (some are outside your<BR>&gt; 
  extents)...If you then search for features, you'll get a list. Click<BR>&gt; 
  on the item you want, and you're supposed to be taken to that feature<BR>&gt; 
  (the map is meant to center on that feature)......in dwf viewer, this<BR>&gt; 
  wouldn't work. It ONLY works in the dwf viewer if the thing that you<BR>&gt; 
  clicked on (from the list) is already on the screen somewhere.<BR>&gt;<BR>&gt; 
  If you can live with this bug, then likely all you have to do is<BR>&gt; 
  modify your URL. I've done almost all of my project with MapGuide<BR>&gt; 
  Studio, and have set it up to work with either viewer....all I have to<BR>&gt; 
  do to switch viewers is to change "mapviewerdwf" in my url to<BR>&gt; 
  "mapviewerajax".<BR>&gt;<BR>&gt; Hope that helps!<BR>&gt;<BR>&gt;<BR>&gt; 
  Andrew<BR>&gt;<BR>&gt;<BR>&gt;<BR>&gt; Chris Tallman wrote:<BR>&gt;<BR>&gt; I 
  know the DWF Viewer app is not very popular right now because it<BR>&gt; 
  requires an install. However, we are working on an app for EMS in<BR>&gt; 
  vehicle mapping. I need to be able to search for an address in the DWF<BR>&gt; 
  map while its disconnected from the internet or network. Has anyone<BR>&gt; 
  messed with this? Is it even possible to search features in the DWF<BR>&gt; 
  Map? I have a feature source that has the addresses, and I've written<BR>&gt; 
  an app to search the map if I'm using the AJAX viewer, now I need that<BR>&gt; 
  same functionality in the DWF viewer. If anyone has an idea on how to<BR>&gt; 
  do this I am all ears.<BR>&gt;<BR>&gt; Thanks,<BR>&gt;<BR>&gt;<BR>&gt; **Chris 
  Tallman**<BR>&gt; 260.356.9074<BR>&gt;<BR>&gt; --<BR>&gt;<BR>&gt; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>&gt;<BR>&gt; *Andrew DeMerchant*<BR>&gt; 
  *Computer Technologist*<BR>&gt; ph.1-877-2GEMTEC x.163<BR>&gt; fax 
  506-453-9470<BR>&gt;<BR>&gt; /GEMTEC Limited &lt;<A 
  href="http://www.gemtec.ca">http://www.gemtec.ca</A>&gt;<BR>&gt; /191 Doak 
  Road<BR>&gt; Fredericton, NB, Canada<BR>&gt; E3C 
  2E6<BR>&gt;<BR><BR>---------------------------------------------------------------------<BR>To 
  unsubscribe, e-mail: users-unsubscribe@mapguide.osgeo.org<BR>For additional 
  commands, e-mail: 
users-help@mapguide.osgeo.org<BR><BR></FONT></P></BLOCKQUOTE></BODY></HTML>