bugfix: default longitude didn't work

updateCenter() was called when latitudeChanged and longitudeChanged, using the same paramter.