{"action":"created","issue":{"url":"https://api.github.com/repos/Esri/esri-leaflet-geocoder/issues/148","repository_url":"https://api.github.com/repos/Esri/esri-leaflet-geocoder","labels_url":"https://api.github.com/repos/Esri/esri-leaflet-geocoder/issues/148/labels{/name}","comments_url":"https://api.github.com/repos/Esri/esri-leaflet-geocoder/issues/148/comments","events_url":"https://api.github.com/repos/Esri/esri-leaflet-geocoder/issues/148/events","html_url":"https://github.com/Esri/esri-leaflet-geocoder/issues/148","id":181035029,"number":148,"title":"MapService Provider search text must match exactly","user":{"login":"nickpeihl","id":1638483,"avatar_url":"https://avatars.githubusercontent.com/u/1638483?v=3","gravatar_id":"","url":"https://api.github.com/users/nickpeihl","html_url":"https://github.com/nickpeihl","followers_url":"https://api.github.com/users/nickpeihl/followers","following_url":"https://api.github.com/users/nickpeihl/following{/other_user}","gists_url":"https://api.github.com/users/nickpeihl/gists{/gist_id}","starred_url":"https://api.github.com/users/nickpeihl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nickpeihl/subscriptions","organizations_url":"https://api.github.com/users/nickpeihl/orgs","repos_url":"https://api.github.com/users/nickpeihl/repos","events_url":"https://api.github.com/users/nickpeihl/events{/privacy}","received_events_url":"https://api.github.com/users/nickpeihl/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-10-05T00:02:06Z","updated_at":"2016-10-05T16:57:01Z","closed_at":"2016-10-05T16:57:01Z","body":"https://github.com/Esri/esri-leaflet-geocoder/blob/master/src/Providers/MapService.js#L57\r\n\r\nI wonder if there's a valid reason to hard-code `contains(false)` into this line? When I use the MapService provider, I'd expect that typing search text and pressing enter would return all matching results. But setting `contains` to false forces the text to match exactly. I'd only expect an exact match if I waited for suggestions and selected one of those. \r\n\r\nIn [this example](http://jsbin.com/locigeleso/edit?html,output) I'd expect to be able to type in `maine` and press enter and the map would zoom to Maine. Instead, I have to type in `Maine` exactly as it would appear to see the result. \r\n\r\nIs there another reason for `contains(false)` that I'm missing?"},"comment":{"url":"https://api.github.com/repos/Esri/esri-leaflet-geocoder/issues/comments/251733716","html_url":"https://github.com/Esri/esri-leaflet-geocoder/issues/148#issuecomment-251733716","issue_url":"https://api.github.com/repos/Esri/esri-leaflet-geocoder/issues/148","id":251733716,"user":{"login":"nickpeihl","id":1638483,"avatar_url":"https://avatars.githubusercontent.com/u/1638483?v=3","gravatar_id":"","url":"https://api.github.com/users/nickpeihl","html_url":"https://github.com/nickpeihl","followers_url":"https://api.github.com/users/nickpeihl/followers","following_url":"https://api.github.com/users/nickpeihl/following{/other_user}","gists_url":"https://api.github.com/users/nickpeihl/gists{/gist_id}","starred_url":"https://api.github.com/users/nickpeihl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nickpeihl/subscriptions","organizations_url":"https://api.github.com/users/nickpeihl/orgs","repos_url":"https://api.github.com/users/nickpeihl/repos","events_url":"https://api.github.com/users/nickpeihl/events{/privacy}","received_events_url":"https://api.github.com/users/nickpeihl/received_events","type":"User","site_admin":false},"created_at":"2016-10-05T16:57:01Z","updated_at":"2016-10-05T16:57:01Z","body":"Fixed by  8b68a45"}}
{"actor":{"display_login":"nickpeihl"}}