Skip to content

Commit

Permalink
fix lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
zandre-eng committed Sep 15, 2023
1 parent 83a86fe commit f7166c6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions corehq/apps/geospatial/static/geospatial/js/gps_capture.js
Original file line number Diff line number Diff line change
Expand Up @@ -152,13 +152,13 @@ hqDefine("geospatial/js/gps_capture",[
var initMap = function (centerCoordinates) {
'use strict';

mapboxgl.accessToken = initialPageData.get('mapbox_access_token');
mapboxgl.accessToken = initialPageData.get('mapbox_access_token'); // eslint-disable-line no-undef

if (!centerCoordinates) {
centerCoordinates = [2.43333330, 9.750]; // should be domain specific
}

const map = new mapboxgl.Map({
const map = new mapboxgl.Map({ // eslint-disable-line no-undef
container: 'geospatial-map', // container ID
style: 'mapbox://styles/mapbox/streets-v12', // style URL
center: centerCoordinates, // starting position [lng, lat]
Expand Down

0 comments on commit f7166c6

Please sign in to comment.