var map = L.map('map').setView([-29.95315222951503, 24.57483478], 6);
/*
HERE.normalGreyDay
HERE.satelliteNoLabelsDay
HERE.satelliteYesLabelsDay
HERE.terrainDay
*/
L.tileLayer.provider('HERE.terrainDay', {
app_id: '***',
app_code: '***'
}).addTo(map);
<script src="//cdnjs.cloudflare.com/ajax/libs/leaflet/0.7.3/leaflet.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/leaflet-providers/1.0.7/leaflet-providers.min.js"></script>
However when changing the map variant to any other than the one used in the example from README.md
, namely 'HERE.terrainDay'
, the following message appears to console:
uncaught exception: No such variant of HERE (normalGreyDay)