首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 开发语言 > PB >

pb+地图x的有关问题

2012-09-18 
求助pb+mapx的问题string is_Pathis_Path GetCurrentDirectory ( )ole_1.object.geoset is_Path+yaho

求助pb+mapx的问题
string is_Path
is_Path = GetCurrentDirectory ( )
ole_1.object.geoset = is_Path+"yahong.gst"
调出地图,图里有三个图层(学校,医院,酒店),通过代码我只调“酒店”图层出来怎么实现,以及我要查“XX酒店”怎么写代码,请高手指教!!!

[解决办法]
用romove把其它图层移去,可以参考


http://wenku.baidu.com/view/a4e2330c52ea551810a687fb.html
[解决办法]
可以用 try catch ,不用判断是否存在,不会出错

热点排行