Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

did anyone try rerendering OpenLayers in JSF2? I am using a4j:ajax events, I mark the render atribute with render="map" where map is naturally the id of the openlayers div tag, and I use oncompleate="init()" method to reload the background data. And it works apart from the fact that the ''old' map stays in place and the 'new' one is displayed belove. If I use the rerender event again (i.e. changing some JSF components like selectOneMenu) than a 3rd map is added to the bottom, and so on and so on...

does any one know a ways to fix this?

share|improve this question

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.