MoSync 3.3
LonLat.h File Reference

Latitude and longitude coordinates, conversion to metres and pixels. More...

#include <MAUtil/Geometry.h>
#include <maapi.h>
#include "madmath.h"
#include "PixelCoordinate.h"

Classes

class  MAP::LonLatT< MagnificationT >
 This class maintains a coordinate in latitude / longitude, and provides conversion function to and from other coordinate systems. More...

Namespaces

namespace  MAP
 

MoSync slippy maps.


Typedefs

typedef LonLatT< int > MAP::LonLatI
typedef LonLatT< double > MAP::LonLatD
typedef LonLatT
< MagnificationType > 
MAP::LonLat

Functions

double MAP::resolution (double magnification)
double MAP::invResolution (double magnification)

Variables

static const double MAP::PI = 3.14159265358979323846
static const double MAP::InitialResolution = 2.0 * PI * 6378137.09 / 256
static const double MAP::InvInitialResolution = 256 / ( 2.0 * PI * 6378137.09 )
static const double MAP::OriginShift = PI * 6378137.09

Detailed Description

Latitude and longitude coordinates, conversion to metres and pixels.

Author:
Lars-Åke Vinberg
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines