[mapguide-users] Re: How to get MgPoint from MgGeometry?

2010-05-12 Thread Jackie Ng

MgPoint derives from MgGeometry. Just cast it, but you should check that
GetGeometryType() == MgGeometryType.Point

- Jackie
-- 
View this message in context: 
http://osgeo-org.1803224.n2.nabble.com/How-to-get-MgPoint-from-MgGeometry-tp5044347p5044706.html
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] How to get selection with fusion??

2010-05-12 Thread lzzgeo

   I am using MGOS 2.1 with fusion, I just want to get the information about
selction through the map. 
   there are some source code in the following.



Fusion.registerForEvent(Fusion.Event.FUSION_INITIALIZED,
fusionInitialized);
Fusion.registerForEvent(Fusion.Event.FUSION_ERROR, fusionError);
Fusion.initialize();


var themap;
var fusionInitialized = function() {
$('AppContainer').resize({forceResize: true});

 themap = Fusion.getWidgetById('Map');
 themap.registerForEvent(Fusion.Event.MAP_SELECTION_ON, selectionOn);
}


var selectionOn = function()
{
 themap.getSelection(displaySelection);
}

function displaySelection(res){
var nums =res.getNumLayers();
alert(nums);
}

but, I get the message "getNumLayers() is not defined". why??
Is there something wrong?

-- 
View this message in context: 
http://osgeo-org.1803224.n2.nabble.com/How-to-get-selection-with-fusion-tp5044598p5044598.html
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] Mapguide in cloud ...(Amazon EC2)

2010-05-12 Thread Tony

Hi any one tried mapguide in cloud computing . i am thinking of testing it
just wanted to see if anyone has ideas 

tony
-- 
View this message in context: 
http://osgeo-org.1803224.n2.nabble.com/Mapguide-in-cloud-Amazon-EC2-tp5043439p5043439.html
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] Re: create redline line and polygon using king fdo and MGOS

2010-05-12 Thread Tony

Haris 
great, i also want to create a polygon and line which i can directly save in
oracle and  view in mapguide as  anyone can do with SDF, is it possible. I
tried most of your site and blogs on google did not got any answer for that.
please let me know if you have any handy code or solution for creating the
polygon or line in oracle using mge and king FDO. 

by the way we are wating for 3.5 FDO , please let us know when you are
rolling those  out 

Tony
-- 
View this message in context: 
http://osgeo-org.1803224.n2.nabble.com/create-redline-line-and-polygon-using-king-fdo-and-MGOS-tp5039612p5043345.html
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] MapGuide Enterprise 2010 and MapGuide Opensource 2.1

2010-05-12 Thread wordsy

Hi Everyone;

Thanks in advance for any help in this matter.  

I am trying to get MGE 2010 and MGOS 2.1 working on the same server.  The
Server is Windows Server 2003.  My client has their own software that runs
on MGE, and the software I have is written specifically  for MGOS 2.1.  They
both install nicely onto the server, but when I use Maestro to administer
them, it seems that they edit only one repository (mgos).  Coincidently,
MGOS was installed 2nd.

Both instances were installed using IIS, both had different Virtual
Directory names, and both use different ports.  From my understanding, they
should work in parallel on the same machine.  I am also using the .NET
viewer for both.

Any advice?
-- 
View this message in context: 
http://osgeo-org.1803224.n2.nabble.com/MapGuide-Enterprise-2010-and-MapGuide-Opensource-2-1-tp5042621p5042621.html
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] create redline line and polygon using king fdo and MGOS

2010-05-12 Thread Haris Kurtagic
King.Oracle supports FDO CreateSchema command ( which will create tables in
database).

Haris

On Wed, May 12, 2010 at 7:25 AM, Zac Spitzer  wrote:

> you will need to create the tables yourself using the normal
> oracle tools, once they exist you can read and write to them
> as with SDF
>
> Only SDF and SQLLITE providers support creating feature classes ( aka
> tables)
>
> On 12 May 2010 15:23, Tony  wrote:
> >
> > i have a app where i am creating the redline polygons and lines  and
> writing
> > it to SDF files.
> > is there any way i can create oracle features using MGOS and king FDO.
> > i trying creating features using FDO (same logic as SDF) it did not work
> > any one has any solution out  there.
> >
> > thanks
> > Tony
> > --
> > View this message in context:
> http://osgeo-org.1803224.n2.nabble.com/create-redline-line-and-polygon-using-king-fdo-and-MGOS-tp5039612p5039612.html
> > 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
> >
>
>
>
> --
> Zac Spitzer
> Solution Architect / Director
> Ennoble Consultancy Australia
> http://www.ennoble.com.au
> http://zacster.blogspot.com
> +61 405 847 168
> ___
> 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