darshakshah1988 / gmaps4jsf

Automatically exported from code.google.com/p/gmaps4jsf
0 stars 1 forks source link

map setCenter() with icefaces paginator #84

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. I use Icefaces 1.8 with Eclipse, Tomcat Server, in my page I have a 
panelSeries with a dataPaginator and a googleMap
2. On mouse over on a div in my panelSeries I want to set the map center 
using the javascript function setCenter(GLatLng,zoom)
3. On the first page of the dataPaginator, the center is changed as I wish, 
but as soon as I click on the 2nd page of the dataPaginator, the js 
function still works (tested with alerts), but the map doesn't change on my 
page. And it stops working on every page, even the first one that used to 
work just fine. I figured it has something to do with the dataPaginator 
using ajax and the page not being recreated on click on another 
dataPaginator page because when I refresh the page it continues to work on 
the first dataPaginator page.  

What is the expected output? What do you see instead?
I want the map to recenter on every page of the dataPaginator.

What version of the product are you using? On what operating system?

Please provide any additional information below.

Original issue reported on code.google.com by test1.is...@gmail.com on 14 Nov 2009 at 12:07

GoogleCodeExporter commented 8 years ago

Original comment by Hazem.sa...@gmail.com on 2 Dec 2010 at 11:14

GoogleCodeExporter commented 8 years ago

Original comment by Hazem.sa...@gmail.com on 14 Mar 2013 at 12:10