Template:Repeater: Difference between revisions
		
		
		
		Jump to navigation
		Jump to search
		
No edit summary  | 
				No edit summary  | 
				||
| Line 9: | Line 9: | ||
     document.getElementById('output').innerHTML = json.address.road + ',' + json.address.city;  |      document.getElementById('output').innerHTML = json.address.road + ',' + json.address.city;  | ||
}  | }  | ||
window.search = function search() {  | window.search = function search() {  | ||
     var s = document.createElement('script');          |      var s = document.createElement('script');          | ||
     s.src = 'http://nominatim.openstreetmap.org/reverse?json_callback=cb&format=json&lat=-23.56320001&lon=-46.66140002&zoom=27&addressdetails=1';  |      // s.src = 'http://nominatim.openstreetmap.org/reverse?json_callback=cb&format=json&lat=-23.56320001&lon=-46.66140002&zoom=27&addressdetails=1';  | ||
    s.src = 'http://nominatim.openstreetmap.org/';  | |||
     document.getElementsByTagName('head')[0].appendChild(s);  |      document.getElementsByTagName('head')[0].appendChild(s);  | ||
};  | };  | ||
Revision as of 17:59, 1 December 2014
This is the 'Repeater' template.
Edit the page to see the template text.