Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Hunter T Jozwiak
whats-open-web
Commits
3375756c
Commit
3375756c
authored
Jan 19, 2018
by
Mattias J Duffy
Browse files
fixing a strange graphical error
parent
9bd1ae60
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/utils/mapboxUtils.js
View file @
3375756c
...
...
@@ -70,17 +70,14 @@ const getGeoLine = (mapboxClient, start, end) => {
};
/**
* Calculates the number of days between dayFrom and dayTo.
*
* @returns {array} the bounds of the George Mason Fairfax Campus
*/
const
getMaxBounds
=
(
campus
)
=>
{
console
.
log
(
'
holy fuck this is working
'
);
console
.
log
(
campus
);
console
.
log
(
campusBounds
[
campus
]);
return
[
*[
[-77.321649, 38.823919], // Southwest coordinates
[-77.295213, 38.835720] // Northeast coordinates
];
* @returns {array} the bounds of the George Mason Fairfax Campus
*/
const
getMaxBounds
=
(
campus
)
=>
{
return
campusBounds
[
campus
];
};
export
{
addRoute
,
getGeoLine
,
getMaxBounds
};
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment