[mapguide-users] RE: Event that captures mouse action

2010-04-07 Thread SriRam007
Hi, Actually I want to enable and disable all these functionality depends upon some conditions sometimes i want and somtimes I dont. According to u making layer non-selectable is done. One job is done but i am stuck for the others. I found one function function OnMouseWheel(event) which is

[mapguide-users] Layer properties problem

2010-04-07 Thread padmini godavarthi
Hi, iam doing zoom to feature (i mean if i select layername from dropdownlist the layer properties have to appear in 2nd dropdownlist.when i select one of layer property the propertyvalues have to display in 3rd dropdownlist)partially i succeeded.but iam unable to get the selected value of layer

[mapguide-users] Re: IE refresh issue

2010-04-07 Thread Tom Chadwin
Anyone? This is a pretty serious issue, as it leads to total misalignment of different map layers. I need to know if it is a problem at my end, and, if so, if there is anything I can do about it. So, again, can anyone else see this problem? Tom -- View this message in context:

[mapguide-users] Re: Layer properties problem

2010-04-07 Thread Tom Chadwin
Instead of your: alert(propertySelect.value); [it comes as the index value] try: alert(propertySelect[propertySelect.selectedIndex].value); Does that fix it? This is a Javascript issue, not a PHP one. Tom -- View this message in context:

[mapguide-users] Re: Modify mapdefinition in a layout

2010-04-07 Thread SriRam007
Hi euskalmap, I m trying to get the xml format of Mapdefinition. for pst_map and pst_weblayout parameter what u r passing pst_map = MapName?? (is it Sheboygan) pst_weblayout = WebLayoutName?? (is it SheboyganAsp) Here is my code

[mapguide-users] Re: Layer properties problem

2010-04-07 Thread padmini godavarthi
Hi, Thats what iam asking for php code After the layername dropdown list box there is some php code for setting the selected dropdown list select size=1 class=Ctrl id=layerSelect onChange=OnLayerChange() style=width: 100% ?php $selected = 'selected'; foreach($layerNames as $layerName =

[mapguide-users] Re: Viewer API GetLayer() and base layers

2010-04-07 Thread Tom Chadwin
I'm having difficulty getting this to work, and would appreciate any help on how to go about achieveing this. Our third-party base mapping is from multiple suppliers, and I need to display different combinations of these suppliers' licence statements according to which layers are currently

[mapguide-users] Re: Layer properties problem

2010-04-07 Thread Tom Chadwin
Perhaps view the source of the page, and post that here, just to make sure the right values are populating the form select drop-downs. Tom -- View this message in context: http://n2.nabble.com/Layer-properties-problem-tp4863462p4864331.html Sent from the MapGuide Users mailing list archive at

[mapguide-users] Re: Layer properties problem

2010-04-07 Thread Tom Chadwin
Is there a missing close PHP tag?: select size=1 class=Ctrl id=layerSelect onChange=OnLayerChange() style=width: 100% ?php $selected = 'selected'; foreach($layerNames as $layerName = $layerLabel) { ? !-- Was this close tag missing? -- option value=?= $layerName ? ?=$selected ? ?=

[mapguide-users] Re: Layer properties problem

2010-04-07 Thread Tom Chadwin
To get back to your original question, from what I can see, your code will set every option as selected. But which item do you want to be selected? That list is generated before any user interaction, so which option should be selected? Once the user chooses one option, you can get at it via:

[mapguide-users] Re: Layer properties problem

2010-04-07 Thread padmini godavarthi
Hi, Thanks for your reply. in propertySelect dropdown list i have the properties like FeatId,Parcel,Area etc. by putting alert(propertySelect[propertySelectselectedIndex].value) as told by your prev mail it gives me the numerical value of the selected index(for ex if i

[mapguide-users] Problem with Find Address

2010-04-07 Thread padmini godavarthi
Hi, iam just trying for the find address functionality in phpviewersample. while running it i got this warnings and nothing is displayed.. Warning: Call-time pass-by-reference has been deprecated; If you would like to pass it by reference, modify the declaration of xml_set_object(). If you

Re: [mapguide-users] Problem with Find Address

2010-04-07 Thread Zac Spitzer
did you try setting allow_call_time_pass_reference to true in your INI file ? On 8 April 2010 15:42, padmini godavarthi godavarthi.padm...@gmail.com wrote: Hi, iam just trying for the find address functionality in phpviewersample. while running it i got this warnings and nothing is

[mapguide-users] Re: Problem with Find Address

2010-04-07 Thread padmini godavarthi
Hi, Initially in php.in is set to allow_call_time_pass_referenc=off i changed to allow_call_time_pass_referenc=on is any other settings required? Regards, padmini G. -- View this message in context: http://n2.nabble.com/Problem-with-Find-Address-tp4869309p4869335.html Sent from the

Re: [mapguide-users] Re: Problem with Find Address

2010-04-07 Thread Zac Spitzer
well then you need to run the code again and see what happens... On 8 April 2010 15:54, padmini godavarthi godavarthi.padm...@gmail.com wrote: Hi, Initially in php.in  is set to allow_call_time_pass_referenc=off i changed to allow_call_time_pass_referenc=on is any other settings