mapxtreme for java 如何在图层画线?
查API,看到FeatrueFactory有这个方法
public Feature createPolyLine(double[][] thePoints,
Rendition rend,
Rendition labelRend,
Attribute[] attrs,
PrimaryKey key)
但是调用之后将Feature加入相应图层,还是画不出来。用FeatureFactory的createPoint方法可以画点。
我猜是不是thePoints传入需要一定的格式啊?
画线还有没有其他的方法了?