<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Help Getting Google-Route Module to Zoom Map]]></title><description><![CDATA[<p dir="auto">I’m trying to get the google-route module to zoom in on the map it generates for the routes.  Currently, the map returned for my directions is too big and the routes too small.</p>
<p dir="auto">Based on my reading to date, it looks like you can control the zoom through mapOptions however, I haven’t had any luck and I’m out of ideas.  Below is my config.js file that shows how I’ve written the zoom function.  Ideas?</p>
<p dir="auto">Thanks</p>
<pre><code>		{
            		module: 'MMM-google-route',
            		position: 'bottom_bar',
                        header: 'Which Commute Sucks Less',
			config: {
                	key: 'key',
                	directionsRequest:{
                    		origin: '30.388259,-86.507500',
                    		destination: '30.482197,-86.503158'
                		},
			mapOptions:{
				zoom: 10
				}
            		}
        	},

</code></pre>
]]></description><link>https://forum.magicmirror.builders/topic/10941/help-getting-google-route-module-to-zoom-map</link><generator>RSS for Node</generator><lastBuildDate>Sun, 12 Apr 2026 00:07:07 GMT</lastBuildDate><atom:link href="https://forum.magicmirror.builders/topic/10941.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 10 Aug 2019 05:46:10 GMT</pubDate><ttl>60</ttl></channel></rss>