Hi Artur,
Your d="M462..." string is basically a set of instructions to move a
virtual "pen" to draw a series of straight-line sections to make up a
polygon. The "M" and "L" parts of the string are commands which tell the
"pen" where to go and what to do; so
M462 399
instructs the "pen" to Mo
This is certainly possible, but I would not recommend it, for the simple
reason that many thousands of points could be generated in this way in just
a couple of seconds.
You could use something like this (not tested) :
var aPolyPts = [];// Global
var userDrawnPoly = new google.maps.Polylin
Hi Chandan,
You mention that the fitbounds(...) worked for " particular radius change",
and I presume you mean that it worked only sometimes, and not always. My
guess is that it only worked when that radius was INCREASED, thus
necessitating a zoom out. If I'm right, then the trick is to always