I am using Leaflet and OpenLayers. When I draw a bounding box I am getting the correct lat and lon if I use OpenStreetMap tilelayer. When I switch to using EarthData tilelayer the bounding box is incorrect. Map

Using this layer bring incorrect bounding box


gives correct bounding box.


Thanks for all the help. I changed the tileLayer to use the default projection for leaflet //gibs-{s}.earthdata.nasa.gov/wmts/epsg3857/best/MODIS_Terra_CorrectedReflectance_TrueColor/default/'+tile_date+'/EPSG3857_250m/{z}/{y}/{x}.jpg

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.