diff --git a/inst/htmlwidgets/mapdeck_location.js b/inst/htmlwidgets/mapdeck_location.js
index cbedc954..1062d4c2 100644
--- a/inst/htmlwidgets/mapdeck_location.js
+++ b/inst/htmlwidgets/mapdeck_location.js
@@ -15,8 +15,6 @@ function md_change_location( map_id, map_type, location, zoom, pitch, bearing, d
window[map_id + 'map'].setZoom( zoom );
} else {
- console.log( window[ map_id + 'map' ].viewState.longitude );
-
if ( window[ map_id + 'map'].viewState["default-view"] !== undefined ) {
currentViewState = window[ map_id + 'map'].viewState["default-view"];
@@ -34,9 +32,6 @@ function md_change_location( map_id, map_type, location, zoom, pitch, bearing, d
currentMaxPitch = currentViewState.maxPitch;
currentMinPitch = currentViewState.minPitch;
-
- console.log( currentLon );
-
window[map_id + 'map'].setProps({
initialViewState: {
longitude: currentLon,