-
Notifications
You must be signed in to change notification settings - Fork 14
Config provider
Dmytro Verbovyi edited this page Apr 19, 2018
·
3 revisions
HereMapsConfigProvider.setOptions({
app_id: 'your_app_id_here', // required
app_code: 'your_app_code_here', // required
apiVersion: '3.0',
useHTTPS: true,
useCIT: true,
mapTileConfig: {
scheme: 'normal.day',
size: 256,
format: 'png8',
metadataQueryParams: {}
}
});
Params app_id and app_code are required, other are optional.
Param mapTileConfig allow as set up custom map style as per documentation.
Fo example to add diferent view of the map we can set scheme param:
scheme: 'reduced.day'
To add support of the other language we can set metadataQueryParams param:
metadataQueryParams: {'lg2': 'ara'}