That would probably would a lot better than what I implemented, I'll give it
a try.

Thanks

On Tue, Jun 15, 2010 at 9:06 PM, Ben Appleton <[email protected]> wrote:

> Yeah, we need to put together some really good MVC docs and examples.
>
>
> On Wed, Jun 16, 2010 at 11:34 AM, Chad Killingsworth <
> [email protected]> wrote:
>
>> I should have guessed that this was already done - just not
>> documented.
>>
>> Thanks Ben!
>>
>> Chad Killingsworth
>>
>> On Jun 15, 6:53 pm, Ben Appleton <[email protected]> wrote:
>> > You should be able to write simply:
>> >
>> > svMarker.bindTo('position', mapMarker);
>> >
>> > This will ensure that svMarker and mapMarker share the same 'position'
>> > property, including updating when one or the other is dragged.  Is this
>> what
>> > you mean?
>> >
>> > - Ben
>> >
>> >
>> >
>> > On Wed, Jun 16, 2010 at 1:12 AM, Nathan Raley <[email protected]>
>> wrote:
>> > > Yea, it was a bit of a pain but I added the markers I needed by
>> creating
>> > > basically a carbon copy of the other marker.  Then I added events on
>> the
>> > > drag and dragend to set the position of the marker on the other
>> object, be
>> > > it the map or the pano.  Really wish it was easier to tie these two
>> together
>> > > than this.  It wasn't necessarily hard but it does require the user to
>> > > create double the amount of markers they would previously be required
>> to
>> > > create.
>> >
>> > > Even if we could get the marker manager to handle the markers inside
>> the
>> > > panorama that would be another solution to this as I could add the
>> same
>> > > marker to 2 different marker managers.  Either solution would be
>> great.
>> >
>> > > On Tue, Jun 15, 2010 at 8:57 AM, Chad Killingsworth <
>> > > [email protected]> wrote:
>> >
>> > >> I've seen several use cases come up with this sort of thing. I wonder
>> > >> if we ask nicely if the Marker object can expose position as an
>> > >> MVCObject property? Then you could bind and be notified of position
>> > >> changes.
>> >
>> > >> I've filed a feature request for this:
>> > >>http://code.google.com/p/gmaps-api-issues/issues/detail?id=2491
>> > >> You can star it to both vote for it and track its progress.
>> >
>> > >> Chad Killingsworth
>> >
>> > >> On Jun 15, 7:21 am, Cartolog - Map Experts <[email protected]>
>> wrote:
>> > >> > Hi,
>> > >> > When the drag event of one marker is triggered, move the second
>> marker
>> > >> > by setting its new position
>> >
>> > >> > Itay
>> > >> > Cartolog - Map Expertshttp://www.cartolog.com
>> >
>> > >> > On Jun 14, 9:12 pm, nlraley <[email protected]> wrote:
>> >
>> > >> > > Is there anyway to link the marker dragging between the 2 markers
>> if I
>> > >> > > create 2 separate markers?
>> >
>> > >> > > On Jun 14, 8:12 am, Nathan Raley <[email protected]> wrote:
>> >
>> > >> > > > Okay, let me make sure I have this right, so as long as I am
>> > >> specifying that
>> > >> > > > the street view panorama is to be placed in a div that I have
>> > >> defined I have
>> > >> > > > to create 2 separate markers in order to have them placed both
>> on
>> > >> the
>> > >> > > > regular map and on the street view?
>> >
>> > >> > > > On Fri, Jun 11, 2010 at 5:46 PM, Marc Ridey <[email protected]
>> >
>> > >> wrote:
>> > >> > > > > You currently need to create two markers.
>> >
>> > >> > > > > On Sat, Jun 12, 2010 at 5:55 AM, Nathan Raley <
>> > >> [email protected]> wrote:
>> >
>> > >> > > > >> I have a custom panorama and I'd like to add my markers to
>> both
>> > >> the map
>> > >> > > > >> and the pano, the pano is in a div on the bottom right of
>> the map
>> > >> so they
>> > >> > > > >> are both viewable at the same time, however; once I set the
>> map
>> > >> for the
>> > >> > > > >> markers to the pano it takes them off the map.  How can I
>> > >> accomplish both?
>> > >> > > > >>  Or do I just need to create 2 markers for each marker I
>> want to
>> > >> add to
>> > >> > > > >> both?
>> >
>> > >> > > > >> Thanks,
>> > >> > > > >> Nathan
>> >
>> > >> > > > >> --
>> > >> > > > >> 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]><google-maps-js-api-v3%2B
>> [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]<google-maps-js-api-v3%[email protected]><google-maps-js-api-v3%2B
>> [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.-Hidequotedtext-
>> >
>> > >> > > - Show quoted text -
>> >
>> > >> --
>> > >> 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]><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]<google-maps-js-api-v3%[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]<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]<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.

Reply via email to