1

How to place marker inside polygon (this polygon already on map)? My thoughts are: find a way to inscribe for example circle to the polygon and find a center of this circle (it is not problem), but can't find way to inscribe circle.

Method getCenter() on LatLngBounds works not as expected, because math center of polygon can be out of this polygon visually.

Vadim
  • 538
  • 2
  • 5
  • 23
  • Where about in the polygon do you want to place the marker? Do you want to place it manually or programically? How is the polygon generated? What have you done so far?. Have you a live link? These are just a few of the we need to help us help you – david strachan Dec 27 '12 at 15:51
  • possible duplicate of [What is the fastest way to find the center of an irregularly shaped polygon?](http://stackoverflow.com/questions/1203135/what-is-the-fastest-way-to-find-the-center-of-an-irregularly-shaped-polygon) – Dr.Molle Dec 27 '12 at 23:16

1 Answers1

0

As said Dr.Molle this is really duplicate of this question. So, for get center of polygon need to use programm realization of anything math algorithm for find center of polygon, there is no more easy way unfortunately.

Community
  • 1
  • 1
Vadim
  • 538
  • 2
  • 5
  • 23