Guest User

Untitled

a guest
Nov 19th, 2017
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.45 KB | None | 0 0
  1. createCircle(loc: LatLng){
  2.  
  3. return this.map.addCircle(
  4. {'center': loc,
  5. 'radius': 300,
  6. 'strokeColor' : '#AA00FF',
  7. 'strokeWidth': 5,
  8. 'fillColor' : '#880000'}
  9.  
  10. );;
  11.  
  12. }
  13.  
  14. circle:Circle;
  15.  
  16. createCircle(loc: LatLng){
  17.  
  18. this.circle = this.map.addCircle(
  19. {'center': loc,
  20. 'radius': 300,
  21. 'strokeColor' : '#AA00FF',
  22. 'strokeWidth': 5,
  23. 'fillColor' : '#880000'}
  24.  
  25. );
  26.  
  27. return this.circle;
  28. }
Add Comment
Please, Sign In to add comment