strip gridsquare to just first 4 chars.

pull/439/head
Peter Goodhall 2020-03-14 22:13:22 +00:00
rodzic a05344a0e3
commit 85039b8c42
1 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -886,8 +886,8 @@ $(document).ready(function(){
var lat = LatLng.lat;
var lng = LatLng.lng;
var locator = LatLng2Loc(lat,lng, 10);
console.log(locator);
var loc_4char = locator.substring(0, 4);
console.log(loc_4char);
};
<?php if ($this->uri->segment(1) == "gridsquares" && $this->uri->segment(2) == "band") { ?>