Sha256: cdd0d791ca16d69ba1881abef3b8f081a8d6e0fbe88d959d178e59fe58d01835

Contents?: true

Size: 216 Bytes

Versions: 3

Compression:

Stored size: 216 Bytes

Contents

L.Projection.LonLat = {
	project: function (latlng) {
		return new L.Point(latlng.lng, latlng.lat);
	},

	unproject: function (point, unbounded) {
		return new L.LatLng(point.y, point.x, unbounded);
	}
};

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
leaflet-ruby-0.3.beta4 lib/leaflet/src/geo/projection/Projection.LonLat.js
leaflet-ruby-0.3.beta3 lib/leaflet/src/geo/projection/Projection.LonLat.js
leaflet-ruby-0.3.beta1 lib/leaflet/src/geo/projection/Projection.LonLat.js