阅读:2219回复:1
[求助]我的图元怎么看不到?
我创建个图元怎么看不到哦!<br>var<br> f: CMapXFeature;<br> p: CMapXPoint;<br>begin<br> p := CoPoint.Create;<br> { Use the map's current center as the point coordinates }<br> p.Set_(Map1.CenterX, Map1.CenterY);<br> { Create a text feature and add it to a Temp Layer. }<br> f := Map1.Layers.Item('Temp Layer').AddFeature(Map1.FeatureFactory.<br> CreateText(p, 'Some Text', EmptyParam, EmptyParam), EmptyParam);<br>end;<br>
|
|
1楼#
发布于:2009-05-25 10:14
问题用了另一个方法替代了,我把这段代码放入timer时间来实现了,希望大家提供更好的方法,没有解决真正的问题!<img src="images/post/smile/dvbbs/em08.gif" />
|
|