more support for ol3 v3.0.0
better setcentre for leaflet
clearer
added leaflet version
remove doubled getviews