yenbao1340 / gmaps-utility-library-dev

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

constructor and addmarker maxZoom problems #75

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
I added a marker using .addMarker at zoom level 18 or 19 in satellite view 
when the max google map zoom level for the area was 17 and it wouldnt 
appear unless i zoomed out to level 16 or did a .refresh. I was able to 
fix the issue with { maxZoom: 19 } in the constructor, but the reference 
states that maxZoom "is also used when markers are added to the manager 
without the optional maxZoom parameter.", but if i dont set maxZoom in the 
constructor and set maxZoom in the addMarker to 19, i get a javascript 
error "var gridCol = grid[x];" in firebug.

Original issue reported on code.google.com by ypha...@gmail.com on 15 Dec 2008 at 4:53