1. Home
  2. Docs
  3. Airspace
  4. Google map

Google map

To set your location, go to theme root directory, open js folder, find main.js edit it with text editor (like Notepad++). Go to line main.js and change the latitude and longitude. First one is latitude and second one is longitude. To find your locations latitude and longitude, click here
jQuery Code
[code language=”javascript”]
var map;
function initMap() {
map = new google.maps.Map(document.getElementById(‘map’), {
center: {lat: -34.397, lng: 150.644},
zoom: 8
});
}
[/code]

If you want to change styles of the google map check this site

Was this article helpful to you? Yes No

How can we help?