modestmaps / modestmaps-js

Modest Maps javascript port
http://modestmaps.com
395 stars 73 forks source link

Fix off-by-one error #65

Closed Swatinem closed 11 years ago

Swatinem commented 11 years ago

Just assume we have a 1x1 viewport for which startCoord is 0/0 and endcoord will be rounded up to 1/1. Using <= would result in loading 4 tiles which is obviously not what we want for a 1x1 viewport.