Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

OSM map has a data layer and an information panel. How is it implemented? What is a type of the layer and URL of vector data source? How information panel works?

Thanks for all!

share|improve this question
add comment

2 Answers 2

up vote 3 down vote accepted

Here is an example call to the OSM API generated by the data layer: http://www.openstreetmap.org/api/0.6/map?bbox=-122.29555,37.814276,-122.291602,37.81692

Be aware that the API server will aggressively throttle you if you make excessive requests - it's there for the editors. If you're interested in making bulk queries, a good strategy is to mirror the data yourself, for which excellent support exists in the hourly and minute replication diffs.

share|improve this answer
add comment

It is implemented as a query to the OpenStreetMap API, for the given region. It's also not something you want to copy, as it scales poorly, and many regions are now mapped too densely for the results to work properly.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.