On Apr 17, 5:09 am, JJ <[email protected]> wrote: > Hi, I'm currently working on my FYP (Final Year Project), in which I > need to use Google Maps API to build this website.
> So this is my website working up till now:www.greenunitymap.com, and > to be honest, I get the code and most of the css, java files from > here: http://cityofsharedstorieskualalumpur.com/ as my idea is about > the same on this. I take it that <!-- saved from url=(0014)about:internet --> is your reference to that source? You don't want to be accused of plagiarism. > My problem is, inhttp://www.greenunitymap.com/shareyourgreen.htm, the > Share page, after I key in everything and upload photos, then click > submit. It won't link back to the main page's big map and add a marker > with the information+photos I just put in in Share Your Green page. I can't see any code or action which is triggered by your button. Where are you sending your data? How are you getting your data back to the client to be displayed in the map? This doesn't appear to be a map problem, but an issue with HTML forms and server-side processing. However, there are some articles which may help: http://code.google.com/apis/maps/documentation/javascript/v2/articles.html Have a look especially at "From infoWindows to a database" (you're not using a form in an infoWindow, but the process of saving form data to database should be similar); and "Using PHP/MySQL with Google Maps" which shows how to use a database. "Creating a user-contributed map with PHP and Google Spreadsheets" might also help as you can use Google Spreadsheets as a simple database. All of these will need some server-side code to handle and store users' data, though. -- 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.
