John Smith schrieb:
> On 22 March 2010 15:09, Bernhard zwischenbrugger <[email protected]> wrote:
>   
>> Sorry:
>> Southwest: 0,0
>> Northeast: 90,180
>>     
>
> Are you after the middle WGS points or the middle points on a mercator grid 
>   
The 2 points must be converted to mercator.
In mercator the middle point is calculated.
After that there must be a conversion to WGS84 again.


My method call should be:
map.setBounds(southwest, northeast);

Think about a gpx line that should be shown on the map.

The formula should deliver values for
map.setCenter(center, zoom); //center is a point in WGS84.

Bernhard




_______________________________________________
talk mailing list
[email protected]
http://lists.openstreetmap.org/listinfo/talk

Reply via email to