I've an HTML with a list of data's :
(...) And the button search with this code:
And my Javascript function, take the value of the data list and search on the map this value for make a zoom and display popup :
function search() { // ZOOM /////////////////////////////// var search_value = document.getElementById('searchinput').value; var layers = map.getLayers(); var view = map.getView(); var length = layers.getLength(); for (var i = 0; i
(...) And the button search with this code:
And my Javascript function, take the value of the data list and search on the map this value for make a zoom and display popup :
function search() { // ZOOM /////////////////////////////// var search_value = document.getElementById('searchinput').value; var layers = map.getLayers(); var view = map.getView(); var length = layers.getLength(); for (var i = 0; i