|
POST
|
the api does, just making sure you did not override it. I use <!DOCTYPE html> and <meta http-equiv="X-UA-Compatible" content="IE=7,IE=9" /> we do not support IE6.
... View more
10-11-2012
06:18 AM
|
0
|
0
|
1863
|
|
POST
|
Hi, I have a web application that seems to work fine in current era browsers, but when testing it in Internet Explorer 8 (IE8, IE7 and IE6) my graphics layers are not displayed - I have graphics for highlighted items from search for instance, and a rectangle box that I want drawn. These are on top separate layers. Any tips on how I can make these display? IE uses VML, and does not support SVG. Are you manually setting your renderer? Please post your code.
... View more
10-11-2012
04:53 AM
|
0
|
0
|
1863
|
|
POST
|
[ATTACH=CONFIG]18330[/ATTACH]I am using the ESRI base map World_Light_Gray_Base. Sometime during the past few days, suddenly this layer started to have missing and scrambled tiles to it. My map is centered on Missouri, but on the basemap, the north part of the state is now where Arkansas should be and Oklahoma is where Kansas should be! I can't think of anything I could do to my code to make this happen. I'm not seeing anything in the other forums that indicates there is something wrong with the ESRI basemaps and they preview just fine online and in my other applications. When I try switching to the ESRI_StreetMap_World_2D instead, no basemap at all shows. I am using a spatial reference of 102100, map extent -10723197,4186914,-9829190,4992866, which is the same extent I've been using for a while. I'm using the gray canvas successfully in another map. Has anyone else ever experienced anything like this that could point in some direction on how to fix this? when upgrading to the 3.2 api you need a css file http://forums.arcgis.com/threads/68243-Upgrading-from-3.0-to-3.2-Map-s-gone-off
... View more
10-10-2012
06:55 AM
|
0
|
0
|
1024
|
|
POST
|
hard to tell without seeing your code, but it looks like , due to the asynchronous nature of javascript, that you are trying to style an element of an accordianpane that has not been created yet.
... View more
10-10-2012
05:48 AM
|
0
|
0
|
640
|
|
POST
|
This worked perfect!!! had to change "CRS" to "SRS" depending on the wms version, but it really speed up performance. Thank you.
... View more
10-09-2012
07:27 AM
|
0
|
0
|
917
|
|
POST
|
Attached sample should be what you are looking for. However to make it generically usable you need consider basemap coordinate system, cache scheme switch and other WMS specific issues. Basically getTileUrl: function(level, row, col) {
var url = '';
var lv = this.tileInfo.lodsByLevel[level];
if (lv) {
var xmin = (col) * this.tileInfo.width * lv.resolution + this.tileInfo.origin.x;
var ymin = this.tileInfo.origin.y - (row + 1) * this.tileInfo.height * lv.resolution;
var xmax = (col + 1) * this.tileInfo.width * lv.resolution + this.tileInfo.origin.x;
var ymax = this.tileInfo.origin.y - (row) * this.tileInfo.height * lv.resolution;
url = this.url +
'?SERVICE=WMS&REQUEST=GetMap&TRANSPARENT=true&FORMAT=image/png&VERSION=1.3.0' +
'&LAYERS=' + this.layers + '&BBOX=' + xmin + "," + ymin + "," + xmax + "," + ymax +
'&CRS=EPSG:' + this.tileInfo.spatialReference.wkid +
'&WIDTH=' + this.tileInfo.width + '&HEIGHT=' + this.tileInfo.height +'&STYLES=';
}
return url;
} Full code in attachment. nliu to the rescue! thank you.
... View more
10-09-2012
06:34 AM
|
0
|
0
|
917
|
|
POST
|
it seems like unsetting those manual settings has helped alot, i have not seen the error since.
... View more
10-08-2012
05:12 AM
|
0
|
0
|
853
|
|
POST
|
are you using an older version of the api? I remember this occuring in older versions (~2.3 or so) but the error has been gone for a long time. IT was IE only, could not start to draw a graphic over an existing graphic.
... View more
10-05-2012
08:45 AM
|
0
|
0
|
840
|
|
POST
|
no no sorry. when openlayers requests a wms image, you can choose two styles set via property. If you choose "singleTile" it returns a single image, just like the esri WMS layer if you do not set "singleTile", it sends a series of bbox/width/height requests (tile like requests), and assembles them, just like an esri tile layer. However the requests are not /level/col/row format, they are bbox/width/height format (in the url). http://www.mymanatee.org/lizardtech/iserv/docs/samples/wms-ajax-view.html var wms = new OpenLayers.Layer.WMS("MODIS 2002",
"http://MCG-AP-GISAPP01.mcgad.local/lizardtech/iserv/ows",
{layers: 'MODIS',
exceptions:"application/vnd.ogc.se_xml"},
{tileSize: new OpenLayers.Size(256, 256), buffer: 1});
map.addLayer(wms);
... View more
10-05-2012
08:23 AM
|
0
|
0
|
2269
|
|
POST
|
yes i saw that, but i cant make row/col/level type requests, i need to make boundingbox width height type requests.
... View more
10-05-2012
07:45 AM
|
0
|
0
|
2269
|
|
POST
|
Hi I used the basic sample from esri on javascript for mobile and I just added one more feature layer with infoTemplate When I click on the layer, the infoTemplate doesn't display in the proper place. I tested it on IPad, and my desktop I published the page on www.gisspan.com where you can look at the code in action As well I attached the html page which has all the code Pops up where i click in chrome.
... View more
10-04-2012
12:03 PM
|
0
|
0
|
860
|
|
POST
|
Hi All: I'm trying to get a WMTS layer working for these new real time modis services from nasa. After some initial fumbling with the sample, I have layer coming into the map but all I get are black tiles. If I use the OpenLayers JavaScript API I get the expected layer images. I used fiddler watch urls from both versions and the requests appear to be basically the same (different parameter ordering but that shouldn't matter) and the binary response also appears to be the same. Here's the test page: ArcGIS JAPI: http://geo.gcs-holdings.net/nasawmts/default.aspx OpenLayers: http://geo.gcs-holdings.net/nasawmts/openlayer/default.html Here's the map init function: function init() {
esri.config.defaults.io.proxyUrl = "proxy.ashx";
var map = new esri.Map("map", {
wrapAround180: false
});
var layerInfo = new esri.layers.WMTSLayerInfo({
identifier: "MODIS_Terra_CorrectedReflectance_TrueColor",
tileMatrixSet: "EPSG4326_250m",
format: "jpeg",
style: ""
});
var options = {
serviceMode: "KVP",
layerInfo: layerInfo
};
var wmtsLayer = new esri.layers.WMTSLayer("http://map1.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi", options);
map.addLayer(wmtsLayer);
}
Thanks for any suggestions! your esri request is sending FORMAT=image/jpeg your open layer request is sending FORMAT=image%2Fjpeg if you fix your ESRI request it works (it may be because the valid tile format is "jpg" not "jpeg", at least for WMS)
... View more
10-04-2012
10:29 AM
|
0
|
0
|
1761
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 05-22-2014 08:35 AM | |
| 1 | 05-02-2012 04:56 AM | |
| 1 | 10-29-2021 07:40 AM | |
| 1 | 10-28-2021 05:26 AM | |
| 1 | 07-17-2012 08:48 AM |
| Online Status |
Offline
|
| Date Last Visited |
03-01-2022
02:00 PM
|