[英]Draw Polygon without using connection - Google Maps Android
I wonder if there is some way to draw polygons on Android without using a connection even without showing the map, only drawing the lines. 我想知道是否有某种方法可以在Android上绘制多边形而不使用连接,甚至不显示地图,仅绘制线条。
Currently I can only do this after you have connected at least once on the Internet (probably to validate the key), but I need it completely offline even that does not show the map but only the polygons and lines. 目前,只有在Internet上至少连接了一次(可能验证密钥)之后,我才能执行此操作,但是即使它不显示地图,而仅显示多边形和直线,我也需要完全脱机。
Can anyone help? 有人可以帮忙吗?
您可以像在此答案中那样使用自定义的TileProvider与空白图块,然后照常绘制多边形 。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.