Open GoogleCodeExporter opened 9 years ago
The default for icons are anchored the same as google maps icons are
anchored...
Specifying your own icon should help.. though there isnt yet support for doing
so
inside the kml.
Original comment by lanceala...@gmail.com
on 15 May 2009 at 11:17
Think I misunderstood...that behavior is wierd, because nozoom shouldnt have
any
impact without your examples I would have said they are unrelated.
Original comment by lanceala...@gmail.com
on 16 May 2009 at 1:45
Thanks for your response.
To make the report less ambiguous, I've removed the custom icon on two markers
in the
KML of the example links. The same effect happens with "your" icons.
Oh .. and I found where. You override marker.showInfoWindowHTML if this.map is
set in
line 3705 and below. If I dont pass "nozoom", this.map is not set (there),
otherwise
it is set - dont know why. So if I dont pass nozoom, the original
showInfoWindowHTML
is used, otherwise yours is used.
Your override reads
this.map.openInfoWindowHtml( this.getPoint(), html, opts ); }
which doesnt take the infoWindowOffset into account ?
I'm not sure *why* all that code is there, so I'm just going to workaround it
in my
version :-)
*-pike
Original comment by pike-common@kw.nl
on 19 May 2009 at 3:44
Original issue reported on code.google.com by
pike-common@kw.nl
on 15 May 2009 at 5:26