[Google Maps API v3] Re: Automatic shadows?

2011-12-28 Thread David Karger
If you want your shadow to reflect the icon's transparency it's more challenging. But if you just want a uniformly grey shadow, you can get it by drawing "over" the icon using "destination-in" compositing (and approprite transformations). -- You received this message because you are subscribe

[Google Maps API v3] map.getBoundsZoomLevel replacement?

2011-12-28 Thread David Karger
It appears that the getBoundsZoomLevel method from v2 is not available in v3. Is there a replacement I can use to tell me what zoom level I will need to fit given bounds in view? PanToBounds only shifts the view, but doesn't change the zoom. And I want to calculate the needed zoom, and not j

[Google Maps API v3] Automatic shadows?

2011-12-20 Thread David Karger
Given that there is a standard recommendation for Shadows (diagonally to the right) it would be nice if we could specify that a marker should use a "default shadow" (e.g. by setting shadowIcon=true) and have gmaps construct it for us. -- You received this message because you are subscribed to

[Google Maps API v3] Specify marker as canvas instead of url?

2011-12-17 Thread David Karger
I'm revising a web application (http://simile-widgets.org/exhibit) to generate relatively complex marker icons using canvas. In particular, I need to be able to specify an image (via a url), but also to crop that image to a shape that I draw. For reasons detailed below, it would be very usef

[Google Maps API v3] Pass markers as canvas instead of urls?

2011-10-30 Thread David Karger
I'm generating lots of custom markers for my maps at runtime using canvas. Given that gmaps is also using canvas, there's some annoying wasted computation involved in extracting my canvas as a data: url and passing it to gmaps as the url of a marker so that gmaps can parse the data url as an i

[Google Maps API v3] Increase Info Window Maximum Height

2011-10-18 Thread David Karger
I just spent a couple of hours tracking down an InfoWindow bug that turned out to be a v3 "feature". InfoWindows size to fit around their contents. But they refuse to set heights larger than the containing map. Instead, if your content is too large, it run outside the bottom of the infoWindow