Re: [mapguide-users] Making Temporary Markups

2007-10-30 Thread Kenneth, GEOGRAF A/S
When you save or access a resource, you use 
"Library:///.".
To make the resource temporary, use 
"Session:///.".


So, to modify the code, search for "Library://" and determine if that 
particular access is supposed to be temporary, and change as note above.


Regards, Kenneth, GEOGRAF A/S



Denis Lalonde skrev:


Is there sample code for creating map markups/redlining that are saved 
to the session only and not directly to the Library in Repositories?


 

Alternatively, can someone point me in the right direction as to what 
to change in the Shareable Markup Sample site ( 
http://data.mapguide.com/mapguide/gt/index.php) so that I can create a 
temporary layer rather than one of the permanent layers listed in the 
"Available Markup" combo-box?
 
Thanks



___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users
  
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


Re: [ZS1] Re: [mapguide-users] [ZS1] Drawing order of layers in a map

2007-10-30 Thread Kenneth, GEOGRAF A/S

Have you tried calling the "NeedsRefresh" property on the layer?


Im just guessing, but the AJAX viewer is probably creating a new session.
If this is correct, your map is not avalible from within the session 
created by the viewer.


Also, be aware that there are TWO types of maps, one called a 
"MapDefintion" which is XML based, and another called "Runtime Map" 
(sometime just "Map") which is binary.

You cannot use a Runtime map as a mapdefinition in the WebLayout.

Regards, Kenneth, GEOGRAF A/S



m.karam skrev:

thanks for your reply
I tried that ..
but sometimes, the features of the layer that i remove, don't appear unless
i refresh that layer from the legend


i tried another solution ..
to change the layers order in the map definition and save it in the session.
And also, update the web layout by changing the ResourceId of the map.
Now, I have a map definition and web layout in the session

but when i pass the new web layout to the viewer, it gives me an error
message:
"MgInvalidMapDefinitionException"

what will i do for this error?
Is that any error in the XML of the map definition?
please help ...
Karam



Kenneth, GEOGRAF A/S wrote:
  

Hmm, I see... For some reason this property is not avalible in the API.

You can remove it from the layers collection (code in C#):
MgMap map = ..;
MgMapLayerCollection col = map.GetLayers();
MgMapLayer layer= (MgMapLayer)col[0];
col.RemoveAt(0);
col.Insert(col.Count - 1, layer)
map.Save(...);

That will move the first layer down to the last position.



Regards, Kenneth, GEOGRAF A/S



m.karam skrev:


the layers don't have a "DisplayOrder" property...



Kenneth, GEOGRAF A/S wrote:
  
  

I belive that the layers have a "DisplayOrder" property.
So do:

1. Load runtime map
2. Change "DisplayOrder" property of layers
3. Save runtime map
4. Refresh client display

Regards, Kenneth, GEOGRAF A/S



m.karam skrev:



Hi everybody

I want to change the (Drawing Order) of the Map Layers at run-time
according
to a specific conditions
How can i do it?

Thanks in advance
Karam
  
  
  

___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users




  
  

___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users





  
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


[mapguide-users] Making Temporary Markups

2007-10-30 Thread Denis Lalonde
Is there sample code for creating map markups/redlining that are saved to
the session only and not directly to the Library in Repositories?


Alternatively, can someone point me in the right direction as to what to
change in the Shareable Markup Sample site (
http://data.mapguide.com/mapguide/gt/index.php) so that I can create a
temporary layer rather than one of the permanent layers listed in the
"Available Markup" combo-box?

Thanks
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


[mapguide-users] Issue: MapGuide Server configuration with multiple websites on W2K3

2007-10-30 Thread Kori Maleski
Hi all,

 

I have mapguide installed on a Windows 2003 server, configured with the
default website.

 

I have multiple websites with mapguide applications.

 

If one of these sites is accessed via its url, and the mapguide map is
referenced to the default website name/ip, mapguide functions fine, but the
application has issues with cross-site security and iframe content issues.

 

To avoid these issues, I would like the each website to have the mapguide
virtual directories configured so that each site is autonomous.

 

When testing this scenario, where:

 

mapguide is installed on the default website

mapguide is then identically configured on another website

an application using mapguide on the 2nd site is accessed by its
own website name/ip, and mapguide is referred to by that same website
name/ip

 

I am getting a suppressed mapguide error when the map is loading resulting
in a legend/statusbar etc being displayed properly, but the mapimage not
being returned.  With the DWF viewer I get a internal 403 error.

 

I can access the admin from this 2nd website

I can access and utilize the mapagent from this website - except the Launch
DWF/AJAX viewer results in the same errors as above.

 

 

Is there anyone who has had this issue?  Has anybody successfully configured
a multiple site server in this manner?

 

 

Cheers,

 

 

 

  _  


  

  

  

Kori Maleski

Senior Application Developer

WEBSOFT DEVELOPERS, INC.

P: (530) 759-8754 ext 114

F: (530) 759-0923

[EMAIL PROTECTED]

  _  

 

 

<>___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


Re: [mapguide-users] [ZS1] Drawing order of layers in a map

2007-10-30 Thread m.karam

thanks for your reply
I tried that ..
but sometimes, the features of the layer that i remove, don't appear unless
i refresh that layer from the legend


i tried another solution ..
to change the layers order in the map definition and save it in the session.
And also, update the web layout by changing the ResourceId of the map.
Now, I have a map definition and web layout in the session

but when i pass the new web layout to the viewer, it gives me an error
message:
"MgInvalidMapDefinitionException"

what will i do for this error?
Is that any error in the XML of the map definition?
please help ...
Karam



Kenneth, GEOGRAF A/S wrote:
> 
> Hmm, I see... For some reason this property is not avalible in the API.
> 
> You can remove it from the layers collection (code in C#):
> MgMap map = ..;
> MgMapLayerCollection col = map.GetLayers();
> MgMapLayer layer= (MgMapLayer)col[0];
> col.RemoveAt(0);
> col.Insert(col.Count - 1, layer)
> map.Save(...);
> 
> That will move the first layer down to the last position.
> 
> 
> 
> Regards, Kenneth, GEOGRAF A/S
> 
> 
> 
> m.karam skrev:
>> the layers don't have a "DisplayOrder" property...
>>
>>
>>
>> Kenneth, GEOGRAF A/S wrote:
>>   
>>> I belive that the layers have a "DisplayOrder" property.
>>> So do:
>>>
>>> 1. Load runtime map
>>> 2. Change "DisplayOrder" property of layers
>>> 3. Save runtime map
>>> 4. Refresh client display
>>>
>>> Regards, Kenneth, GEOGRAF A/S
>>>
>>>
>>>
>>> m.karam skrev:
>>> 
 Hi everybody

 I want to change the (Drawing Order) of the Map Layers at run-time
 according
 to a specific conditions
 How can i do it?

 Thanks in advance
 Karam
   
   
>>> ___
>>> mapguide-users mailing list
>>> mapguide-users@lists.osgeo.org
>>> http://lists.osgeo.org/mailman/listinfo/mapguide-users
>>>
>>>
>>> 
>>
>>   
> 
> ___
> mapguide-users mailing list
> mapguide-users@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-users
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Drawing-order-of-layers-in-a-map-tf4717405s16610.html#a13501182
Sent from the MapGuide Users mailing list archive at Nabble.com.

___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


RE: [mapguide-users] Fluctuating Cursor Accuracy

2007-10-30 Thread Jackie Ng

We get this problem sometimes, the whitespace causes displacement of the map,
throwing off the accuracy of the selection tools.

If you resize any part of the ajax viewer that would cause a resize of the
map pane, the whitespace will disappear and your selection accuracy should
be restored.

- Jackie


joecm wrote:
> 
> Yes there is. 
> 
> -joe
> 
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Jackie Ng
> Sent: Tuesday, October 30, 2007 3:54 PM
> To: mapguide-users@lists.osgeo.org
> Subject: Re: [mapguide-users] Fluctuating Cursor Accuracy
> 
> 
> Is there whitespace at the top of your AJAX viewer? (below the toolbar)
> 
> - Jackie
> 
> 
> joecm wrote:
>> 
>> When using an AJAX map, cursor is not always aligned properly.  
>> 
>>  
>> 
>> For example,  if I go to select a polygon, sometimes the polygon on
> the
>> tail or middle of the cursor is selected, instead of the point of the
>> cursor.It seems to vary each time I load the page, sometimes it is
>> correct, other times it is not.  This is very confusing to users who
>> think they are clicking on one polygon and actually clicking on
> another.
>> 
>>  
>> 
>> Has anyone else encountered this problem, or even better, found a fix?
>> 
>>  
>> 
>> Thanks
>> 
>> 
>> ___
>> mapguide-users mailing list
>> mapguide-users@lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/mapguide-users
>> 
>> 
> 
> -- 
> View this message in context:
> http://www.nabble.com/Best-method-to-use-dwg-files-tf4719897s16610.html#
> a13499525
> Sent from the MapGuide Users mailing list archive at Nabble.com.
> 
> ___
> mapguide-users mailing list
> mapguide-users@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-users
> ___
> mapguide-users mailing list
> mapguide-users@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-users
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Best-method-to-use-dwg-files-tf4719897s16610.html#a13500077
Sent from the MapGuide Users mailing list archive at Nabble.com.

___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


RE: [mapguide-users] Fluctuating Cursor Accuracy

2007-10-30 Thread IT-Joe Marvin
Jackie,

After doing a bit more testing, the white space is the exact size of the
offset of the cursor.  The question is then, how can I prevent, or
detect this white space?

-joe

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of IT-Joe
Marvin
Sent: Tuesday, October 30, 2007 4:00 PM
To: MapGuide Users Mail List
Subject: RE: [mapguide-users] Fluctuating Cursor Accuracy

Yes there is. 

-joe

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jackie Ng
Sent: Tuesday, October 30, 2007 3:54 PM
To: mapguide-users@lists.osgeo.org
Subject: Re: [mapguide-users] Fluctuating Cursor Accuracy


Is there whitespace at the top of your AJAX viewer? (below the toolbar)

- Jackie


joecm wrote:
> 
> When using an AJAX map, cursor is not always aligned properly.  
> 
>  
> 
> For example,  if I go to select a polygon, sometimes the polygon on
the
> tail or middle of the cursor is selected, instead of the point of the
> cursor.It seems to vary each time I load the page, sometimes it is
> correct, other times it is not.  This is very confusing to users who
> think they are clicking on one polygon and actually clicking on
another.
> 
>  
> 
> Has anyone else encountered this problem, or even better, found a fix?
> 
>  
> 
> Thanks
> 
> 
> ___
> mapguide-users mailing list
> mapguide-users@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-users
> 
> 

-- 
View this message in context:
http://www.nabble.com/Best-method-to-use-dwg-files-tf4719897s16610.html#
a13499525
Sent from the MapGuide Users mailing list archive at Nabble.com.

___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


RE: [mapguide-users] Fluctuating Cursor Accuracy

2007-10-30 Thread IT-Joe Marvin
Yes there is. 

-joe

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jackie Ng
Sent: Tuesday, October 30, 2007 3:54 PM
To: mapguide-users@lists.osgeo.org
Subject: Re: [mapguide-users] Fluctuating Cursor Accuracy


Is there whitespace at the top of your AJAX viewer? (below the toolbar)

- Jackie


joecm wrote:
> 
> When using an AJAX map, cursor is not always aligned properly.  
> 
>  
> 
> For example,  if I go to select a polygon, sometimes the polygon on
the
> tail or middle of the cursor is selected, instead of the point of the
> cursor.It seems to vary each time I load the page, sometimes it is
> correct, other times it is not.  This is very confusing to users who
> think they are clicking on one polygon and actually clicking on
another.
> 
>  
> 
> Has anyone else encountered this problem, or even better, found a fix?
> 
>  
> 
> Thanks
> 
> 
> ___
> mapguide-users mailing list
> mapguide-users@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-users
> 
> 

-- 
View this message in context:
http://www.nabble.com/Best-method-to-use-dwg-files-tf4719897s16610.html#
a13499525
Sent from the MapGuide Users mailing list archive at Nabble.com.

___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


Re: [mapguide-users] Fluctuating Cursor Accuracy

2007-10-30 Thread Jackie Ng

Is there whitespace at the top of your AJAX viewer? (below the toolbar)

- Jackie


joecm wrote:
> 
> When using an AJAX map, cursor is not always aligned properly.  
> 
>  
> 
> For example,  if I go to select a polygon, sometimes the polygon on the
> tail or middle of the cursor is selected, instead of the point of the
> cursor.It seems to vary each time I load the page, sometimes it is
> correct, other times it is not.  This is very confusing to users who
> think they are clicking on one polygon and actually clicking on another.
> 
>  
> 
> Has anyone else encountered this problem, or even better, found a fix?
> 
>  
> 
> Thanks
> 
> 
> ___
> mapguide-users mailing list
> mapguide-users@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-users
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Best-method-to-use-dwg-files-tf4719897s16610.html#a13499525
Sent from the MapGuide Users mailing list archive at Nabble.com.

___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


RE: [mapguide-users] Fluctuating Cursor Accuracy

2007-10-30 Thread Traian Stanev
 

It is likely (incorrectly) treating the remaining rings of the polygon
as holes and the intersection check fails for them. This instersection
check is done by the FDO provider, so it would be the SHP FDO provider
that is doing intersection wrong. One thing you could try - convert your
SHP to SDF and see if it still fails. SDF uses the same code for
intersection, but may be the geometry will be converted to the right
kind of multi-polygon during the conversion step. I know... this sounds
more like a cooking recipe than a fix, but it may help.

 

Traian

 

 

 

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Ryan
Northcott
Sent: Tuesday, October 30, 2007 4:35 PM
To: MapGuide Users Mail List
Subject: Re: [mapguide-users] Fluctuating Cursor Accuracy

 

I've noticed this as well, and it appears to be just the way the
mapframe reads your x,y location. So the further zoomed out your scale
is, the harder to precision grab the x,y.

 

Now for the fun stuff. I create shapefiles out of ArcView 3.2 that are
multi-part polygons. (So two or more seperate polygons for one feature),
and it would appear, that you can't select, or Task-panel click on the
multi-part polygons other than the first one in the feature, to get a
selection. 

 

For example, a multi-part polygon with a 0.25 Acre triangle corner
polygon on the other side of a road, and a 100 Acre square polygon, if
the the 0.25 acre sized polygon has it's vertices index first, you can
only hit that small polygon in order to pull the attributes of the
feature. Clicking on the Larger 100 Acres polygon doesn't create a hit. 

 


 
 

On 10/30/07, IT-Joe Marvin <[EMAIL PROTECTED]> wrote: 

When using an AJAX map, cursor is not always aligned properly.  

 

For example,  if I go to select a polygon, sometimes the polygon on the
tail or middle of the cursor is selected, instead of the point of the
cursor.It seems to vary each time I load the page, sometimes it is
correct, other times it is not.  This is very confusing to users who
think they are clicking on one polygon and actually clicking on another.


 

Has anyone else encountered this problem, or even better, found a fix?

 

Thanks


___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users 

 

___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


Re: [mapguide-users] Fluctuating Cursor Accuracy

2007-10-30 Thread Ryan Northcott
I've noticed this as well, and it appears to be just the way the mapframe
reads your x,y location. So the further zoomed out your scale is, the harder
to precision grab the x,y.

Now for the fun stuff. I create shapefiles out of ArcView 3.2 that are
multi-part polygons. (So two or more seperate polygons for one feature), and
it would appear, that you can't select, or Task-panel click on the
multi-part polygons other than the first one in the feature, to get a
selection.

For example, a multi-part polygon with a 0.25 Acre triangle corner polygon
on the other side of a road, and a 100 Acre square polygon, if the the
0.25acre sized polygon has it's vertices index first, you can only hit
that
small polygon in order to pull the attributes of the feature. Clicking on
the Larger 100 Acres polygon doesn't create a hit.




On 10/30/07, IT-Joe Marvin <[EMAIL PROTECTED]> wrote:
>
>  When using an AJAX map, cursor is not always aligned properly.
>
>
>
> For example,  if I go to select a polygon, sometimes the polygon on the
> tail or middle of the cursor is selected, instead of the point of the
> cursor.It seems to vary each time I load the page, sometimes it is
> correct, other times it is not.  This is very confusing to users who think
> they are clicking on one polygon and actually clicking on another.
>
>
>
> Has anyone else encountered this problem, or even better, found a fix?
>
>
>
> Thanks
>
> ___
> mapguide-users mailing list
> mapguide-users@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-users
>
>
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


[mapguide-users] Fluctuating Cursor Accuracy

2007-10-30 Thread IT-Joe Marvin
When using an AJAX map, cursor is not always aligned properly.  

 

For example,  if I go to select a polygon, sometimes the polygon on the
tail or middle of the cursor is selected, instead of the point of the
cursor.It seems to vary each time I load the page, sometimes it is
correct, other times it is not.  This is very confusing to users who
think they are clicking on one polygon and actually clicking on another.

 

Has anyone else encountered this problem, or even better, found a fix?

 

Thanks

___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


[mapguide-users] Best method to use dwg files

2007-10-30 Thread Marty Coonrod
I have a lot of maps (approx 10,000) that were created in AutoCAD. The
dimensions are 3000' x 2000' and were created using USGS base. I would like
to bring all of this data into Mapguide and was wondering what the best
approach would be. I have AutoCAD, AutoCAD Map 3D, Mapguide studio to use. I
am just not sure if I should create larger files or try to move some of the
data to a database. 
I would still like to edit the maps and update the server when necessary. 

Marty

___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


Re: [mapguide-users] Postgis, OGR and GDAL and empty Feature Class

2007-10-30 Thread Jose Manuel C G

Solved. The problem is an incompatibility with the FDO. 

I recommended to change the \mapguide\fdo with new providers,... but keep
and don't touch the original \Autodesk\MapGuideStudio2007\FDO\

I want to test it with more detail...

so to be continue...


Jose Manuel C G wrote:
> 
> Well, This is the stage: MapguideOS 1.2, FDO 3.2.3, Postgis 1.3.1.
> 
> I've tried postgis, ogr and gdal providers, and I get the data source, and
> the test connection is ok, but when I add a new layer > open the data
> source, the feature class is empty with a warning:
> 
> "The feature class is invalid. Fields below..."
> 
> What's wrong?
> 

-- 
View this message in context: 
http://www.nabble.com/Postgis%2C-OGR-and-GDAL-and-empty-Feature-Class-tf4711201s16610.html#a13491274
Sent from the MapGuide Users mailing list archive at Nabble.com.

___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


RE: [mapguide-users] Raster catalog

2007-10-30 Thread mates

I use that skript but the result is only a simple Featuresource ..


OSGeo.Gdal

DefaultRasterFileLocation
D:\raster\

ConfigurationDocument



I miss a list of image files and their lower-left and upper-right
coordinates, tile-enabled data and a definition of a coordinate system.
Maybe i don't understand very well how it works.
Can you give me a step by step instructions please.
Thank's alot..






-- 
View this message in context: 
http://www.nabble.com/Raster-catalog-tf4708055s16610.html#a13489650
Sent from the MapGuide Users mailing list archive at Nabble.com.

___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


Re: [mapguide-users] Invoke URL in MapGuide Studio

2007-10-30 Thread Andrew DeMerchant




In Studio, check the "Additional Parameters" for the Invoke URL
command...it's on the same tab as where you enter your url. Do you have
both of those layers entered in the "use only these layers" field?

Andrew


alba wrote:

  Hi all, 

in MapGuide Studio I have a URL to invoke as: 

http://www.nabble.com/file/p13483981/invoke.jpg 

when I use one layer ex. MONUMENTI the command is abled when I select a
object on layer MOMUNEMTI, 
but I use two layers, as image, the command is disabled when I select a
object on layer MOMUNEMTI or ZONE DI PIANO. 
why? 
thank Alba
  


-- 

  

  
   
  
  Andrew DeMerchant
   Computer Technologist
  ph.1-877-2GEMTEC x.163
fax 506-453-9470
   
  GEMTEC Limited
  191 Doak
Road
  Fredericton,
NB, Canada
   E3C 2E6
  

  




___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


Re: [ZS1] Re: [mapguide-users] [ZS1] Drawing order of layers in a map

2007-10-30 Thread Kenneth, GEOGRAF A/S

Hmm, I see... For some reason this property is not avalible in the API.

You can remove it from the layers collection (code in C#):
MgMap map = ..;
MgMapLayerCollection col = map.GetLayers();
MgMapLayer layer= (MgMapLayer)col[0];
col.RemoveAt(0);
col.Insert(col.Count - 1, layer)
map.Save(...);

That will move the first layer down to the last position.



Regards, Kenneth, GEOGRAF A/S



m.karam skrev:

the layers don't have a "DisplayOrder" property...



Kenneth, GEOGRAF A/S wrote:
  

I belive that the layers have a "DisplayOrder" property.
So do:

1. Load runtime map
2. Change "DisplayOrder" property of layers
3. Save runtime map
4. Refresh client display

Regards, Kenneth, GEOGRAF A/S



m.karam skrev:


Hi everybody

I want to change the (Drawing Order) of the Map Layers at run-time
according
to a specific conditions
How can i do it?

Thanks in advance
Karam
  
  

___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users





  
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


Re: [mapguide-users] [ZS1] Drawing order of layers in a map

2007-10-30 Thread m.karam

the layers don't have a "DisplayOrder" property...



Kenneth, GEOGRAF A/S wrote:
> 
> I belive that the layers have a "DisplayOrder" property.
> So do:
> 
> 1. Load runtime map
> 2. Change "DisplayOrder" property of layers
> 3. Save runtime map
> 4. Refresh client display
> 
> Regards, Kenneth, GEOGRAF A/S
> 
> 
> 
> m.karam skrev:
>> Hi everybody
>>
>> I want to change the (Drawing Order) of the Map Layers at run-time
>> according
>> to a specific conditions
>> How can i do it?
>>
>> Thanks in advance
>> Karam
>>   
> ___
> mapguide-users mailing list
> mapguide-users@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-users
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Drawing-order-of-layers-in-a-map-tf4717405s16610.html#a13486671
Sent from the MapGuide Users mailing list archive at Nabble.com.

___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


Re: [mapguide-users] restrictions for LayerDefinition

2007-10-30 Thread Kenneth, GEOGRAF A/S
Ok, I don't know where to find their definition.
You could check the dropdown :D

There are a bunch of images included in the WebStudio project that shows
samples of all the avalible line and fill styles.
That is probably the easiest way to get them.

Regards, Kenneth, GEOGRAF A/S



Takashige Nakagawa skrev:
> Hi, Kenneth.
>
> I don't want to change any restrictions.
> I'm writing a manual on LayerDefinition for my client, so I need to
> know the values which are supposed for LineStyle(such as Solid, Dash,
> Dot...) and FillPattern(Solid, Net, Net_45...).
> Do I have to check the Mapguide Studio's DropDownList? : )
>
> Regards
>
> Takashige
>
>> I belive that you may also use a font or a symbol as the ShapeType.
>> I'm not sure if it is desireable to create a restriction that also
>> allows those elements.
>>
>> Regards, Kenneth, GEOGRAF A/S
>
> ___
> mapguide-users mailing list
> mapguide-users@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-users
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


Re: [ZS1] [mapguide-users] Drawing order of layers in a map

2007-10-30 Thread Kenneth, GEOGRAF A/S

I belive that the layers have a "DisplayOrder" property.
So do:

1. Load runtime map
2. Change "DisplayOrder" property of layers
3. Save runtime map
4. Refresh client display

Regards, Kenneth, GEOGRAF A/S



m.karam skrev:

Hi everybody

I want to change the (Drawing Order) of the Map Layers at run-time according
to a specific conditions
How can i do it?

Thanks in advance
Karam
  

___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


Re: [mapguide-users] a newbie important question?

2007-10-30 Thread Kenneth, GEOGRAF A/S

You can use WebStudio, and it is Open Source.
MapGuide OS is also Open Source.
You can download all the source from osgeo.

Unfortunately, since all is given away for free, some areas are lacking.
WebStudio is missing some funtionality, because the community has not 
yet prioritized further development of that application.
AFAIK, the biggest problem with WebStudio is the missing WebLayout 
functionality, which makes it difficult to produce a working solution.
You may use the HTTP interface, and read/write the WebLayout xml files 
yourself, but it is very tedious.


If you need more than WebStudio currently provides, you must develop it 
yourself (or make some do it for you).
Another (and perhaps more realistic) approach is to purchase Autodesk 
MapGuide Studio.
It is closed source and not free in any way, but it does allow you to 
manage MapGuide Open Source, and it supports Load Procedures for shapefiles.
Autodesk Map 3D does also interact with the MapGuide server, but I am 
unsure how much of the setup you can perform from Map 3D.


If you just want to use shape files, have a look at the OGR provider, I 
belive it supports ESRI shapefiles.


Regards, Kenneth, GEOGRAF A/S


Saka Royban skrev:

Hi all.
It's around 3 weeks i've transferred to MGOS. but it sounds it is not 
completely open source (free).
for example, how can i make maps and load my shapefiles to internet 
and do any needed editting on them WITHOUT using any commercial 
software? someone told me i need to purchase MapGuide Web Studio
anyway, i thought that i found a clear way to build my own WebGIS site 
but maybe i'm wrong.
(as another question, i have Autocad map 3D. Does it help in WebGIS 
creation? )
 
Best Regards


__
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com


___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users
  
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


[mapguide-users] a newbie important question?

2007-10-30 Thread Saka Royban
Hi all.
It's around 3 weeks i've transferred to MGOS. but it sounds it is not 
completely open source (free).
for example, how can i make maps and load my shapefiles to internet and do any 
needed editting on them WITHOUT using any commercial software? someone told me 
i need to purchase MapGuide Web Studio
anyway, i thought that i found a clear way to build my own WebGIS site but 
maybe i'm wrong.
(as another question, i have Autocad map 3D. Does it help in WebGIS creation? )

Best Regards

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com ___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


[mapguide-users] Drawing order of layers in a map

2007-10-30 Thread m.karam

Hi everybody

I want to change the (Drawing Order) of the Map Layers at run-time according
to a specific conditions
How can i do it?

Thanks in advance
Karam
-- 
View this message in context: 
http://www.nabble.com/Drawing-order-of-layers-in-a-map-tf4717405s16610.html#a13485333
Sent from the MapGuide Users mailing list archive at Nabble.com.

___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


[mapguide-users] Problem with DWF Viewer

2007-10-30 Thread m.karam

Hi Everybody 

I have a problem when I use the DWF Viewer in MGOS 1.2 :
While the (dwfviewer.aspx) is loading, a big white box appear in the
left-top corner of the page and disappear after the page loading has
finisfed

Any ideas please..

thanks in advance
Karam
-- 
View this message in context: 
http://www.nabble.com/Problem-with-DWF-Viewer-tf4717401s16610.html#a13485328
Sent from the MapGuide Users mailing list archive at Nabble.com.

___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


Re: [mapguide-users] restrictions for LayerDefinition

2007-10-30 Thread Takashige Nakagawa

Hi, Kenneth.

I don't want to change any restrictions.
I'm writing a manual on LayerDefinition for my client, so I need to know the 
values which are supposed for LineStyle(such as Solid, Dash, Dot...) and 
FillPattern(Solid, Net, Net_45...).

Do I have to check the Mapguide Studio's DropDownList? : )

Regards

Takashige


I belive that you may also use a font or a symbol as the ShapeType.
I'm not sure if it is desireable to create a restriction that also
allows those elements.

Regards, Kenneth, GEOGRAF A/S


___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


[mapguide-users] Invoke URL in MapGuide Studio

2007-10-30 Thread alba

Hi all, 

in MapGuide Studio I have a URL to invoke as: 

http://www.nabble.com/file/p13483981/invoke.jpg 

when I use one layer ex. MONUMENTI the command is abled when I select a
object on layer MOMUNEMTI, 
but I use two layers, as image, the command is disabled when I select a
object on layer MOMUNEMTI or ZONE DI PIANO. 
why? 
thank Alba
-- 
View this message in context: 
http://www.nabble.com/Invoke-URL-in-MapGuide-Studio-tf4716964s16610.html#a13483981
Sent from the MapGuide Users mailing list archive at Nabble.com.

___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users