From 7d764ff2b8b481d8dce061df6a845dc7ee3f475e Mon Sep 17 00:00:00 2001 From: Jan-Piet Mens Date: Thu, 1 Oct 2015 10:28:40 +0200 Subject: [PATCH] autozoom color if ?fit= --- docroot/last/functions.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docroot/last/functions.js b/docroot/last/functions.js index 305dc16..f67091e 100644 --- a/docroot/last/functions.js +++ b/docroot/last/functions.js @@ -51,7 +51,7 @@ function ButtonControl(controlDiv, map) { // Set CSS for the control interior. var controlText = document.createElement('div'); - controlText.style.color = 'rgb(25,25,25)'; + controlText.style.color = (do_fit) ? 'rgb(0,153,0)' : 'rgb(25,25,25)'; controlText.style.fontFamily = 'Roboto,Arial,sans-serif'; controlText.style.fontSize = '16px'; controlText.style.lineHeight = '38px';