diff options
| author | Christopher Burger <burgerc@freeside.biz> | 2018-11-16 11:14:32 -0500 |
|---|---|---|
| committer | Christopher Burger <burgerc@freeside.biz> | 2018-11-16 11:17:13 -0500 |
| commit | f4825257402129ab712a16a2f63d7cca95be425d (patch) | |
| tree | 1d9da84d78b37e823d8c71fb6d296092e4bddb04 /httemplate/misc/openmap.html | |
| parent | 561c4dce4d01314f4fe2d44cf0a4c9a5d02a6100 (diff) | |
RT# 81730 - added code to fix possible cross origin request error
Diffstat (limited to 'httemplate/misc/openmap.html')
| -rw-r--r-- | httemplate/misc/openmap.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/httemplate/misc/openmap.html b/httemplate/misc/openmap.html index 7cbe3db1d..88f64c1ff 100644 --- a/httemplate/misc/openmap.html +++ b/httemplate/misc/openmap.html @@ -18,7 +18,7 @@ <script> - var url = 'http://nominatim.openstreetmap.org/search?format=json&limit=1&q=<%$loc%>'; + var url = 'xmlhttp-openstreetmap.html?loc=<%$loc%>'; $.getJSON(url,function(data){ var latlong = [data[0].lat, data[0].lon]; var mymap = L.map('mapid').setView(latlong, 15); |
