Android百度地图怎样获取圆的外切矩形
阿神
阿神 2017-04-18 09:14:25
0
1
560

百度地图知道中心点和半径,怎样获取外切矩形

阿神
阿神

闭关修行中......

reply all(1)
洪涛

Suppose the coordinates of the center point are (x, y) and the radius r, then the upper left corner of the circumscribed rectangle (x-r, y-r), the width and height are both 2r. I don't know if what is needed is map coordinates or coordinates mapped to the screen. If you need to mark, just press this to draw a rectangular frame.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template