POST
|
We saw the same error when under this same configuration, is there a reason for this behavior?
... View more
11-06-2014
09:47 AM
|
0
|
1
|
939
|
POST
|
Hmm...one problem is that URLs for tiles don't have a file extension, see: http://server.arcgisonline.com/ArcGIS/rest/services/World_Topo_Map/MapServer/tile/2/0/0 They are added via img tags though so you might be able to do this...here's an example of the HTML for a tile in a tiled service(taken from http://services.arcgisonline.com/ArcGIS/rest/services/World_Topo_Map/MapServer?f=jsapi):
<img id="map_layer0_tile_2_0_1"
class="layerTile" style="left: 450px; top: -126px; width: 256px; height: 256px; visibility: visible; "
src="http://server.arcgisonline.com/ArcGIS/rest/services/World_Topo_Map/MapServer/tile/2/0/1"
>
we posted at the exact same time. I'm not sure exactly why this is working but it seems to be. img[id*='map_layer'] {filter:progid:DXImageTransform.Microsoft.BasicImage(grayscale=1) }
.esriBasemapGalleryNode{filter:progid:DXImageTransform.Microsoft.BasicImage(grayscale=1); font-size:small; }
#map_layer0{filter:progid:DXImageTransform.Microsoft.BasicImage(grayscale=1) }
... View more
07-28-2011
10:53 AM
|
0
|
0
|
1751
|
POST
|
#map_layer0{filter:progid:DXImageTransform.Microsoft.BasicImage(grayscale=1) } That little bit of css seems to be working. Don't know if map_layer0 div is a constant though.
... View more
07-28-2011
09:59 AM
|
0
|
0
|
1751
|
POST
|
Yes I must use IE. Not ideal I know, but it must be. I thought I might be getting somewhere with img[src$=".jpg"]{filter:progid:DXImageTransform.Microsoft.BasicImage(grayscale=1)} but i can't seem to find a way to set the image format for a ArcGISTiledMapServiceLayer layer.
... View more
07-28-2011
08:53 AM
|
0
|
0
|
1751
|
POST
|
I am currently trying to find a way if its possible to use dojo or some javascript to convert a basemap image to grayscale. I have successfully turn the entire map div to grayscale using the the following css class .target {filter:progid:DXImageTransform.Microsoft.BasicImage(grayscale=1)} the problem is the entire div turns gray when i only want the background image to turn grayscale. I still want my dynamic layers to be color. Any ideas or is there some imageparameter I can set??
... View more
07-28-2011
08:08 AM
|
0
|
10
|
3432
|
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:23 AM
|