开发者

JxMapKit Waypoint click event

Hi is there a click event for the waypoints of jxmapkit? I am trying to find a way to make 开发者_开发百科the waypoints clickable so when a waypoint is clicked, a frame will open.

Thanks


I found an alternative, I added a mouse click listener in the area around the way-point so when the area under or around the way-point is clicked, the frame will open but there are 2 problems, first the area around the way-point depend on the zoom level (You can solve this by changing the radius of the clickable area according to the zoom level) and the co-ordinates of the returned clicked location are incorrect (I still cannot find a solution to this).

Anyway Thanks.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜