com.maryanovsky.map.client.opengis.wms
Interface WmsProjection

All Superinterfaces:
Projection
All Known Implementing Classes:
Epsg4326Projection, Osgeo41001Projection

public interface WmsProjection
extends Projection

A WmsProjection adds the ability to convert from pixel coordinates to the projection's "native" coordinates. The "native" coordinates are the ones specified in a GetMap request.

Author:
Maryanovsky Alexander

Method Summary
 DoublePointView fromPixelToNative(int x, int y, int zoom)
          Converts the specified pixel coordinates to the "native" coordinates of the projection.
 
Methods inherited from interface com.maryanovsky.map.client.Projection
fromLatLngToPixel, fromPixelToLatLng, getWrapSize, getZoomMagnification
 

Method Detail

fromPixelToNative

DoublePointView fromPixelToNative(int x,
                                  int y,
                                  int zoom)
Converts the specified pixel coordinates to the "native" coordinates of the projection. Unlike Projection.fromPixelToLatLng(com.maryanovsky.gwtutils.client.geom.PointView, int) this method should return null if the specified location is outside the map.