Data viewer rewrite function that checks if number is valid for openlayers extent..