Hi Larry, Actually they are not the same issue.
If you go to my link, you can understand what I mean. The bubble dialog box would always pop up at the left hand corner regardless where the marker is. Also the content of the message would be shown at the correct position, so it is like that the content is shown outside of the infowindow. But I have tried to run exactly the same code in google ajax playground by using the same browser MSIE8. It works perfectly. So I suspect there is something wrong with my page but I can't figure it out after checking for days. So hope that someone can help me on this. Thanks very much. Cheers, Chris On 4月14日, 上午1時58分, "[email protected]" <[email protected]> wrote: > On Apr 13, 9:25 am, chris3388 <[email protected]> wrote: > > > Hi, > > > I just tried to create a google map with some markers at random > > location on the map. I have boundinfowindowwith those markers. In > >internetexplorer8beta 1, it behaves normally when I firstly click > > on a maker, i.e. theinfowindowpop up normally. However, when I > > click on other markers then theinfowindowalways pop up on the top > > left hand corner but with the content position at the correct > > location, so the content is displayed outside of theinfowindow. > > Why are you reporting errors with MS beta test software? > > Is it this > issue?http://code.google.com/p/gmaps-api-issues/issues/detail?id=1055 > > -- Larry > > > > > > > But I have tried in firefox and google chrome, it just behaves > > normally even I click on every markers. > > > Actually I just use the sample codes from the playground. > > > function initialize() { > > if (GBrowserIsCompatible()) { > > var map = new GMap2(document.getElementById("map_canvas")); > > map.setCenter(new GLatLng(37.4419, -122.1419), 13); > > > // Add 10 markers to the map at random locations > > var bounds = map.getBounds(); > > var southWest = bounds.getSouthWest(); > > var northEast = bounds.getNorthEast(); > > var lngSpan = northEast.lng() - southWest.lng(); > > var latSpan = northEast.lat() - southWest.lat(); > > for (var i = 0; i < 10; i++) { > > var point = new GLatLng(southWest.lat() + latSpan * Math.random > > (), > > southWest.lng() + lngSpan * Math.random > > ()); > > var marker = new GMarker(point); > > marker.bindInfoWindow('hi hi'); > > map.addOverlay(marker); > > } > > } > > > } > > > this is the link to my application. http://www.chrislschan.com/ > > > Thanks. > > > Cheers, > > Chris --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Maps API" 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 -~----------~----~----~----~------~----~------~--~---
