convert longitude To Meters - Java java.lang

Java examples for java.lang:Math Convert

Description

convert longitude To Meters

Demo Code


//package com.java2s;

public class Main {
    static public double convertLngToMeters(double lng) {
        return lng * 20037508.342789244 / 180;
    }/*from www  .jav  a 2s  .  c om*/
}

Related Tutorials