[mapguide-users] Load Oracle data
padmini godavarthi
godavarthi.padmini at gmail.com
Tue Dec 9 00:19:27 EST 2008
Hi
iam using Mapguide opensource 2.0 (with .Net 2.0+IIS 5.1)
1) How to load map using oracle database dynamically
i got an answer that
In that case, you will do something different.
You need to setup the layer to display all points correctly.
Use Studio or Maestro to accomplish this.
When the user needs to view the layer, you do this:
1. Get a copy of the LayerDefinition
2. Modify the "FILTER" property of the LayerDefinition to display only the
required data, eg: "ID > 500 AND ID < 510".
3. Save the copy in the session repository under a random name.
4. Get the runtime map, and either
5a. Replace the resourceId of an existing layer with the one from step 3, or
5b. Insert a new layer into the runtime map, pointing to the temporary
layerdefinition from step 3
6. Make sure the layer from step 5 is visible
7. Save the modified runtime map
8. Refresh the client.
but can u plz send me the sample code for this so that it will be very
useful to me.
Regards,
Padmini
--
View this message in context: http://www.nabble.com/Load-Oracle-data-tp20908997p20908997.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
More information about the mapguide-users
mailing list