Commits

stefano cudini committed 6f54018 Draft

update README

Comments (0)

Files changed (1)

 
 other examples:
 ```
-map.addControl( new L.Control.Search({url: 'search.php?q={s}', jsonpParam: 'callback'}) );
-//searchJsonpUrl is jsonp service for retrieve elements locations
+map.addControl( new L.Control.Search({url: 'search.php?q={s}'}) );
+//ajax request to search.php for retrieve elements locations
 
 map.addControl( new L.Control.Search({
 		url: 'http://nominatim.openstreetmap.org/search?format=json&q={s}',
 		propertyName: 'display_name',
 		propertyLoc: ['lat','lon']
 	}) );
-//implements Geocode Searching using OSM API
+//jsonp request to 3rd party service, implements Geocode Searching using OSM API
 ```
 
 #Where