I don't think you can get the information from the map. Your latest ideas are getting closer to how I would do it. Collect the points in an array, possibly with text added by the user and send that info to the server to be dumped into the database. I would provide a simple dropdown list of categories for the separate icon types and capture that info in the array as well.
On Nov 3, 4:49 pm, Julie <[email protected]> wrote: > Looking a little further, I'm thinking that it's not possible to do it > the way I want to do it (get the information from the map). But I > think I could store multiple markers as they are added by the user in > an array, and extract that on submit. > > Anyone know of a working example of something like that, or a > tutorial? Or am I going about this in completely the wrong way? > > Thanks, > > J. > > On Nov 3, 3:36 pm, Julie <[email protected]> wrote: > > > > > I work for a travel company. We're storing the coordinates of our 400+ > > properties in our MS SQL database. We would like to add just a few > > points (20-40) of interest for each "village" or "neighborhood" for > > each of our properties, e.g. ATMs, restaurants, stores. > > > I have an interface that allows my coworkers to enter in the property > > location coordinates by clicking on the map, and it works great. > > > For this, though, I need to allow them to choose an icon type (e.g. > > restaurant), click on the map, add a name, submit to a database. I can > > figure this out, because it's really similar to what I've already > > done...but I'm not actually extracting data from the map, at this > > point, just recording the click and text from a form. > > > What I would *like* to do is allow them to add multiple markers and > > names and *then* submit them all at once. I have no idea how to even > > start, so far as retrieving data *from* the map, which is what I think > > this would require. > > > Does someone know of a tutorial or example of this somewhere around? > > I've tried a bunch of searches (here, in code.google.com and > > elsewhere) and can't seem to nail down the right search keywords. > > > I work in SQL, classic ASP and Javascript. It's the javascript part to > > extract multiple points/text that I'm looking for an example of...if I > > can get the data, I know what to do with it. :) > > > Thanks, > > > Julie- 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 [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.
