Re: [mapguide-users] Zoom to selection doesn't work after opening quick plot window.

2013-06-12 Thread Berg, James
Alright, so here's how I reproduce the javascript error: Copy the attached files to \MapGuide\Web\www\dotnetviewersample\overview (backup the original overviewmain.aspx if needed) Open mapguide/dotnetviewersample/ajaxviewersample.aspx in a web browser and click the Zoom hyperlink. Reset the vie

Re: [mapguide-users] Zoom to selection doesn't work after opening quick plot window.

2013-06-12 Thread Berg, James
lf Of Jackie Ng Sent: Wednesday, June 12, 2013 10:05 AM To: mapguide-users@lists.osgeo.org Subject: Re: [mapguide-users] Zoom to selection doesn't work after opening quick plot window. Is is similar to this? http://forums.autodesk.com/t5/Autodesk-MapGuide-Enterprise/Unable-to-select-objects-after-plot

Re: [mapguide-users] Zoom to selection doesn't work after opening quick plot window.

2013-06-12 Thread Jackie Ng
Is is similar to this? http://forums.autodesk.com/t5/Autodesk-MapGuide-Enterprise/Unable-to-select-objects-after-plotting/td-p/3949151 Either way, I'll need explicit steps for reproduction. I could not reproduce the problem based on what you just said - Jackie -- View this message in context:

[mapguide-users] Zoom to selection doesn't work after opening quick plot window.

2013-06-12 Thread Berg, James
Windows Server 2003r2 32bit MapGuide Open Source 2.4 AJAX Viewer Maestro 5.0RC Hello, all My MapGuide application uses the main frame method ExecuteMapAction(10) to zoom to selections on the map. However, every time I use those functions after opening the quick plot window I get a javascript er

RE: [mapguide-users] Zoom To selection

2010-02-02 Thread andrea tiveron (e-metodi)
mmands, False) -Original Message----- From: mapguide-users-boun...@lists.osgeo.org [mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of Mbonnet Sent: martedì 24 aprile 2007 17.15 To: mapguide-users@lists.osgeo.org Subject: Re: [mapguide-users] Zoom To selection hi, did you solved this

Re: [mapguide-users] Zoom To Selection

2009-03-13 Thread Paul Spencer
From: mapguide-users-boun...@lists.osgeo.org [mailto:mapguide-users-boun...@lists.osgeo.org ] On Behalf Of Warren Medernach Sent: Friday, 13 March 2009 10:42 a.m. To: MapGuide Users Mail List Subject: RE: [mapguide-users] Zoom To Selection Hi Michael, MapGuide does have this functionality. In the

RE: [mapguide-users] Zoom To Selection

2009-03-12 Thread Michael G. Byrne
...@lists.osgeo.org] On Behalf Of Warren Medernach Sent: Friday, 13 March 2009 10:42 a.m. To: MapGuide Users Mail List Subject: RE: [mapguide-users] Zoom To Selection Hi Michael, MapGuide does have this functionality. In the Basic WebLayout, if you create a 'Search', it provides the ability to

RE: [mapguide-users] Zoom To Selection

2009-03-12 Thread Warren Medernach
r the same functionality. Hope this helps Warren M From: mapguide-users-boun...@lists.osgeo.org [mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of Michael G. Byrne Sent: Thursday, March 12, 2009 2:44 PM To: MapGuide Users Mail List Subject: RE: [mapguide-users] Zoom To Selecti

RE: [mapguide-users] Zoom To Selection

2009-03-12 Thread Michael G. Byrne
-boun...@lists.osgeo.org] On Behalf Of Nisha P Sent: Wednesday, 11 March 2009 11:17 p.m. To: MapGuide Users Mail List Subject: Re: [mapguide-users] Zoom To Selection Hi Padmini.. In which file u wrote this code?or is it an in-built file? On Thu, Dec 18, 2008 at 3:52 PM, padmini godav

Re: [mapguide-users] Zoom To Selection

2009-03-11 Thread Nisha P
Hi Padmini.. In which file u wrote this code?or is it an in-built file? On Thu, Dec 18, 2008 at 3:52 PM, padmini godavarthi < godavarthi.padm...@gmail.com> wrote: > > > Hi, > Iam using Mapguide Opensource 2.0 (with .net 2.0 +IIS 5.1) > > I want to query the parcel_id and zoomed it on the map >

Re: [mapguide-users] Zoom To Selection

2008-12-22 Thread padmini godavarthi
Hi, Thanks for u r reply. the code u sent is working fine for both the cases 1) for selection of parcel id 2) Zoom to that parcel id it working fine for individually. when i integrated this code (i want selection as well as zoomed to the selected parcel id ) its not working. iam able to get the

Re: [mapguide-users] Zoom To Selection

2008-12-22 Thread Nandorov
Or maybe ucan try this MgFeatureQueryOptions nameQuery = new MgFeatureQueryOptions(); nameQuery.SetFilter("YOUR_QUERY"); // PARCEL_ID ='O1' MgSelection selection = new MgSelection(map); MgLayer layer = map.GetLayers().GetItem("YOUR_LAYER"); featureReader = featureService.Sele

Re: [mapguide-users] Zoom To Selection

2008-12-22 Thread Nandorov
Hi, sorry for response too late but this month is a busy one (: First we have to make sure you are getting the coordinates, print x and y coordinates just to make sure the query is working well. Then apply a zoomToView with the coordinates u get (hardcode this just to prove). Finally, the setSele

Re: [mapguide-users] Zoom To Selection

2008-12-20 Thread padmini godavarthi
Hi, Thanks for u r help. I wrote u r code but in my application it is neither selected the parcel_id on the map nor zoomed to that parcel_id on the map. My code is as follows:- NameValueCollection serverVars = Request.ServerVariables; String strServerVars = ""; foreac

Re: [mapguide-users] Zoom To Selection

2008-12-19 Thread Nandorov
Hi, you can try this, after applying the filter featureReader =featureService.SelectFeatures(parcelId, YourLayer.GetFeatureClassName(), nameQuery); i did it in php, but in .net might be something like this ;p MgAgfReaderWriter agfReaderWriter = new MgAgfReaderWriter(); featureReader.ReadNext();

Re: [mapguide-users] Zoom To Selection

2008-12-19 Thread padmini godavarthi
Hi, Thanks for u rreply. it works fine.when i query with parcel_id='1' it was selected on the map and displays the attributes in the property window.But i want to zoom to that parcel id on the map(like zoom to shape) 1)How is it possible? Regards, Padmini. Nandorov wrote: > > featureService

Re: [mapguide-users] Zoom To Selection

2008-12-18 Thread Nandorov
featureService.SelectFeatures(parcelId, "GEOM_TABLE", nameQuery); i think you should use layer class name instead of layer name featureService.SelectFeatures(parcelId, YourLayer.GetFeatureClassName(), nameQuery); padmini godavarthi wrote: > > > Hi, > Iam using Mapguide Opensource 2.0 (with

[mapguide-users] Zoom To Selection

2008-12-18 Thread padmini godavarthi
Hi, Iam using Mapguide Opensource 2.0 (with .net 2.0 +IIS 5.1) I want to query the parcel_id and zoomed it on the map may code is NameValueCollection serverVars = Request.ServerVariables; String strServerVars = ""; foreach (String str in serverVars.AllKeys) {

RE: [mapguide-users] Zoom to selection function

2007-12-07 Thread Nimrod Cnaan
ED]> To: > mapguide-users@lists.osgeo.org> Subject: Re: [mapguide-users] Zoom to > selection function> > > i am looking for the xml solution not zoom> > Ivan > Milicevic-3 wrote:> > > > Hello,> > > > I figured out that function > ZoomSelection is

RE: [mapguide-users] Zoom to selection function

2007-12-07 Thread Ivan Milicevic
ist Subject: Re: [mapguide-users] Zoom to selection function ExecuteMapAction(10) isn't help you? - Original Message From: Ivan Milicevic <[EMAIL PROTECTED]> To: MapGuide Users Mail List Sent: Friday, December 7, 2007 6:26:05 PM Subject: [mapguide-users] Zoom to selection f

Re: [mapguide-users] Zoom to selection function

2007-12-07 Thread ary sucaya
ExecuteMapAction(10) isn't help you? - Original Message From: Ivan Milicevic <[EMAIL PROTECTED]> To: MapGuide Users Mail List Sent: Friday, December 7, 2007 6:26:05 PM Subject: [mapguide-users] Zoom to selection function Hello, I figured out that function ZoomSelection is

Re: [mapguide-users] Zoom to selection function

2007-12-07 Thread davidisra
i am looking for the xml solution not zoom Ivan Milicevic-3 wrote: > > Hello, > > I figured out that function ZoomSelection is not exposed in Maguide Viewer > API documentation. Is there any specific reason for that? > > This function is very useful. > > >

[mapguide-users] Zoom to selection function

2007-12-07 Thread Ivan Milicevic
Hello, I figured out that function ZoomSelection is not exposed in Maguide Viewer API documentation. Is there any specific reason for that? This function is very useful. <>___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.os

RE: [mapguide-users] Zoom to selection and set new scale

2007-10-26 Thread Ismael Cams
Hello, I was having the same problem, but solved this by performing the zoom in another php page (with the formFrame.Submit() method). Hope this helps. ruivilanova wrote: > > But after that I'd like to zoom in more than 2500. > How can I programaticly check if the refresh was already done?

RE: [mapguide-users] Zoom to selection and set new scale

2007-10-22 Thread Rui Vilanova
But after that I'd like to zoom in more than 2500. How can I programaticly check if the refresh was already done? ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users

Re: [mapguide-users] Zoom to selection and set new scale

2007-10-22 Thread James Card
On Mon, 22 Oct 2007 08:45:22 -0700, ruivilanova <[EMAIL PROTECTED]> wrote: I'm selecting a point and then I zoom to it (with SetSelectionXML and ExecuteMapAction(10) functions), but mapguide zooms to a scale of 0.01 because the selection is a point. I need to zoom to a bigger scale. If I

[mapguide-users] Zoom to selection and set new scale

2007-10-22 Thread ruivilanova
Hi all, I'm selecting a point and then I zoom to it (with SetSelectionXML and ExecuteMapAction(10) functions), but mapguide zooms to a scale of 0.01 because the selection is a point. I need to zoom to a bigger scale. If I do the following code, it zooms to the center of the map before do Execut

Re: [mapguide-users] Zoom to selection

2007-09-21 Thread Kenneth, GEOGRAF A/S
*From:* [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] *On Behalf Of *Kenneth, GEOGRAF A/S *Sent:* 21 September 2007 10:46 *To:* MapGuide Users Mail List *Subject:* Re: [mapguide-users] Zoom to selection I have remarked that it is

RE: [mapguide-users] Zoom to selection

2007-09-21 Thread Campbell, Keith A
scale * It then calls the ZoomToView function Keith From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Kenneth, GEOGRAF A/S Sent: 21 September 2007 10:46 To: MapGuide Users Mail List Subject: Re: [mapguide-users] Zoom to selection I have remarked

Re: [mapguide-users] Zoom to selection

2007-09-21 Thread Kenneth, GEOGRAF A/S
, as opposed to display width (pixels). Keith *From:* [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] *On Behalf Of *Kenneth, GEOGRAF A/S *Sent:* 21 September 2007 09:09 *To:* MapGuide Users Mail List *Subject:* Re: [mapguide

RE: [mapguide-users] Zoom to selection

2007-09-21 Thread Campbell, Keith A
[mailto:[EMAIL PROTECTED] On Behalf Of Kenneth, GEOGRAF A/S Sent: 21 September 2007 09:09 To: MapGuide Users Mail List Subject: Re: [mapguide-users] Zoom to selection The only way I know of, is to issue a select of the objects on the datasource. While reading the objects, you can get their envelope (aka

Re: [mapguide-users] Zoom to selection

2007-09-21 Thread Zac Spitzer
checkout around line 109 in WebServerExtensions\www\schemareport\showgeom.php for a good example On 9/21/07, Kenneth, GEOGRAF A/S <[EMAIL PROTECTED]> wrote: > > The only way I know of, is to issue a select of the objects on the > datasource. > While reading the objects, you can get their envelop

RE: [mapguide-users] Zoom to selection

2007-09-21 Thread Ivan Milicevic
-users] Zoom to selection The only way I know of, is to issue a select of the objects on the datasource. While reading the objects, you can get their envelope (aka mbr, bbox, etc..). If you sum up alle the objects enevlopes, you can get the minimum rectangle in which all objects fit. Once you have

Re: [mapguide-users] Zoom to selection

2007-09-21 Thread Kenneth, GEOGRAF A/S
The only way I know of, is to issue a select of the objects on the datasource. While reading the objects, you can get their envelope (aka mbr, bbox, etc..). If you sum up alle the objects enevlopes, you can get the minimum rectangle in which all objects fit. Once you have this box, your center,

[mapguide-users] Zoom to selection

2007-09-21 Thread Ivan Milicevic
Hello, I wonder is it possible to calculate zoom extent on selected objects? For example, I have selected various type of objects (line, polygon, point) but I don't have any XY info in database on these objects. How can I calclate center point and scale in this case? Any help-advices are wel