You are not logged in.
- Topics: Active | Unanswered
Announcement
Please create new topics on the new site at community.openstreetmap.org. We expect the migration of data will take a few weeks, you can follow its progress here.***
Pages: 1
#1 2008-11-24 09:03:15
- ThinkSmart
- Member
- Registered: 2008-11-24
- Posts: 9
Osm Api
Hello everyone,
I am a new member here on OSM and I reall need some guidanace regarding development with OSM.
I want to incorporate into an website an function simillar with the function of OSM when a new user registers (displaing an green mark on the map where the user lives).
If a friend of the user enters the user's name, the site will load the map exactly where the user lives. It's something like an user map locator.
I know it can be done in OSM because i saw it when registering but I'm wondering if there is any OSM API that does this function or please explain to me how to achieve this.
Thank you.
Offline
#2 2008-11-24 15:59:50
- emj
- Member
- From: .se (59.3N17.99E) 0735969076
- Registered: 2006-06-18
- Posts: 949
Re: Osm Api
Well, it's very easy to do this with mysql+openlayers to store lat/lon of users and then display the on the slippy map: see gecoding discussion: http://forum.openstreetmap.org/viewtopic.php?id=1901
But it isn't really what the Openstreetmap DB is for, if you would use the Openstreetmap API you would put nodes in the database that anyone can change. So peoples positions could be deleted just like that.
Offline
Pages: 1