Chris,
The getRaiseOnDrag() problem has been solved! It turns out that even
though this function does not exist, you can learn the state of a
marker's raiseOnDrag parameter (and probably any other marker
parameter) using the following syntax:
google.maps.Marker.get("raiseOnDrag").
Gary
On Dec 7, 9:07 am, Gary Little <[email protected]> wrote:
> Chris,
>
> But you can't determine the state of raiseOnDrag programmatically as
> you can many other Marker parameters.
>
> For example, in a class like MarkerWithLabel any drag that begins in
> the label portion needs to know whether the label is supposed to be
> raised to keep it in sync with the marker portion. The easiest way to
> keep track of this would be to call Marker.getRaiseOnDrag() (which
> doesn't exist). The alternative is for the programmer to pass in (to
> MarkerWithLabel) the value to which raiseOnDrag has been set for the
> marker -- can be done, of course, but the step could be eliminated if
> Marker.getRaiseOnDrag() were available.
>
> Gary
>
> On Dec 7, 4:10 am, Chris Broadfoot <[email protected]> wrote:
>
>
>
> > It's there.
>
> >http://code.google.com/apis/maps/documentation/javascript/reference.h...
>
> > raiseOnDrag boolean If false, disables raising and lowering the marker on
> > drag. This option is true by default.
>
> > Cheers
> > Chris
>
> > On Tue, Dec 7, 2010 at 10:39 PM, Ciul <[email protected]> wrote:
> > > Please add these changes to the API reference documentation.
>
> > > Omit this if already there, sorry but don't see the changes on Marker
> > > Options.
>
> > > Thanks
>
> > > On 5 dic, 22:09, "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]<google-maps-js-api-v3%2B
> > > [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.