I've been trying to find something that will work for over a day now. I found openstreetmap, which looks perfect. The example on http://www.openstreetmap.org is perfect and they do have an api but I can't figure out how to implement it.
Has anyone else used this api in php? Can someone show me an example of openstreetmap api in php? Or is there another open source mapping api that someone has?