那个"webgis完整功能例子"版本中,标注的功能应该怎么调用?

21 views
Skip to first unread message

可可

unread,
May 14, 2008, 9:18:55 PM5/14/08
to MapEasy
那个"webgis完整功能例子"版本中,标注的功能应该怎么调用?

能否给予实例?

我想的是这样:

var mar = new Marker();
mar.setCoord(new Point(114.20, 22.59));
mar.setIcon("/images/marker_large.png");
mar.setInfo("123");
mar.setShadowIcon("/image/marker_large_shadow.png");
mar.setToMap($('map'),new MapModel(),new OverLayer($
('map')).insert());//这个中的3个参数怎么得到?
Reply all
Reply to author
Forward
0 new messages