strip gridsquare to just first 4 chars.
这个提交包含在:
父节点
a05344a0e3
当前提交
85039b8c42
共有 1 个文件被更改,包括 2 次插入 和 2 次删除
|
|
@ -886,8 +886,8 @@ $(document).ready(function(){
|
||||||
var lat = LatLng.lat;
|
var lat = LatLng.lat;
|
||||||
var lng = LatLng.lng;
|
var lng = LatLng.lng;
|
||||||
var locator = LatLng2Loc(lat,lng, 10);
|
var locator = LatLng2Loc(lat,lng, 10);
|
||||||
|
var loc_4char = locator.substring(0, 4);
|
||||||
console.log(locator);
|
console.log(loc_4char);
|
||||||
};
|
};
|
||||||
|
|
||||||
<?php if ($this->uri->segment(1) == "gridsquares" && $this->uri->segment(2) == "band") { ?>
|
<?php if ($this->uri->segment(1) == "gridsquares" && $this->uri->segment(2) == "band") { ?>
|
||||||
|
|
|
||||||
正在加载…
在新工单中引用