[mapguide-users] Point added --appears only after any action

Kenneth Skovhede, GEOGRAF A/S ks at geograf.dk
Wed Jun 10 03:33:26 EDT 2009

The runtime map (which is shown in a session) is a binary copy of the 
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

More information about the mapguide-users mailing list