![]() ![]() When the user clicks the map, the getCurrentWeatherData function is called.This function will dismiss any current popup and change the units (imperial or metric) used in any subsequent popup. When the user changes the “Units” selection, the updateUnits function is called.This function will change the OpenWeatherMap layer that is overlaid on the TomTom map. When the user changes the “Weather Layer” selection, the updateLayer function is called. ![]() This function will find the location indicated in the “Location” text box and center/zoom the map to that location.
0 Comments
Leave a Reply. |