Take this piece of code: map.openInfoWindow(myMarker.getLatLng(), htmlNodes, {pixelOffset:new GSize(0,-33)});
That opens the infowindow zero pixels left and right of myMarker.getLatLng() and -33 down (or 33 pixels up) from myMarker.getLatLng(). [quote] Specifies a number of pixels in the up (x) and right (y) direction to move the infowindow away from the given GLatLng. [/quote] I think the documentation infers that the code would open the infowindow zero pixels up and -33 pixels right (33 pixels left) of myMarker.getLatLng()? Martin. On 25 Feb, 09:59, Pil <wolf...@gmail.com> wrote: > On Feb 25, 10:11 am, Martin <warwo...@gmail.com> wrote: > > > The GSize() offsets the anchor at which the infowindow is opened RIGHT > > (x) and DOWN (y) (from the given GLatLng()) i'm sure sounds better... > > Maybe, but GSize measures in pixels, and in your definition that > wouldn't be clear. > > "from the given GLatLng()" would rather suggsest that the measurement > has something to do with lats and longs which could lead to think in > the wrong direction. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Maps API" group. To post to this group, send email to Google-Maps-API@googlegroups.com To unsubscribe from this group, send email to google-maps-api+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Maps-API?hl=en -~----------~----~----~----~------~----~------~--~---