Minor fixes to CRS.Simple example

This commit is contained in:
Iván Sánchez Ortega 2016-02-16 11:26:43 +01:00
parent e6771f3d91
commit d75020b42c
2 changed files with 1 additions and 3 deletions

View File

@ -21,7 +21,6 @@
minZoom: -3
});
var YX = L.LatLng;
var yx = L.latLng;
var xy = function(x, y) {
@ -46,7 +45,7 @@
var travel = L.polyline([sol, deneb]).addTo(map);
map.setView( xy(120, 70), 1);
map.setView(xy(120, 70), 1);
</script>
</body>

View File

@ -91,7 +91,6 @@ The debate about whether `[lng, lat]` or `[lat, lng]` or `[y, x]` or `[x, y]` [i
If working with `[y, x]` coordinates with something named `L.LatLng` doesn't make much sense to you, you can easily create wrappers for them:
var YX = L.LatLng;
var yx = L.latLng;
var xy = function(x, y) {