remove _layer filed from TileUrlGenerator; added dependence for points size from zoom; added medianaOfGradient parameter