Note: I've been able to work around the second issue I brought up (getting the marker DIV) although I'd still like the ability to get this capability to address the reported bug in MarkerWithLabel.
Definitely need a google.maps.Marker.getRaiseOnDrag() method and a google.maps.Marker.RAISEOFFSET constant, though. Gary On Dec 6, 1:59 pm, Gary Little <[email protected]> wrote: > Regarding the new "raiseOnDrag" feature: > > It would be useful to have a getRaiseOnDrag() method (for Marker > class) for determining whether this feature is on or off. This would > allow a custom class such as MarkerWithLabel (see <http:// > code.google.com/p/google-maps-utility-library-v3/wiki/Libraries>) to > raise the label associated with the marker only if raiseOnDrag is > true. > > It would also be useful if there was a Marker method (getMarkerDiv()?) > that could be used to determine the DIV in which the marker icon is > drawn. That way, if a drag originated in the associated label, the > marker could be raised programmatically by changing the CSS 'top' > parameter. (This would also allow the bug described at <http:// > code.google.com/p/google-maps-utility-library-v3/issues/detail? > id=24&colspec=ID%20Type%20Status%20Priority%20Fixed%20Owner%20Summary > %20Stars> to be fixed!) > > And... for bonus marks... expose a constant that contains the number > of pixels by which the marker is raised. I think the value is now 20 > pixels, but the number should be provided as a constant. > > Gary > > Gary > > On Dec 5, 7:09 pm, "Chris Broadfoot (Google Employee)" > > > > <[email protected]> wrote: > > Hi everyone, > > > We recently pushed a new version of the API. See the full change log > > here:http://code.google.com/p/gmaps-api-issues/wiki/JavascriptMapsAPIv3Cha... > > > See the blog post over at our Geo Developer Blog for more information > > on the changes we made > > today:http://googlegeodevelopers.blogspot.com/2010/12/map-markers-they-move... > > ________________________________________________ > > > 3.3 December 5th, 2010 > > > Resolved issues: > > - Provide an interface for discovering the maximum zoom level at a > > given location for satellite imagery. (Issue 2049) > > - Add an option (raiseOnDrag) to enable/disable animations when a > > marker is dragged. > > > Noticeable changes: > > - Markers now lift when dragged, and bounce when dropped. > > - Marker animations can be controlled programmatically with the > > setAnimation function. > > ________________________________________________ > > > Enjoy! > > Chris -- 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.
