Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
01-05-2012, 06:03 AM #1
- Join Date
- Jan 2012
- Thanked 0 Times in 0 Posts
How do you send a Google Map image to a database?
I am designing a website for a user to select a desired location on a map using Google Maps API. Once the user picks the desired location, I would like that image sent to a database (to store the selected image).
Iíve gotten Google Maps API to operate on my website but I have not set up a database to store the image. Please offer guidance for the following questions:
1) How do you develop the code for sending the desired map image to the database
2) What type of database should I use to store the image?
Thank you advance as Iím quite a newbie.
01-05-2012, 02:24 PM #2
I would suggest reading Google's Terms of Service, particularly section 10.1.3 (b): No Pre-Fetching, Caching, or Storage of Content, before going too much further down this road.
basically, you can't store or save anything that google serves up (like the map image) but you can store your own or user interactions with the map (where they are, if they place a marker, etc) and then display them on a map later.
there's a google tutorial here that shows you how users can mark locations on the map then send that info to your database
Last edited by xelawho; 01-05-2012 at 02:28 PM.
Users who have thanked xelawho for this post: