3 latLngToPoint: function(/*LatLng*/ latlng
, /*Number*/ scale
)/*-> Point*/ {
4 var projectedPoint
= this.projection
.project(latlng
);
5 return this.transformation
._transform(projectedPoint
, scale
);
8 pointToLatLng: function(/*Point*/ point
, /*Number*/ scale
, /*(optional) Boolean*/ unbounded
)/*-> LatLng*/ {
9 var untransformedPoint
= this.transformation
.untransform(point
, scale
);
10 return this.projection
.unproject(untransformedPoint
, unbounded
);
11 //TODO get rid of 'unbounded' everywhere
14 project: function(latlng
) {
15 return this.projection
.project(latlng
);