Skip to content

Commit 8087ff8

Browse files
mguinnessjieter
authored andcommitted
HERE maps update (#307)
* Updated getting started link. * Removed 'Customer Integration Testing' environment as Freemium pricing has a generous allowance. * Update maps copyright notice to include current year.
1 parent fe258ab commit 8087ff8

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

leaflet-providers.js

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -415,19 +415,15 @@
415415
/*
416416
* HERE maps, formerly Nokia maps.
417417
* These basemaps are free, but you need an API key. Please sign up at
418-
* http://developer.here.com/getting-started
419-
*
420-
* Note that the base urls contain '.cit' whichs is HERE's
421-
* 'Customer Integration Testing' environment. Please remove for production
422-
* envirionments.
418+
* https://developer.here.com/plans
423419
*/
424420
url:
425-
'https://{s}.{base}.maps.cit.api.here.com/maptile/2.1/' +
421+
'https://{s}.{base}.maps.api.here.com/maptile/2.1/' +
426422
'{type}/{mapID}/{variant}/{z}/{x}/{y}/{size}/{format}?' +
427423
'app_id={app_id}&app_code={app_code}&lg={language}',
428424
options: {
429425
attribution:
430-
'Map &copy; 1987-2014 <a href="http://developer.here.com">HERE</a>',
426+
'Map &copy; 1987-' + new Date().getFullYear() + ' <a href="http://developer.here.com">HERE</a>',
431427
subdomains: '1234',
432428
mapID: 'newest',
433429
'app_id': '<insert your app_id here>',

0 commit comments

Comments
 (0)