LocationSelector.js
Address autocomplete and Point on map
{
"coordinates": {
"x": -96.96533203125,
"y": 41.124883599291195
},
"zoom": 3,
"address": null,
"extents": null
}
Installation
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/ol3/3.9.0/ol.min.css"></link>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/ol3/3.9.0/ol.min.js"></link>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/typeahead.js/0.11.1/typeahead.bundle.min.js"></link>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/locationselect.js/0.1/locationselect.min.js"></link>