added gpx track length into popup
Fix spelling mistakes.
Allow tiles to be served over SSL. 

This avoids mixed content warnings caused by no-secure elements being loaded on a https page.
Check r.imageryProviders to prevent error when using OrdnanceSurvey bing maps
Added L.bingLayer function to create new L.BingLayer
- Added option display_wpt to choose between display waypoints or not!
Check if attributionControl exists, before remove/add.
Extending rotate method to icon shadow
correcting for when icon image does not exist
handling rotation when zooming
fixed: Permalink: repeated params whith useAnchor=false

Permalink with useAnchor=false uses ? instead of # as delimiter between
base URL and parameters. But the parameters are added twice ore more if
Permalink is clicked again.
Fixed Permalink: layer contains space char is ignored

The reason is: space characters of layer names get coded to %20 in a
permalink-URL. So the names do not match any more and the first
(default?) layer is choosen. Same happens for other special characters.
Fixed it with decodeURI().
check if console exists before calling method of console
replace space to tab
Merge pull request #60 from turban/bingLayer

Added L.bingLayer function to create new L.BingLayer
Merge pull request #71 from Tuxuri/master

Make leaftlet and Google Maps more synchronized, esp when zooming.
Merge pull request #70 from williammcrae/master

Extending marker rotate to include the shadow.
Merge pull request #69 from erf/master

check if AttributionControl exists before adding/removing it
Merge pull request #63 from raffas/master

Addedd option to remove Waypoints visualization
Merge pull request #78 from fiskus/f/console.debug-fix

Проверка на существование console