Tuesday, September 7, 2010

Re: Editable Polylines: encode for Database

On Sep 7, 12:50 pm, Nathan Raley <nlrale...@gmail.com> wrote:
> What are you needing?  Do you need to know the coordinates where the user
> clicks on the map or something?  You just need to add a map click event and
> capture the latlng returned from the click event.  Store it in a MVC array
> and you are good to go.  

This is the API v2 group. The API v2 does not include MVC arrays.

> For whatever event you want to signal that the user
> is done, in the case of the example it appeared to be a marker click event,
> you can just send out the information in your array to wherever you are
> wanting to send it.
>
> Is that what you were looking for?
>
>
>
> On Tue, Sep 7, 2010 at 2:45 PM, ashore <shor...@gmail.com> wrote:
> > Folks, the example at
> >http://gmaps-samples.googlecode.com/svn/trunk/poly/mymapstoolbar.html
> > is simply great.
>
> > But I want to capture the result of user clicks for retention, and
> > it's not at all clear to me on how to accomplish the necessary
> > encoding, etc.
>
> > I can get the JS => server OK, but it's the step of capturing user
> > actions into some format - JSON presumably - that's throwing me.

Does this thread help?
http://groups.google.com/group/Google-Maps-API/browse_thread/thread/7128af594e36e47b#

-- Larry

>
> > Thanks for any pointers on this.  AS
>
> > --
> > 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+unsubscribe@googlegroups.com<google-maps-api%2Bunsubscribe@­googlegroups.com>
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/google-maps-api?hl=en.- Hide quoted text -
>
> - Show quoted text -

--
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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-maps-api?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate