Skip to main content
deleted 25 characters in body; edited tags; edited title
Source Link
PolyGeo
  • 65.4k
  • 29
  • 114
  • 345

ESRI Esri leaflet plugin only showing north americaNorth America tile?

I am using the esri-leaflet plugin to connect to an internally hosted Arc gis serverArcGIS Server. I have tried using a basemap or tilemap implementation but get the same results with both. The problem is that I am only seeing North America and South America with the same tile starting over again at the prime meridian. I can find the tiles for europe and Asia by looking at them on the arcgis server so I know they are there. My arcgis server

My ArcGIS Server (set up by someone long gone) is saying we are using spatial reference of 4326. Leaflet

Leaflet Esri plugin states this -

Your map service must be published using the Web Mercator Auxiliary Sphere tiling scheme (WKID 102100/3857) and the default scale option used by Google Maps, Bing Maps and ArcGIS Online. Esri Leaflet will not support any other spatial reference for tile layers.

My question is amAm I able to use this Esri leaflet plugin or do I need the proj4Leaflet with a new CRS projection setting? I

I think I am getting tripped up on the tiling scheme of this pre-existing ArcGis server and don't know how to get a leaflet 2D map to work with it. Thanks for your help!

Some example code -

var crs = L.CRS.EPSG4326;
var map = L.map("map").setView([1,1],1); //just picked a random spot. 
L.esri.tiledMapLayer({
  url: myUrl,
  crs:crs,
  minZoom:0,
  maxZoom:12
}).addTo(map);

ESRI leaflet plugin only showing north america tile

I am using the esri-leaflet plugin to connect to an internally hosted Arc gis server. I have tried using a basemap or tilemap implementation but get the same results with both. The problem is that I am only seeing North America and South America with the same tile starting over again at the prime meridian. I can find the tiles for europe and Asia by looking at them on the arcgis server so I know they are there. My arcgis server (set up by someone long gone) is saying we are using spatial reference of 4326. Leaflet Esri plugin states this -

Your map service must be published using the Web Mercator Auxiliary Sphere tiling scheme (WKID 102100/3857) and the default scale option used by Google Maps, Bing Maps and ArcGIS Online. Esri Leaflet will not support any other spatial reference for tile layers.

My question is am I able to use this Esri leaflet plugin or do I need the proj4Leaflet with a new CRS projection setting? I think I am getting tripped up on the tiling scheme of this pre-existing ArcGis server and don't know how to get a leaflet 2D map to work with it. Thanks for your help!

Some example code -

var crs = L.CRS.EPSG4326;
var map = L.map("map").setView([1,1],1); //just picked a random spot. 
L.esri.tiledMapLayer({
  url: myUrl,
  crs:crs,
  minZoom:0,
  maxZoom:12
}).addTo(map);

Esri leaflet plugin only showing North America tile?

I am using the esri-leaflet plugin to connect to an internally hosted ArcGIS Server. I have tried using a basemap or tilemap implementation but get the same results with both. The problem is that I am only seeing North America and South America with the same tile starting over again at the prime meridian. I can find the tiles for europe and Asia by looking at them on the arcgis server so I know they are there.

My ArcGIS Server (set up by someone long gone) is saying we are using spatial reference of 4326.

Leaflet Esri plugin states this -

Your map service must be published using the Web Mercator Auxiliary Sphere tiling scheme (WKID 102100/3857) and the default scale option used by Google Maps, Bing Maps and ArcGIS Online. Esri Leaflet will not support any other spatial reference for tile layers.

Am I able to use this Esri leaflet plugin or do I need the proj4Leaflet with a new CRS projection setting?

I think I am getting tripped up on the tiling scheme of this pre-existing ArcGis server and don't know how to get a leaflet 2D map to work with it.

Some example code -

var crs = L.CRS.EPSG4326;
var map = L.map("map").setView([1,1],1); //just picked a random spot. 
L.esri.tiledMapLayer({
  url: myUrl,
  crs:crs,
  minZoom:0,
  maxZoom:12
}).addTo(map);
Source Link

ESRI leaflet plugin only showing north america tile

I am using the esri-leaflet plugin to connect to an internally hosted Arc gis server. I have tried using a basemap or tilemap implementation but get the same results with both. The problem is that I am only seeing North America and South America with the same tile starting over again at the prime meridian. I can find the tiles for europe and Asia by looking at them on the arcgis server so I know they are there. My arcgis server (set up by someone long gone) is saying we are using spatial reference of 4326. Leaflet Esri plugin states this -

Your map service must be published using the Web Mercator Auxiliary Sphere tiling scheme (WKID 102100/3857) and the default scale option used by Google Maps, Bing Maps and ArcGIS Online. Esri Leaflet will not support any other spatial reference for tile layers.

My question is am I able to use this Esri leaflet plugin or do I need the proj4Leaflet with a new CRS projection setting? I think I am getting tripped up on the tiling scheme of this pre-existing ArcGis server and don't know how to get a leaflet 2D map to work with it. Thanks for your help!

Some example code -

var crs = L.CRS.EPSG4326;
var map = L.map("map").setView([1,1],1); //just picked a random spot. 
L.esri.tiledMapLayer({
  url: myUrl,
  crs:crs,
  minZoom:0,
  maxZoom:12
}).addTo(map);