[mapguide-users] Reload layer who are stored in database...afteradd new polygons.

Traian Stanev traian.stanev at autodesk.com
Tue Feb 6 10:18:24 EST 2007


Is your layer on a tiled base layer? The tiles that got generated for it
originally are not refreshed if the underlying data changes, since there
is no way for Mapguide to know that you updated the PostGIS database.
You will need to add a step to clear the tile cache for the layer that
was modified.

Traian
 

-----Original Message-----
From: mapguide-users-bounces at lists.osgeo.org
[mailto:mapguide-users-bounces at lists.osgeo.org] On Behalf Of Maciej
Skorczewski
Sent: Tuesday, February 06, 2007 9:30 AM
To: MapGuide Users Mail List
Subject: [mapguide-users] Reload layer who are stored in
database...afteradd new polygons.

Hi!

I store my layer in PostGis database, after add some new polygon to this
layer i insert to database new polygon (all is ok , whitout problem)

...but after that i can't reload layer - so user can't see what he add.

i use Ajax Viever whit Base layer and when i click zoom to view (who are
not cache by viewer) i see new object , but after zoom back it
disappear.

I use Reload() but it not working.


How can i reload,or refresh this layer?



I use:

MG 1.1.0
Ajax Viewer whit Base Layers
PostGIS in PostgreSQL 8.2


maciek
_______________________________________________
mapguide-users mailing list
mapguide-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users




More information about the mapguide-users mailing list