Ok, I just tried it, but it didn't help...I also tested it with 3 seconds (3000)... still no zooming in.<div><br></div><div>If I remove the first two lines where I set the selection, and use the ZoomToView() function with a set of coordinates and zoom level, zooming works. But if I add it after the SetSelectionXML(), nothing. So it seems it's only executing the first command... Any other suggestions or a way in which I could find out why it's acting like this?</div>
<div><br></div><div>Thanks,</div><div>DD</div><div><div><br><br><div class="gmail_quote">On Wed, Sep 28, 2011 at 1:20 PM, GordonL [via OSGeo.org] <span dir="ltr"><<a href="/user/SendEmail.jtp?type=node&node=6839822&i=0" target="_top" rel="nofollow" link="external">[hidden email]</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
        Sometimes you have a timing issue.
<br><br>You could try waiting for a second..
<br><br>setTimeout(function(){parent.parent.ExecuteMapAction(10);},1000);
<br><br>gordon
        
        <br>
        <br>
        <hr noshade size="1" color="#cccccc">
        <div style="color:#444;font:12px tahoma,geneva,helvetica,arial,sans-serif"><div class="im">
                <div style="font-weight:bold">If you reply to this email, your message will be added to the discussion below:</div>
                </div><a href="http://osgeo-org.1803224.n2.nabble.com/Search-for-a-feature-based-on-feature-ID-tp6829659p6839790.html" target="_blank" rel="nofollow" link="external">http://osgeo-org.1803224.n2.nabble.com/Search-for-a-feature-based-on-feature-ID-tp6829659p6839790.html</a>
        </div><div><div></div><div class="h5">
        <div style="color:#666;font:11px tahoma,geneva,helvetica,arial,sans-serif;margin-top:.4em">
                
                To unsubscribe from Search for a feature based on feature ID, <a href="" target="_blank" rel="nofollow" link="external">click here</a>.
        </div></div></div></blockquote></div><br></div></div>
        
<br/><hr align="left" width="300" />
View this message in context: <a href="http://osgeo-org.1803224.n2.nabble.com/Search-for-a-feature-based-on-feature-ID-tp6829659p6839822.html">Re: Search for a feature based on feature ID</a><br/>
Sent from the <a href="http://osgeo-org.1803224.n2.nabble.com/MapGuide-Users-f1803227.html">MapGuide Users mailing list archive</a> at Nabble.com.<br/>