I'm uplifting an older MapSuite 2.X app to MapSuite 5.x and have I think a simple question. When the user selects File|New I need to clear any shapes that were drawn on the map. In MapSuite 2.X it was:
If you are using our MapShapeLayer and MapShape API in MapSuite 5.x, you can see the example below where I add two MapShapes to the map by adding to the MapShapeLayer and then clear the collection of MapShapes from the MapShapeLayer. Also, I recommend that you read the descrption of the sample MapShapes of the Code Community. It gives a good background to understand the history of MapShapes in MapSuite wiki.thinkgeo.com/wiki/Map_Suite_De...#MapShapes