I tried to move > this line into my createMap but it still gives me error.
not from the look of the code you are posting, you haven't. Have a look where your createMap function ends - after the map.setCenter line and before the search control function is called. We went through this before. all you need to do is move that } to after the lines that style the divs and then your map div will be created first and the control placed on top of it, like I already explained. if that doesn't work, post a link to the page you are working on -- You received this message because you are subscribed to the Google Groups "Google Maps API V2" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-maps-api?hl=en.
