The runtime map (which is shown in a session) is a binary copy of the MapDefinition. So, if you change the MapDefinition, the change will not be reflected in the current session,
but any new sessions will have the change.
You can add the layer to both the runtime map and MapDefinition to get both effects
if you like.

Note that after any change to a featuresource, layerdefinition, selection or the runtime map you have to refresh the map, either by zooming, panning, etc. or by calling map.Refresh() on the client.
This point is explained in the developer guide.

Regards, Kenneth Skovhede, GEOGRAF A/S



sathishpsk9 skrev:
HI all,
       I succussfully added a point the map.... it doesnot show up until i
perform any action such scroll or click etc....... Following are the step to
achieve this ..
    1.i get point from onDigitiizeLine()
    2. i send them to server
    3. there i create a point feature source and create layer definition
based on  point feature source
4.now i add this layer to the current map and save it 5.now the point doesnot show until any user action other page refresh

any suggestions ...........

thanks & reagrds
Satish
_______________________________________________
mapguide-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapguide-users

Reply via email to