Closed Gitek1 closed 11 years ago
Check it.
I don't see clouds working.
Why all labels on the map are hidden when you enable weather? I would leave labels on, even if things become more crowded, because layers in general it would be useful to have labels on.
Fixed.
I see clouds when zoomed out. I removed them in last commit, I guess they are not that usable.
I think labels cant be shown in weather mode, there is no option in documentation. Documentation says ( https://developers.google.com/maps/documentation/javascript/layers#WeatherLayer ): "When the weather layer is enabled and the zoom level is set to 12 or lower, administrative labels, such as the names of streets or regions, will be disabled on your map"
I would have cloud layer. If not, it looks interesting. :-) It is already optional. But also later on we can make people be able to configure which layers to see.
OK, then if this is how weather layer behaves, let it be.
Can you maybe add a tooltip over the layer entry in the list on the right? Then we could have a tooltip like "Hides labels on zoom level 12 or lower."
Fixed.
I don't think weather option needs a tooltip, clouds may be more problematic.
I don't think weather option needs a tooltip, clouds may be more problematic.
A tooltip explaining why labels disappeared? I think this is useful because if people enable more layers at the same time, to understand which one hide labels.
What is the issue with clouds?
One more thing I found out. It is better to use .attr
when defining new DOM in the code, and .prop
when you want to set or access current values after DOM was in use.
Fixed.
The thing with clouds is that they don't show, even if enabled, when you are zoomed in. When user clicks the weather something happens no matter what zoom level the user is on.
So it is not possible to configure tooltip ("title" DOM attribute) for clouds and weather. Something like:
Otherwise good.
Added tooltips
Added checkbox for weather, clouds and panorama layer.