Minor fixes to CRS.Simple example
This commit is contained in:
parent
e6771f3d91
commit
d75020b42c
@ -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>
|
||||
|
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user