Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I would like to add weather layer to one particular map.
I am wondering if by a custom module I can call a hook and then add weather layer to a particular map. I don't want anything fancy for user UI. Only coding shall work.
Please guide me. After I work on it, I will add the code here for community :)
Thanks for reading this.
Comment | File | Size | Author |
---|---|---|---|
#4 | gmap_1931044_weather_cloud_layer.patch | 1.63 KB | johnv |
Comments
Comment #1
podaroklooks like this is for dev version
Comment #2
johnvComment #3
shenagarg CreditAttribution: shenagarg commentedBasically I would like to have support since I would like to include this layer in my website in few days.
I can do custom programming, if you please provide some information on hooks which I can access using another module.
Thanks
Comment #4
johnvAttached patch is just a start: it works, but doen't have any config settings, and is a streight copy from the Google example.
It adds the weather library, the weather and the cloud layer, and a click-listener.
Feel free to amend.
Comment #5
podaroktrailing whitespace error
Comment #6
anpolimusComment #7
anpolimusWheather layer is deprecated at current Google maps API.
http://googlegeodevelopers.blogspot.com.au/2014/06/sunsetting-javascript...