classygmaps
classygmaps copied to clipboard
Scale Bar
Where is MILES? Got to have MILES. Our blocks are measured in parcels of MILES.
Sadly the API doesnt have any options to use alternate units
https://developers.google.com/maps/documentation/javascript/3.exp/reference#ScaleControlOptions
The Scale Bar can not have both? Is it not just a graphic overlay?
No Try zooming, it dynamically rescales. The discrete scales are not are not nice round numbers On 28 Feb 2016 12:53, "fm-usa" [email protected] wrote:
The Scale Bar can not have both? Is it not just a graphic overlay?
— Reply to this email directly or view it on GitHub https://github.com/barryhunter/classygmaps/issues/104#issuecomment-189864585 .
I know you're trying to keep it OEM to what it was, but any improvements? Like a transparent floating circle scale? It be a Drag and Measure.
[ Any chance, you bought a used Goldwing last year ]
Nothing to do with OEM, just lazy. The existing scale bar is just a matter of toggling the option in the API. To do anything more would need to create it manually.
fm, in case you're not aware, clicking on the scale bar will toggle it between miles and kilometers. :) I see Google Maps defaults to miles for me, but I don't know how they decide what the default is. Presumably based on geolocation of the server. Anyway, http://stackoverflow.com/a/25600717/2877364 has one suggestion - manually trigger click()
on the scale-bar control after load.
For what it's worth, here's the open issue requesting Google add this to the API.
Ha, I never knew that either. Neat.
Thanks, I did know the Miles/Kilo switching. I just wish there was a 'drag and hover' miles bar or circle with a center dot. I also suggested that to GOOFle but went on deaf ears I guess.
From: cxw42 Sent: Wednesday, March 02, 2016 11:36 AM To: barryhunter/classygmaps Cc: fm-usa Subject: Re: [classygmaps] Scale Bar (#104)
fm, in case you're not aware, clicking on the scale bar will toggle it between miles and kilometers. :) I see Google Maps defaults to miles for me, but I don't know how they decide what the default is. Presumably based on geolocation of the server. Anyway, http://stackoverflow.com/a/25600717/2877364 has one suggestion - manually trigger click() on the scale-bar control after load.
— Reply to this email directly or view it on GitHub.