<?php namespace app\index\controller; use think\Db; use think\Controller; class Base extends Controller { public function _initialize(){ $no_check = array("login","login_check"); $request = \think\Request::instance(); echo $request-
动态加载影像图层为例 研究了两三天算是弄出来了.本例适合影像数据量特别的大程序使用,可以动态的添加删除影像数据,还有不完善的地方,不过基本满足要求. 1.首先得到关键点的图层 m_Map = axMapControl.Map; int l = 0; int f = 0; for (int j = 0; j < m_Map.LayerCount; j++) { if (m_Map.get_Layer(j).Name == "Points") { l = j;//获得Points图层