places autocomplete

100 views
Skip to first unread message

Lukas Mairl

unread,
Nov 18, 2011, 5:48:53 PM11/18/11
to Google Maps JavaScript API v3
Hi,
im using the autocomplete example to do a places saerch.
when i resize the browser window the results (pac-container) is
misaligned.
is there a way to fix this?

thanks

pete

pete

unread,
Nov 20, 2011, 11:24:06 AM11/20/11
to google-map...@googlegroups.com
is it possible have two autocomplete fields on the page?
the results container alignment gets all messed up if i do that.

thanks


robert steburg

unread,
Nov 20, 2011, 4:01:56 PM11/20/11
to google-map...@googlegroups.com
Without seeing your code I can't tell you what your problem is, but I have multiple ones working on a project I am in the middle of.



--
You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-maps-js-api-v3/-/lI9npa6Q4nQJ.
To post to this group, send email to google-map...@googlegroups.com.
To unsubscribe from this group, send email to google-maps-js-a...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-maps-js-api-v3?hl=en.

pete

unread,
Nov 23, 2011, 9:28:46 AM11/23/11
to google-map...@googlegroups.com
if you look at this example: http://code.google.com/apis/maps/documentation/javascript/examples/places-autocomplete.html

1. center the input field and the map on the page (margin:0 auto;)
2. do a search and while the search results are open resize or scroll the window.
3.  the results container gets misaligned. the problem is that the pac container is positioned absolute and not relative to the parent (input field)

Reply all
Reply to author
Forward
0 new messages