Adding geolib
This commit is contained in:
parent
6f5d9ca6bf
commit
10599e9c66
@ -12,6 +12,7 @@
|
||||
"dependencies": {
|
||||
"express": "~4.5.1",
|
||||
"mysql": "^2.5.0",
|
||||
"underscore": "^1.6.0"
|
||||
"underscore": "^1.6.0",
|
||||
"geolib": "~2.0.14"
|
||||
}
|
||||
}
|
||||
|
@ -29,9 +29,11 @@
|
||||
'use strict';
|
||||
|
||||
var _ = require('underscore');
|
||||
var geolib = require('geolib');
|
||||
var mysql = require('mysql');
|
||||
var pool = null;
|
||||
|
||||
|
||||
function innerProduct(values1, values2) {
|
||||
var result = 0.0;
|
||||
|
||||
|
@ -33,6 +33,7 @@ var express = require('express');
|
||||
var path = require('path');
|
||||
var search = require('./search.js');
|
||||
|
||||
|
||||
function main(staticFiles, port) {
|
||||
var app = express();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user