{"action":"created","issue":{"url":"https://api.github.com/repos/smeijer/L.GeoSearch/issues/69","repository_url":"https://api.github.com/repos/smeijer/L.GeoSearch","labels_url":"https://api.github.com/repos/smeijer/L.GeoSearch/issues/69/labels{/name}","comments_url":"https://api.github.com/repos/smeijer/L.GeoSearch/issues/69/comments","events_url":"https://api.github.com/repos/smeijer/L.GeoSearch/issues/69/events","html_url":"https://github.com/smeijer/L.GeoSearch/issues/69","id":142093785,"number":69,"title":"Error with example using OpenStreetMap","user":{"login":"penproductions","id":17952975,"avatar_url":"https://avatars.githubusercontent.com/u/17952975?v=3","gravatar_id":"","url":"https://api.github.com/users/penproductions","html_url":"https://github.com/penproductions","followers_url":"https://api.github.com/users/penproductions/followers","following_url":"https://api.github.com/users/penproductions/following{/other_user}","gists_url":"https://api.github.com/users/penproductions/gists{/gist_id}","starred_url":"https://api.github.com/users/penproductions/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/penproductions/subscriptions","organizations_url":"https://api.github.com/users/penproductions/orgs","repos_url":"https://api.github.com/users/penproductions/repos","events_url":"https://api.github.com/users/penproductions/events{/privacy}","received_events_url":"https://api.github.com/users/penproductions/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-03-19T19:20:47Z","updated_at":"2016-03-20T14:45:20Z","closed_at":null,"body":"I get this error when trying to load the example using OpenStreetMap. This is the default example. I can get the example to work when using Google.\r\n\r\n`l.control.geosearch.js:153 XMLHttpRequest cannot load file://nominatim.openstreetmap.org/search?q=12%20galloway%20cres%20ontario&format=json. Cross origin requests are only supported for protocol schemes: http, data, chrome, chrome-extension, https, chrome-extension-resource.L.Control.GeoSearch.L.Control.extend.sendRequest @ l.control.geosearch.js:153L.Control.GeoSearch.L.Control.extend.geosearch @ l.control.geosearch.js:103L.Control.GeoSearch.L.Control.extend._onKeyUp @ l.control.geosearch.js:233t.(anonymous function).a @ leaflet.js:7`"},"comment":{"url":"https://api.github.com/repos/smeijer/L.GeoSearch/issues/comments/198943394","html_url":"https://github.com/smeijer/L.GeoSearch/issues/69#issuecomment-198943394","issue_url":"https://api.github.com/repos/smeijer/L.GeoSearch/issues/69","id":198943394,"user":{"login":"penproductions","id":17952975,"avatar_url":"https://avatars.githubusercontent.com/u/17952975?v=3","gravatar_id":"","url":"https://api.github.com/users/penproductions","html_url":"https://github.com/penproductions","followers_url":"https://api.github.com/users/penproductions/followers","following_url":"https://api.github.com/users/penproductions/following{/other_user}","gists_url":"https://api.github.com/users/penproductions/gists{/gist_id}","starred_url":"https://api.github.com/users/penproductions/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/penproductions/subscriptions","organizations_url":"https://api.github.com/users/penproductions/orgs","repos_url":"https://api.github.com/users/penproductions/repos","events_url":"https://api.github.com/users/penproductions/events{/privacy}","received_events_url":"https://api.github.com/users/penproductions/received_events","type":"User","site_admin":false},"created_at":"2016-03-20T14:45:20Z","updated_at":"2016-03-20T14:45:20Z","body":"Thanks I will give that a try on my local server and see if I can get it running. \r\n\r\nAnother question, which is better to run, the Google search or the OpenStreetMap? Is there an advantage of one over the other?"}}