googlemaps
Advanced tools
Comparing version 0.1.17 to 0.1.18
@@ -350,3 +350,3 @@ var qs = require('querystring'), | ||
if (heading) { | ||
heading = parseInt(heading); | ||
heading = parseInt(heading, 10); | ||
if (heading >= 0 && heading <= 360) { | ||
@@ -357,3 +357,3 @@ args.heading = heading; | ||
if (fov) { | ||
fov = parseInt(fov); | ||
fov = parseInt(fov, 10); | ||
if (fov >= 0 && fov <= 120) { | ||
@@ -364,3 +364,3 @@ args.fov = fov; | ||
if (pitch) { | ||
pitch = parseInt(pitch); | ||
pitch = parseInt(pitch, 10); | ||
if (pitch >= -90 && pitch <= 90) { | ||
@@ -367,0 +367,0 @@ args.pitch = pitch; |
{ | ||
"name": "googlemaps", | ||
"version": "0.1.17", | ||
"version": "0.1.18", | ||
"main": "./lib/googlemaps", | ||
@@ -5,0 +5,0 @@ "description": "A simple way to query the Google Maps API from Node.js", |
22570