On Wed, May 26, 2010 at 3:53 PM, Pil <[email protected]> wrote: > > > On May 26, 3:29 am, Ben Appleton <[email protected]> wrote: > > > > > Why don't you just listen to Map event "mousemove"? That returns the > > LatLng, which seems simpler than adding a dummy OverlayView only to > access > > the projection. > > I just want a static screen overlay (in v2 GScreenOverlay) that > doesn't move with the map or the mouse. To position the overlay > exactly within the map container a dummy overlay is needed. Seems you > haven't taken this into account. >
What you describe requires a custom control<http://code.google.com/apis/maps/documentation/javascript/controls.html#CustomControls> which can display text, not a GScreenOverlay which can only display an image. Start with this example<http://code.google.com/apis/maps/documentation/javascript/examples/control-custom.html> . Besides: Positioning of such a static overlay is very buggy - if not > unusable. I'll post a bug report and a demonstrator page later. > > > > We take performance very seriously, not just the time to load a map. > > Concerning performance: I've mentioned stuttering dragging of the map > earlier > > > http://groups.google.com/group/google-maps-js-api-v3/browse_thread/thread/1f1b191ad0282b87# > Yes, we've seen that page. It works fine on my phone. I haven't been able to reproduce the stuttering on a desktop browser, but my desktop is fast. We're looking into it. Ben > -- > You received this message because you are subscribed to the Google Groups > "Google Maps JavaScript API v3" group. > To post to this group, send email to > [email protected]. > To unsubscribe from this group, send email to > [email protected]<google-maps-js-api-v3%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/google-maps-js-api-v3?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" 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-js-api-v3?hl=en.
