From adc9c521dfe6a0e99be25964694664e52c4f17dd Mon Sep 17 00:00:00 2001 From: Bryan Housel Date: Wed, 13 Jun 2018 16:39:41 -0400 Subject: [PATCH] Final style tweaks, back to z16.5 to avoid hitting 1000 bubble limit --- css/60_photos.css | 8 ++++---- modules/services/streetside.js | 4 +++- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/css/60_photos.css b/css/60_photos.css index 7d5fa1ebb..f3d52988b 100644 --- a/css/60_photos.css +++ b/css/60_photos.css @@ -119,11 +119,11 @@ pointer-events: none; } .layer-streetside-images .viewfield-group * { - fill: #0de6b0; + fill: #0fffc4; } .layer-streetside-images .sequence { - stroke: #0de6b0; - stroke-opacity: 0.7; /* slight bump - only one per road */ + stroke: #0fffc4; + stroke-opacity: 0.85; /* bump opacity - only one per road */ } @@ -176,7 +176,7 @@ } .ms-wrapper .photo-attribution a:active, .ms-wrapper .photo-attribution a:hover { - color: #0de6b0; + color: #0fffc4; } .ms-wrapper .pnlm-compass.pnlm-control { diff --git a/modules/services/streetside.js b/modules/services/streetside.js index 062cdd7dc..d4dbb2c0d 100644 --- a/modules/services/streetside.js +++ b/modules/services/streetside.js @@ -26,7 +26,8 @@ var streetsideImagesApi = 'https://t.ssl.ak.tiles.virtualearth.net/tiles/'; var bubbleAppKey = 'AuftgJsO0Xs8Ts4M1xZUQJQXJNsvmh3IV8DkNieCiy3tCwCUMq76-WpkrBtNAuEm'; var pannellumViewerCSS = 'pannellum-streetside/pannellum.css'; var pannellumViewerJS = 'pannellum-streetside/pannellum.js'; -var tileZoom = 15; +var maxResults = 2000; +var tileZoom = 16.5; var dispatch = d3_dispatch('loadedBubbles', 'viewerChanged'); var _currScene = 0; var _ssCache; @@ -241,6 +242,7 @@ function getBubbles(url, tile, callback) { s: rect[1], e: rect[2], w: rect[0], + c: maxResults, appkey: bubbleAppKey, jsCallback: '{callback}' });