Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiple markers added, after search not shown correctly #196

Open
GoogleCodeExporter opened this issue Mar 23, 2016 · 1 comment
Open

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. Add an JSF <h:inputText linked to a backing bean property searchString.
2. Add a JSF <h:commandButton "Find locations" to trigger the submit.
3. Add a <m:map and fill it with N markers that represent all the locations the 
backing bean has read from some database.
4. Enter some search string in the inputtext and press "Find locations".

What is the expected output? What do you see instead?
1. Expected output : the map should display the returned locations in their 
correct latitude and longitude coordinates.
2. Seen instead: Marker(s) returned are not shown in their correct latitude and 
longitud locations. It takes up to force some refresh of the map to show it 
correctly.  

Maybe it is something to do with JSF?  It has to do with gmaps4jsf? 
I don´t know and running out of ideas.

What version of the product are you using? On what operating system?
gmaps4jsf 3.0.0,  JSF 2.1    Windows 7

I have a simple mysql database with a table that holds locations with their 
respective latitude and longitud coordinates. What I am struggling to do is 
something pretty straightforward : on first load, the web app should display 
all the locations and then, allow users enter some search string and press 
"Find locations" and the map is refreshed to show only the locations returned 
by the search.

Thanks,

Find attached the index.xhtml of the app.  Tell me if you need me to attach the 
backing bean.

Original issue reported on code.google.com by [email protected] on 26 May 2013 at 11:16

Attachments:

@GoogleCodeExporter
Copy link
Author

I have the same issue.

Original comment by [email protected] on 5 Jan 2015 at 3:29

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant