Skip to content

Instantly share code, notes, and snippets.

@amay077
Last active September 8, 2017 10:20
Show Gist options
  • Save amay077/5523748 to your computer and use it in GitHub Desktop.
Save amay077/5523748 to your computer and use it in GitHub Desktop.
Google Maps SDK(Android/iOS) で円を描く ref: http://qiita.com/amay077/items/f9f98afae215d822455d
var ICELAND = new LatLng(64.88, -18.32);
var LIBREVILLE = new LatLng(0.401, 9.459);
_map.AddCircle(new CircleOptions()
.InvokeCenter(ICELAND)
.InvokeStrokeColor(Color.Blue.ToArgb())
.InvokeStrokeWidth(5f)
.InvokeRadius(5000000)); // 500km
_map.AddCircle(new CircleOptions()
.InvokeCenter(LIBREVILLE)
.InvokeStrokeColor(Color.DarkGreen.ToArgb())
.InvokeStrokeWidth(5f)
.InvokeRadius(500000)); // 500km
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment