i just saw the example of Mike William's that you mentioned.

this should get me started. thanks for your help.

On Oct 7, 12:32 pm, jd <[email protected]> wrote:
> would it be best to construct an array such as
>
> points =[ [id,x,y],
>                 ...    ] ]
>
> as a variable constructed by concatenating a string...
>
> or iterating the coord info in the textarea and pushing the data into
> an multidimensional array?
>
> i am thinking of performance for loading up to 500 markers.
>
> my javascript is very rusty...and am looking for advice on best method
> and possible sample code.
>
> On Oct 7, 11:34 am, "[email protected]" <[email protected]>
> wrote:
>
> > On Oct 7, 10:50 am, jd <[email protected]> wrote:
>
> > > thanks for your reply. the info that the user would post in the
> > > textarea would be:
>
> > > id, x, y
> > > 1,40.647304,-122.695312
>
> > > trying to decide the most efficient way to construct an array and add
> > > markers as an overlay. these markers need to be draggable and coords
> > > updated on the fly...
>
> > > any ideas?
>
> > Seems pretty straightforward. What problems are you having doing that?
>
> >   -- Larry
>
> > > thanks again.
>
> > > On Oct 7, 10:35 am, "[email protected]" <[email protected]>
> > > wrote:
>
> > > > On Oct 7, 10:00 am, jd <[email protected]> wrote:
>
> > > > > hi guys.
>
> > > > > what's the most efficient way to add markers from info pasted into a
> > > > > text area. ideally, a user would paste info and select a submit button
> > > > > and then markers would be added to a map.
>
> > > > I would suggest writing javascript to do that.
>
> > > > Do you have any control over the format?
> > > > Are they geographic coordinates?
> > > > If so in what format?
> > > > What order (lat then lng or lng then lat)?
> > > > Are there defined separators?
> > > > What reference frame?
> > > > Are they addresses?
> > > > Are they mixed addresses and coordinates?
>
> > > > You probably need to do some error checking.
>
> > > > You could look at Mike Williams' tutorial for some code that processes
> > > > text input (from files, but the processing will be the same).
>
> > > >  -- Larry
>
> > > > > thanks!- Hide quoted text -
>
> > > - Show quoted text -

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps API V2" 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-api?hl=en.

Reply via email to