KO
|
EN
gitlite — search
Search
#python
#java
#python3
#arduino
#golang
#machine-learning
#rust
#html
#flask
#javascript
#seismology
#nodejs
osm-js-libs
★ 15
Open GitHub ↗
JavaScript libraries for OSM application
Download README (.md)
Explore Similar Repositories
stockfolio
:
Track stock portfolio positions and stock watchlist from the command line
Atreides
:
Simple rails CMS
warthog
:
A Logic Framework in Scala
django-croppable-images
:
No description available.
Compromise
:
No description available.
// repository documentation
Was this content helpful?
★ 0
(0 ratings)
Select Rating:
★
★
★
★
★
Submit Feedback
Recent Feedback
×
Download README
Do you want to download the
README.md
file for
osm-js-libs
?
Download (.md)
# JavaScript libraries for OpenStreetMap applications ## Usage ### Validators Leaflet layer Add validators layer to your Leaflet map by: map.addLayer(new OsmJs.Validators.LeafletLayer(config)) Where example config is: { validators: [{ "name": "Отладочный валидатор", "url": "http://alno.name:4567/validate?minlat={minlat}&minlon={minlon}&maxlat={maxlat}&maxlon={maxlon}", "offset_limit": true, "jsonp": true, "types": { "test_error": {"text": "Тестовая ошибка"} } }] } ### OpenWeatherMap weather layer ### Leaflet distance control Icon for distance control from here: http://findicons.com/icon/178351/ruler_2 ## Building Install coffee-script first: sudo npm install --global coffee-script Then call: cake build That's all, now you have your updated library in dist/ ## Contributors * Alexey Noskov ({alno}[https://github.com/alno]) Copyright © 2012 Alexey Noskov, released under the {MIT license}[http://www.opensource.org/licenses/MIT]