|
From: Jon B. <jon...@go...> - 2011-09-30 15:43:28
|
Hi,
I need to be able to switch between different projections. I thought the
simplest way to do this would be to remove the current map from it's
container and add a new one. However, when I add the new map it doesn't get
displayed. Essentially what I'm doing is this (I'm using SmartGWT, mapPanel
is a HLayout):
MapWidget newMap = createMap("EPSG:4326");
mapWidget.removeFromParent();
mapPanel.addMember(newMap);
Any ideas why my new map isn't displaying?
Thanks.
Jon
|