Discussion Forums  >  Maps, Device Location, Tracking

Replies: 10    Views: 137

Vali
buzztouch Evangelist
Profile
Posts: 193
Reg: May 22, 2011
Bucharest
5,830
05/17/12 12:51 PM (13 years ago)

How to let users add points on a map?

Hi BT gang, long time no speak(write) I have a question regarding the Maps implementation in an app I'm developing now. I want to give the users the ability to add map points in two ways: - fill in a form that would add the data to an online hosted file. - add the point by selecting their current location. This would also update the online JSON formatted file. The result, obviously, would be an interactive map where the app users could contribute. Thanks for any ideas, Vali
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
05/17/12 01:09 PM (13 years ago)
Hi Vali, I'm actually working on an app that does something very similar. I have a form that people fill out that shows their current location, and allows them to add some information about it. They hit submit, a php script runs on my server that adds the information to a database. Then I have another screen that queries the DB, creates JSON with all the points, and plugs them into a map! I can send you the PHP script if you'd like. Mark
 
Vali
buzztouch Evangelist
Profile
Posts: 193
Reg: May 22, 2011
Bucharest
5,830
like
05/17/12 01:12 PM (13 years ago)
Hi Mark, thanks a lot for your help. Please send it to vmladin at gmail com
 
RonBo
buzztouch Evangelist
Profile
Posts: 167
Reg: Feb 26, 2012
Raleigh, NC
5,220
like
05/17/12 06:52 PM (13 years ago)
I would greatly appreciate that PHP as well, if you don't mind. I have a honeybee tracking website that i'm trying to convert to iphone, and could really use this. Please send it to ronniebouchon at gmail dot com Thanks!
 
ianJamesPiano
Code is Art
Profile
Posts: 2661
Reg: Feb 13, 2011
Palm Springs, C...
37,010
like
05/17/12 07:54 PM (13 years ago)
Uh oh @GoNorthWest, I smell another tutorial....if u have time I'd love to see your php script as well...thanks... [email protected]
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
05/17/12 09:28 PM (13 years ago)
Working out one bug with Vali, and then a tutorial it shall be! Mark
 
ianJamesPiano
Code is Art
Profile
Posts: 2661
Reg: Feb 13, 2011
Palm Springs, C...
37,010
like
05/17/12 10:22 PM (13 years ago)
Thank u sir!!
 
Sevens
Code is Art
Profile
Posts: 146
Reg: Jan 28, 2012
New York Metro ...
11,960
like
05/31/12 09:58 PM (13 years ago)
Mark Is this dead in the water? I have an app that is in desperate need of that script and JSON. I'm working on something but it seems like the work might be done already. Sevens shefikb at gmail
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
05/31/12 10:10 PM (13 years ago)
Nope, not dead in the water, just got busy! Let me bump this up in priority...will have it done by end of weekend. Cool? Mark
 
Sevens
Code is Art
Profile
Posts: 146
Reg: Jan 28, 2012
New York Metro ...
11,960
like
05/31/12 10:40 PM (13 years ago)
Very cool. Thanks
 
Sevens
Code is Art
Profile
Posts: 146
Reg: Jan 28, 2012
New York Metro ...
11,960
like
06/02/12 12:18 PM (13 years ago)
Here is a sample of GeoRSS that looks promising. Its a start. This can later be uploaded to update a google maps instance. hmmm. Roadmap <?xml version="1.0" encoding="UTF-8"?> <rss version="2.0" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns="http://maps.yahoo.com"> <channel> <geo:title>Badminton Place</geo:title> <geo:link><![CDATA[1]]></geo:link> <geo:description>Badminton in Montgomery County</geo:description> <geo:lat>37.416384</geo:lat> <geo:long>-122.024853</geo:long> <item> <title>Baure Drive </title> <link><![CDATA[2]]></link> <description>Potomac Community Center</description> <Address>14625 Bauer Drive</Address> <CityState>Rockville, MD</CityState> <phone>240-7776922</phone> </item> <item> <title>Mind-County</title> <link><![CDATA[3]]></link> <description>Mind-County Recreation Center</description> <Address>Queensguard Rd, Aspen Hill</Address> <CityState>Gaithersburg, MD</CityState> <phone>240-7776084</phone> </item> <item> <title>Potomac</title> <link><![CDATA[4]]></link> <description>Potomac Comminity Center</description> <Address>11315 Falls Road</Address> <CityState>Potomac, MD</CityState> <phone>240-7776960</phone> </item> <item> <title>Thomas-Farm</title> <link><![CDATA[5]]></link> <description>Thomas-Farm Community Center</description> <Address>700 Fallsgrove Drive</Address> <CityState>Rockville, MD</CityState> <phone>240-3148840</phone> </item> <item> <title>East</title> <link><![CDATA[6]]></link> <description>East Community Center</description> <Address>3310 Gateshead Manor Way</Address> <CityState>Silver Spring, MD</CityState> <phone>240-7778095</phone> </item> </channel> </rss>
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.