docstrings: Update bounds property in Projection.leafdoc (#5139)
* Update Projection.leafdoc To me it appears that the property bounds expects 'Bounds' and not 'LatLngBounds'. All the included projections pass 'Bounds'. Giving the area where the projection is valid in latlng's did not work for me. * Update Projection.leafdoc
This commit is contained in:
parent
2253672051
commit
4f52a36dc1
@ -4,8 +4,8 @@
|
||||
An object with methods for projecting geographical coordinates of the world onto
|
||||
a flat surface (and back). See [Map projection](http://en.wikipedia.org/wiki/Map_projection).
|
||||
|
||||
@property bounds: LatLngBounds
|
||||
The bounds where the projection is valid
|
||||
@property bounds: Bounds
|
||||
The bounds (specified in CRS units) where the projection is valid
|
||||
|
||||
@method project(latlng: LatLng): Point
|
||||
Projects geographical coordinates into a 2D point. Only accepts actual `L.LatLng` instances, not arrays.
|
||||
|
Loading…
Reference in New Issue
Block a user