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
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
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:
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
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
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
...@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
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
-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
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
>
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
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
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
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
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();
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
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
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)
{
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
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
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
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.
>
>
>
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
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?
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
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
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
*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
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
, 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
[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
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
-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
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,
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
35 matches
Mail list logo