回顾下流程
从conf->node->mapNode。目前在node
再往下走,是根据mapOption->map初始化->map加各种层。目前在map初始化
从map初始化看,Profile->_readOptions->cacheSettings->LayerCB->ElevationPool,目前在profile
从Profile创建看,空间参考->Profile新建,
下一步该进行_readOptions了
接下来调试CacheSetting
一堆纯虚函数
高程层变化时的回调
由上可见,可知,是各层发生变化时的回调(影像层,高程层,模型层和TerrainConstraintLayer)
这个节点给_index
至此,map的构造函数结束
回过头来看看,这节的内容,主要有两大块,
一个是cache设置,一个是层变化时引起回调。,还有一个ElevationPool
看看总体流程
从conf->node->mapNode。目前在node
再往下走,是根据mapOption->map初始化->map加各种层。目前在map初始化
从map初始化看,Profile->_readOptions->cacheSettings(cache设置)->LayerCB(层变化时引起回调)->ElevationPool,目前结束.
下一步该进行map加各种层了。也就是map真正要起作用了