WarningMarker has listener for map resize

Now the WarningMarker will attempt to redraw the marker at the appropriate size upon changing
the zoom level of the map.
Move Marker icon data to function

By separating the creation of the Marker icon data hash to a function, it can be reused
by the resize() routine.