LimeSurvey/LimeSurvey — pull request #200 by Lehodey (2014-05-15 11:02:34+00:00)
Title: New feature: LeafLet/OSM Maps with Geonames Place Search

---- Added map option "Maps"
- 2 inputs: lat and lng
- user can inserts/edits coords or click to insert marker (= pin) or drag marker
--- based on javascript projects:
- http://leafletjs.com
- https://github.com/twitter/typeahead.js/

---- services
- www.geonames.org
- MapQuest
- Google (using https://github.com/shramov/leaflet-plugins)

---- Geonames
- 1 input to search places, locate and insert marker
- checkbox to restrict search to map extent
- I created a default "limesurvey" user (we need to pass the account to LS project)
- need field for geoname user in geral configs (like google key) because limited_nb_queries/day (30000 I think, need to check)

---- Options:
- IP location: unchanged
- Default position: changed behavior,
- if 2 coords: set the default pin position (ex: -13 22)
- if 2 pairs coords= rectangle: set view to see the rect with max zoom possible. (ex: -10@-10 11@13)
- country, postal code, state, city: unavalaible (only google maps)
- Map width: only google. (100% here)
- Map height: works, unchanged.