Here you can find the source of toPixel(float meter)
public static float toPixel(float meter)
//package com.java2s; //License from project: Apache License public class Main { public static final float BOX_TO_WORLD = 100f; public static float toPixel(float meter) { return (float) meter * BOX_TO_WORLD; }/* w w w . j a v a2 s. c o m*/ }