1

I'm working on an Android project based on google map api, and now I need to dynamically show traffic lights positions near my location. But I found google APIs do not provide such information.

So my question is, is there any open API that I can use to get the coordinate of nearby signal lights if I provide my coordinate on the map? That will be really helpful!

Thanks!

Luyang Liu
  • 121
  • 1
  • 7

1 Answers1

1

Yes, OSM can provide this information. Take a look at the highway=traffic_signals tag and the Overpass API.

If you aren't familiar with OSM yet then also read about its elements and tags in general.

scai
  • 20,297
  • 4
  • 56
  • 72