googlemaps
Advanced tools
Comparing version 0.1.16 to 0.1.17
@@ -10,3 +10,3 @@ var qs = require('querystring'), | ||
// define constants | ||
var PLACES_RANKBY_DEFAULT = 'prominence' | ||
var PLACES_RANKBY_DEFAULT = 'prominence'; | ||
var PLACES_RANKBY_DISTANCE = 'distance'; | ||
@@ -63,3 +63,3 @@ | ||
rankby = rankby || PLACES_RANKBY_DEFAULT | ||
rankby = rankby || PLACES_RANKBY_DEFAULT; | ||
if (rankby !== PLACES_RANKBY_DEFAULT && rankby !== PLACES_RANKBY_DISTANCE) { | ||
@@ -276,4 +276,3 @@ rankby = PLACES_RANKBY_DEFAULT; | ||
// http://code.google.com/apis/maps/documentation/staticmaps | ||
exports.staticMap = function(center, zoom, size, callback, sensor , | ||
maptype, markers, styles, paths) { | ||
exports.staticMap = function(center, zoom, size, callback, sensor, maptype, markers, styles, paths) { | ||
var args = { | ||
@@ -348,4 +347,3 @@ 'center': center, | ||
// http://code.google.com/apis/maps/documentation/streetview | ||
exports.streetView = function(size, location, callback, sensor, | ||
heading, fov, pitch) { | ||
exports.streetView = function(size, location, callback, sensor, heading, fov, pitch) { | ||
var args = { | ||
@@ -352,0 +350,0 @@ 'size': size, |
{ | ||
"name": "googlemaps", | ||
"version": "0.1.16", | ||
"version": "0.1.17", | ||
"main": "./lib/googlemaps", | ||
@@ -5,0 +5,0 @@ "description": "A simple way to query the Google Maps API from Node.js", |
22558
472