Re: [mapguide-users] 'ZoomToView' or 'SetExtents' on MapLoad in fusion

2014-02-27 Thread torrini
Yay! Thanks a lot! There should be an up-to-date guidance for MapGuide. -torrini -- View this message in context: http://osgeo-org.1560.x6.nabble.com/ZoomToView-or-SetExtents-on-MapLoad-in-fusion-tp5104880p5106331.html Sent from the MapGuide Users mailing list archive at Nabble.com.

Re: [mapguide-users] 'ZoomToView' or 'SetExtents' on MapLoad in fusion

2014-02-26 Thread GordonL
Fusion has a few URL Parameters you can use: http://trac.osgeo.org/fusion/wiki/URLParams *extent*: comma separated values for the initial extent of the map as minx,miny,maxx,maxy -- View this message in context: http://osgeo-org.1560.x6.nabble.com/ZoomToView-or-SetExtents-on-MapLoad-in-fu

[mapguide-users] 'ZoomToView' or 'SetExtents' on MapLoad in fusion

2014-02-20 Thread torrini
Hi list, I have already been looking for hours, but could not find a proper solution. I want to start my layout with a specific view, which should be setted by parameters like /http://localhost/mapguide25/fusion/templates/mapguide/maroon/index.html?x=...&y=...&scale=.../ I know there are the fun

[mapguide-users] ZoomToView through .cs(code behind) code in c sharp.

2013-01-14 Thread Rahul Gupta
Hello there ,I have the extends of a feature. and my question is... Is this possible to do ZoomToView functionality through code. i know we can do this thing from javascript but my requirement is to do this thing from code . Thanks and Regards Rahul Gupta - Rahul Gupta -- View t

Re: [mapguide-users] ZoomToView

2012-09-10 Thread veer-singh
Thanks gordon for replying.. i am looking for something else like "zoom to specified view port on initial load of web layout ", i am able to implement the same but not able to see the selection on map. i am using the method ChangeInitialViewInWebLayout() to append "InitialView" tag in XML to zoom,

Re: [mapguide-users] ZoomToView

2012-09-10 Thread GordonL
Since you are using the AJAX version its a little harder to zoom in on load since there is not a URL Parameter like the Fusion site (extent=) So you will have to do a little work: 1. First catch the X and Y you are passing for example X=-115.443&Y=45.8789 2. Then set up EVENT HOOKING to call yo

Re: [mapguide-users] ZoomToView

2012-09-04 Thread veer-singh
Hello Lists, After working for days into this , i have analyzed that when i am adding custom command into my basic layout in ajaxviewer and then using ZoomToView(), its working but my situation is different, i want to expose my application as a URL to other system which will consume my appl

[mapguide-users] ZoomToView

2012-09-03 Thread veer-singh
Hello Hello, I am into code where i am passing x and y values as a query string to my application This is my viewerframe src &WEBLAYOUT=<%=webLayout%>"> Now when i am reading those values in my application and excuting window.top.viewerFrame.mapFrame.ZoomToView(72452680, 463636363

[mapguide-users] ZoomToView function breaks session

2011-03-14 Thread Steve Finch
Hi all, I'm new to the MapGuide list, but have been working some with MapGuide for the past couple of years and reading a lot here. I'm testing a new PHP utility using MGOS 2.2 RC2 with the Ajax viewer. The code I'm writing allows a user to zoom to a given location by typing in a coordinate i