From 4b4beb383c6ab72fa62d1c6d79fddcac7b15eb91 Mon Sep 17 00:00:00 2001 From: Tom Bousso Date: Tue, 17 Feb 2015 20:20:28 -0800 Subject: [PATCH 1/9] Center the map initially This commit eliminates the need to move the map to your location every time you open the page by assuming the first plane that's picked up is in the same general area as all the others which will be picked up, which is a reasonable assumption for most use cases. This might be preferable to continually setting the center based on the plane data because this method doesn't remove any freedom from the user to pan around the map manually. --- gmap.html | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/gmap.html b/gmap.html index b39a30a22..102fd57ee 100644 --- a/gmap.html +++ b/gmap.html @@ -38,6 +38,7 @@ src="https://maps.googleapis.com/maps/api/js?sensor=true">