Menu

#4 Abstract GProjection

open
nobody
5
2015-01-30
2007-10-02
Anonymous
No

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\)
\{

\}

}

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.