如何从MapPolygon获取tap事件? [英] How can I get the tap event from a MapPolygon?
本文介绍了如何从MapPolygon获取tap事件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何从MapPolygon获取点击事件?
How can I get the tap event from a MapPolygon?
地图有一个地图多边形。点击多边形时我必须显示弹出数据(基于它的Id值。)
我该怎么做?
The map is having a map polygon.I have to show popup data when clicked on the polygon(based on its Id value).
How can I do that ?
推荐答案
对于polygon,没有tap事件,因此可以自定义pin并将其添加到你的MapView.See 链接供参考
For polygon,there is no tap event so that make custom pin and add it to your MapView.See this link for reference
这篇关于如何从MapPolygon获取tap事件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文