Solved

Google Maps - Scale legend

Posted on 2010-11-17
2
724 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

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

Suggested Solutions

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…

747 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

14 Experts available now in Live!

Get 1:1 Help Now