yenbao1340 / gmaps-utility-library-dev

Automatically exported from code.google.com/p/gmaps-utility-library-dev
0 stars 0 forks source link

Mapsicle - make width/height params optional on SVMarker constructor #176

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
A lot of times, you may not really even want an info window, just a graphic
on the street view.  Therefore specifying the info window width/height in
the SVMarker constructor is unnecessary.  However, if you leave it out, the
marker fails to draw on the street view.

Original issue reported on code.google.com by chimpath...@gmail.com on 24 Dec 2009 at 5:28

GoogleCodeExporter commented 8 years ago
On further investigation, I wonder if I'm understanding what this parameter is 
for. 
I tried making it smaller and this makes my icon smaller.  I'm wonder if it's 
just
confusion over what an "info window" actually is.  It seems like it may refer 
to the
marker itself.  Maybe the real suggestion is just a better rewriting of the 
docs on
this part.

Original comment by chimpath...@gmail.com on 24 Dec 2009 at 5:33

GoogleCodeExporter commented 8 years ago

Original comment by pamela.fox on 26 Dec 2009 at 12:18

GoogleCodeExporter commented 8 years ago
Sorry, I just wrote "info window" when I meant "marker" in the documentation. 
The
width and height in SVMarkerParams refer to the size of the marker: if a 
location has
an info window its size is completely independent.

I've updated the docs.

Original comment by stephend@gmail.com on 4 Jan 2010 at 9:14