Skip to content

Instantly share code, notes, and snippets.

@here-devblog-gists
Created October 27, 2016 11:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save here-devblog-gists/62ebdb722710fdbc083cd4f12e621304 to your computer and use it in GitHub Desktop.
Save here-devblog-gists/62ebdb722710fdbc083cd4f12e621304 to your computer and use it in GitHub Desktop.
var mapContainer = document.getElementById('map-container');
var platform = new H.service.Platform({
app_id: ‘…’, // // <-- ENTER YOUR APP ID HERE
app_code: ‘…’, // <-- ENTER YOUR APP CODE HERE
});
var HEREHQcoordinates = {
lat: 52.530974,
lng: 13.384944
};
var mapOptions = {
center: HEREHQcoordinates,
zoom: 14
};
var map = new HEREMap(mapContainer, platform, mapOptions);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment