Jump to content

Using Google maps with Weather js


Recommended Posts

Hello with this function i would like to add city and towns locations and add the iso bars like on this website site witch i have key for Willy Weather how can set this up using the get Element


Kind regards Michael

		    function initmap() {
			    var location =  {lat: -25.363, lng: 131.044};
				var map = new google.maps.Map(document.getElementById("map")),{
					center: location
    'click', function() {
        if ( weatherDisplayIsOn ) {
            weatherLayer.setMap( null );
            weatherDisplayIsOn = false;
        else {
            weatherLayer.setMap( map );
            weatherDisplayIsOn = true;
                new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],


Edited by stormtracker
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...