[Google Maps API v2] Re: add markers from textarea coords
On Oct 7, 10:00 am, jd <du...@water.ca.gov> 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!
--
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 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