Thanks Gord!<div>That widget look great, I'll have to look into that!</div><div>So then are you building your own Legend as well, or is that the default MG Legend component?</div><div><br>Warren<br><br><div class="gmail_quote">
On Thu, Jul 29, 2010 at 10:42 AM, Gordon Luckett <span dir="ltr"><<a href="mailto:gordon.luckett@arrowgeomatics.com">gordon.luckett@arrowgeomatics.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div lang="EN-US" link="blue" vlink="purple">
<div>
<p class="MsoNormal"><span style="color:#1F497D">Hi Warren</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">Also, I should direct you to </span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"><a href="http://www.dynamicdrive.com/dynamicindex8/dhtmlwindow/index.htm" target="_blank">http://www.dynamicdrive.com/dynamicindex8/dhtmlwindow/index.htm</a></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"> </span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">I use this widget extensively…that way I can have floating
windows regardless of FUSION or AJAX viewers. </span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"> </span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">My data grid (“List All Parcels”) uses this javascript library
for this site – and all the sites on the <a href="http://squamish2010.ca" target="_blank">squamish2010.ca</a> domain that I create:
<a href="http://squamish2010.ca/SASKATCHEWAN/" target="_blank">http://squamish2010.ca/SASKATCHEWAN/</a></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"> </span></p><font color="#888888">
<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">Gordon</span></p></font><div><div></div><div class="h5">
<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"> </span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"> </span></p>
<p class="MsoNormal">Well, I'm using frames to provide a basic 'wrapper' to
display things like company logo's and also a custom reporting frame for
displaying a datagrid.</p>
<div>
<p class="MsoNormal"> </p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">Warren</p>
<div>
<p class="MsoNormal">On Thu, Jul 29, 2010 at 1:04 AM, Jason Birch <<a href="mailto:jason@jasonbirch.com" target="_blank">jason@jasonbirch.com</a>> wrote:</p>
<p class="MsoNormal">So, are you guys using iframes to hide the complexity of the
initial<br>
url and still use appdef directly out of the MapGuide repository?<br>
<br>
My appdef doesn't change very often; I've got it compiled into a<br>
single-file fusion build per-map. I'm not using templates either ;I<br>
don't think they existed when DMSG built my map initially :)<br>
<br>
If your app is static enough, you could do something similar; copy the<br>
template out into the Map's directory and either compile in the appdef<br>
or create an ApplicationDefinition.xml in the same folder as your<br>
index.html.</p>
<div>
<div>
<p class="MsoNormal"><br>
<br>
On 2010-07-28, Warren Medernach <<a href="mailto:wmedernach@gmail.com" target="_blank">wmedernach@gmail.com</a>>
wrote:<br>
> Hey Gordon,<br>
> Thanks so much for the tips and info!<br>
><br>
> Warren<br>
><br>
> On Wed, Jul 28, 2010 at 7:18 PM, Gordon Luckett <<br>
> <a href="mailto:gordon.luckett@arrowgeomatics.com" target="_blank">gordon.luckett@arrowgeomatics.com</a>>
wrote:<br>
><br>
>> Hi Warren,<br>
>><br>
>> I usually use iframes (and always call it the same thing
“iFrameMap”)<br>
>><br>
>><br>
>><br>
>> I have found some issues with targeting some of the searches and had
to<br>
>> modify the code to find my “iFrameMap” within FUSION.<br>
>><br>
>><br>
>><br>
>> I make use of the \www\fusion\layers\MapGuide\MapGuideViewerApi.js
file<br>
>> and<br>
>> modify the lines that show:<br>
>><br>
>><br>
>><br>
>> var Fusion = window.top.Fusion;<br>
>><br>
>><br>
>><br>
>> to<br>
>><br>
>><br>
>><br>
>> var Fusion = window.top.iFrameMap.Fusion;<br>
>><br>
>><br>
>><br>
>> and that usually works really well.<br>
>><br>
>><br>
>><br>
>><br>
>><br>
>> I use the iFrameMap for the AJAX Basic version to and usually pass a<br>
>> parameter to the JS files with VTYPE=’AJAX’ or VTYPE=’FUSION’ so I
know<br>
>> what<br>
>> viewer API to use.<br>
>><br>
>><br>
>><br>
>> Hope that helps.<br>
>><br>
>><br>
>><br>
>><br>
>><br>
>><br>
>><br>
>> Hey Jason,<br>
>><br>
>> Sorry, my bad... I should know better to include version
details... It's<br>
>> been a long day :-)<br>
>><br>
>> I'm using MGE 2011.<br>
>><br>
>><br>
>><br>
>> I was just more curious what others are doing wrt Fusion. Are people<br>
>> using<br>
>> iFrames, or Frames, or just building their wrappers?<br>
>><br>
>><br>
>><br>
>> Thanks.<br>
>><br>
>><br>
>> Warren<br>
>><br>
>> On Wed, Jul 28, 2010 at 5:35 PM, Jason Birch <<a href="mailto:jason@jasonbirch.com" target="_blank">jason@jasonbirch.com</a>> wrote:<br>
>><br>
>> Are you using a recent version? I think I saw some commits that change<br>
>> the way widgets find their parent fairly recently (ie, could be bug).<br>
>><br>
>><br>
>><br>
>> On 2010-07-28, Warren Medernach <<a href="mailto:wmedernach@gmail.com" target="_blank">wmedernach@gmail.com</a>> wrote:<br>
>> > Hello all,<br>
>> > I'm trying to use the Fusion viewer within a frameset and I'm
getting<br>
>> > some weird results using different browsers with 'out-of-the-box'<br>
>> > functionality.<br>
>> ><br>
>> > For example, I have a Search function defined that works fine
when I run<br>
>> it<br>
>> > in FireFox or Chrome, but in IE it fails to select and zoom to
the<br>
>> > object<br>
>> > and a script error is thrown stating that it cannot find Fusion?<br>
>> ><br>
>> > Are there any 'best practices' or suggestions to using Fusion
within a<br>
>> > frameset?<br>
>> ><br>
>> > Warren M.<br>
>> ><br>
>><br>
>> _______________________________________________<br>
>> mapguide-users mailing list<br>
>> <a href="mailto:mapguide-users@lists.osgeo.org" target="_blank">mapguide-users@lists.osgeo.org</a><br>
>> <a href="http://lists.osgeo.org/mailman/listinfo/mapguide-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapguide-users</a><br>
>><br>
>><br>
>><br>
>> _______________________________________________<br>
>> mapguide-users mailing list<br>
>> <a href="mailto:mapguide-users@lists.osgeo.org" target="_blank">mapguide-users@lists.osgeo.org</a><br>
>> <a href="http://lists.osgeo.org/mailman/listinfo/mapguide-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapguide-users</a><br>
>><br>
>><br>
><br>
_______________________________________________<br>
mapguide-users mailing list<br>
<a href="mailto:mapguide-users@lists.osgeo.org" target="_blank">mapguide-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/mapguide-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapguide-users</a></p>
</div>
</div>
</div>
<p class="MsoNormal"> </p>
</div>
</div></div></div>
</div>
<br>_______________________________________________<br>
mapguide-users mailing list<br>
<a href="mailto:mapguide-users@lists.osgeo.org">mapguide-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/mapguide-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapguide-users</a><br>
<br></blockquote></div><br></div>