I am creating a custom map with linear projection and I would like GScaleControl to work with it. The sample code is available at http://evonymap.com . The GScaleControl does not determine scales in any rational fashion from my GProjection implementation, but it works fine if my instance was replaced with a GMercatorProjection, which the map doesn't use. Does anyone have an idea what specifically ties up the GScaleControl to GMercatorProjection to make it work?
I was following up on an old thread at http://groups.google.ca/group/Google-Maps-API/browse_thread/thread/d75fc4e46659b4e7/76d66453184f1e0f?lnk=gst&q=gscalecontrol#76d66453184f1e0f and was hoping there is a solution by now. A more specific question is which coordinates does GScaleControl use with GLatLng.distanceFrom(a) to figure out the scale? What "a" and "this" are being used? I doubt it will help, but it's worth a try. I think this control is very useful. Thank you. - Novi --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Maps API" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/Google-Maps-API?hl=en -~----------~----~----~----~------~----~------~--~---
