export comments

This commit is contained in:
Josh Baker 2016-04-02 19:23:56 -07:00
parent fa87ff78d7
commit 2bd1b29128
1 changed files with 14 additions and 7 deletions

View File

@ -5,13 +5,20 @@ package bing
import "math" import "math"
const ( const (
EarthRadius = 6378137.0 // The radius of the earth // EarthRadius is the radius of the earth
MinLatitude = -85.05112878 // The min lat EarthRadius = 6378137.0
MaxLatitude = 85.05112878 // The max lat // MinLatitude is the min lat
MinLongitude = -180.0 // The min lon MinLatitude = -85.05112878
MaxLongitude = 180.0 // The max lon // MaxLatitude is the max lat
TileSize = 256 // The size of a tile MaxLatitude = 85.05112878
MaxLevelOfDetail = 38 // The max level of detail // MinLongitude is the min lon
MinLongitude = -180.0
// MaxLongitude is the max lon
MaxLongitude = 180.0
// TileSize is the size of a tile
TileSize = 256
// MaxLevelOfDetail is the max level of detail
MaxLevelOfDetail = 38
) )
// Clips a number to the specified minimum and maximum values. // Clips a number to the specified minimum and maximum values.