Note: This tutorial is for depreciated versions of Google Maps and should no longer be used. The updated version has direct access to the zoom level in the Google Map Dreamweaver interface. Zoom settings are found on page 4 of the interface. Use that instead.
By default your Pro Maps for Google map centers on the default location, at a specific zoom level. With a simple modification to the code, you can customize your map to display at whichever zoom level you choose.
The first step is to locate and open the wagmp_map file that is stored in the google_javascript directory. If you have created multiple Google maps in your site, there will be multiple versions of this file. It is important that you modify the correct file.
<script type="text/javascript" src="plugins/plugins/plugins/google_javascript/wagmp_map_1.js">/*wagmp*/</script>
<script type="text/javascript"> /*wagmp*/ <?php include("google_javascript/wagmp_map_1.php"); ?></script>
Now, by simply inserting a small piece of code, you can specify whatever zoom level you require.
map.setZoom(N);
Comments will be sent to the author of this tutorial and may not be answered immediately. For general help from WebAssist, please visit technical support.
Sign in to add commentsYour friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.
These out-of-the-box solutions provide you proven, tested applications that can be up and running now. Build a store, a gallery, or a web-based email solution.