getImage (unknown source) with Ocean basemap

518
3
Jump to solution
03-06-2014 01:41 PM
Town_ofSnowflake
Occasional Contributor
Any thoughts as to why Ocean basemap stopped rendering in my app?  All other basemaps are fine.

Error: getImage (unknown source)
Reply
0 Kudos
1 Solution

Accepted Solutions
JasonKnisley
Occasional Contributor
Are you using the services as tiled layers or dynamic layers?
Do you get the error regardless of extent or scale?
Are manipulating the layer properties in any way in your code?

A quick test below displayed both layers for me:
mMapView = (MapView) findViewById(R.id.map); mMapView.addLayer(   new ArcGISTiledMapServiceLayer("http://services.arcgisonline.com/arcgis/rest/services/Ocean/World_Ocean_Base/MapServer")); mMapView.addLayer(   new ArcGISTiledMapServiceLayer("http://services.arcgisonline.com/arcgis/rest/services/Ocean/World_Ocean_Reference/MapServer"));

View solution in original post

Reply
0 Kudos
3 Replies
Town_ofSnowflake
Occasional Contributor
Reply
0 Kudos
JasonKnisley
Occasional Contributor
Are you using the services as tiled layers or dynamic layers?
Do you get the error regardless of extent or scale?
Are manipulating the layer properties in any way in your code?

A quick test below displayed both layers for me:
mMapView = (MapView) findViewById(R.id.map); mMapView.addLayer(   new ArcGISTiledMapServiceLayer("http://services.arcgisonline.com/arcgis/rest/services/Ocean/World_Ocean_Base/MapServer")); mMapView.addLayer(   new ArcGISTiledMapServiceLayer("http://services.arcgisonline.com/arcgis/rest/services/Ocean/World_Ocean_Reference/MapServer"));

View solution in original post

Reply
0 Kudos
Town_ofSnowflake
Occasional Contributor
silly mistake.

Solution:
Ocean Basemap doesn't draw at high scales, this is why it wasn't appearing.
Ocean basemap needed to be TiledMapService, not DynamicServiceLayer.
Reply
0 Kudos