Solved

Google Maps - Scale legend

Posted on 2010-11-17
2
730 Views
Last Modified: 2012-05-10
How do you make the "scale" legend appear on a Google Map created with the API?

By "scale" I mean the "lines" annotation in the lower left that shows a mile & a km (or less if at high res).
0
Comment
Question by:Richard Korts
2 Comments
 
LVL 13

Accepted Solution

by:
Molnar István earned 500 total points
ID: 34156304
in v2 of google maps you could use :
map.addControl(new GScaleControl());

in the newer one:
http://code.google.com/intl/hu/apis/maps/documentation/javascript/reference.html#ScaleControlOptions

hope it helps
0
 

Author Closing Comment

by:Richard Korts
ID: 34156370
I figured it out before you answered. See my other questions, another shortly forthcoming.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
.msp installer files on Server 2008 4 486
Mobile Phone Proximity Marketing 6 1,114
Holey Square 3 115
Query GPS coordinates in MSSQL from QGIS 3 41
I feel like more and more people want to know how to programmatically convert addresses into geospatial locations. So in this article, I will show you how you can do it with Bing Maps. I'm going to use PowerShell, which is a nice scripting language,…
Introduction This article is designed to assist GIS (Geographic Information System) and GPS (Global Positioning System) developers using ESRI ArcGIS and other spatial information management systems.   For the uninitiated the concept of projectio…
This tutorial demonstrates how to identify and create boundary or building outlines in Google Maps. In this example, I outline the boundaries of an enclosed skatepark within a community park.  Login to your Google Account, then  Google for "Google M…
This tutorial walks through the best practices in adding a local business to Google Maps including how to properly search for duplicates, marker placement, and inputing business details. Login to your Google Account, then search for "Google Mapmaker…

919 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now