Re: [mapguide-users] Unique Identify for Feature

2009-05-05 Thread flakesns
i use this code-- $queryOptions-SetFilter($selectionString); $featureReader = $featureService-SelectFeatures($layerFeatureResource, $layerClassName, $queryOptions); $idProp = $featureReader-GetClassDefinition()-GetIdentityProperties(); $propCount = $idProp-GetCount(); for($j=0;

Re: [mapguide-users] ExecuteSqlQuery Not Working

2009-03-15 Thread flakesns
. You have to use MgFeatureQueryOptions to do your queries. - Jackie flakesns wrote: I got problem here. here is my code (php): $layerFeatureResource = new MgResourceIdentifier($layerFeatureId); $sql = select road_name from roadTable where featId = 2; $sqlDataReader

Re: [mapguide-users] ExecuteSqlQuery Not Working

2009-03-15 Thread flakesns
It's OK.. i'm got the solution. thanks. flakesns wrote: I use MgFeatureQueryOptions now. The question how to select distinct the property value from the dbf file? $queryOptions = new MgFeatureQueryOptions(); $queryOptions-AddFeatureProperty(CATEGORY); //$queryOptions

[mapguide-users] ExecuteSqlQuery Not Working

2009-03-13 Thread flakesns
I got problem here. here is my code (php): $layerFeatureResource = new MgResourceIdentifier($layerFeatureId); $sql = select road_name from roadTable where featId = 2; $sqlDataReader = $featureService-ExecuteSqlQuery($layerFeatureResource, $sql); It's return me : The requested operation is

[mapguide-users] Is MGE accessible by mobile

2009-03-05 Thread flakesns
I plan to develop mge application and publish it in my server. The question now is it accessible or can browse the map using PDA or any mobile devices? Is the mobile web browser support the viewer? Is opera mini support for viewing? -- View this message in context:

[mapguide-users] RE: Mouse cursor in Ajax viewer

2007-09-18 Thread flakesns
semicolons at the line ends in the case statements and also in the changeIcon(action) call but no joy. Maybe a version thing. Keith -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of flakesns Sent: 18 September 2007 02:17 To: mapguide-users

Re: [mapguide-users] Mouse cursor in Ajax viewer

2007-09-17 Thread flakesns
Hi, i'm using MG 1.2RC in windows XP. My solution based on Jackie Ng great code. Open toolbar.templ in viewerfiles folder. Add this code: function changeIcon(action){ var cururl = http://localhost/mapguide/stdicons/;; var map = parent.mapFrame.document.getElementById(map);