On Mon, 2012-06-25 at 00:21 +0800, Mathieu Bridon wrote:
On Sun, 2012-06-24 at 02:34 -0700, Dan Mashal wrote:
> It's a +/- thing.
Not necessarily, it could be more complicated than that.
There are various coordinates system in use in the world, depending
mostly on the country (but not only, some countries can decide to change
their standard coordinate system from time to time).
So for example, take a point somewhere in the East of France. It could
have different coordinates depending on the used projection system:
- 48°35´59.9" / 7°44´12.2" in WGS84 Greenwich
- 2413822m / 998137m in NTF extended Lambert II
(note how they don't even use the same units)
So IMHO, what's really needed to locate yourself properly on the
ambassadors map is to know what is the projection system used by the
Firebug tells me it seems to be "EPSG:4326", so that's the system people
need to search their coordinates in.
Alternatively, it is trivial with the OSM API to display the coordinates
(in the right projection system) of the point under the mouse pointer,
so that ambassadors can quickly know what to enter in FAS.
Patches attached, with a bit of cleanup.
Hehe, What did I say about projection systems being confusing?
Turns out I broke everything with my previous patch... because I failed
at using the right system. :)
Here are the actual patches which make everything work.