Abstract GProjection
Brought to you by:
lenulus
Would like to see a GAbstractProjection class, similar to GAbstractTileLayer, so that the user can create customized GProjection in java instead of write in javascript. For example
public class MyProjection extends GAbstractProjection {
public GLatLng fromPixelToLatLng\(GPoint pixel, int zoom, boolean unbounded\) \{ // do math in java \} public GLatLng fromPixelToLatLng\(GPoint pixel, int zoom\) \{ // do math in java \} public void tileCheckRange\(GPoint tile, int zoom, int tilesize\) \{ \} public int getWrapWidth\(int zoom\) \{ \}
}