|
POST
|
this happened to us on arcgis.com today. Switching to IE fixed it. Did not clear cache Do you have any additional info? I'd really like to be able to reproduce this.
... View more
04-16-2013
02:06 PM
|
0
|
0
|
2737
|
|
POST
|
Please the code you're using to create your KML Layer.
... View more
04-16-2013
06:57 AM
|
0
|
0
|
1189
|
|
POST
|
Is this perhaps the ESRI Geocoder dijit address field issue? The geocoder dijit is hardcoded to look for "SingleLine" in the query sent via JSON. In Steve's code it is "SingleKey". Kelly posted a workaround for this. It is posted in this thread. Example code is there as well: http://forums.arcgis.com/threads/75070-Geocoder-dijit-in-JS-API-v3.3-bug-quot-SingleKey-quot-vs-quot-singleLine-quot-search-parameter-name.?highlight=kelly+geocoder+dijit We fixed this at 3.4 (I posted to the original thread with the workaround as well).
... View more
04-12-2013
07:30 AM
|
0
|
0
|
1330
|
|
POST
|
We fixed this issue at 3.4 and this workaround is no longer necessary. When using a your own geocoding service, you can specify the name of the input field using singleLineFieldName, for instance:
var gc = [{
url: "http://sagisservices.thempc.org/saint/rest/services/Locators/SAGIS.CENTERLINES/GeocodeServer",
name:"Custom Geocoder",
singleLineFieldName: "Single Line Input"
}];
Here's a complete example of using a geocode service with an input field that is not singleLine (search for 123 main st):
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=7,IE=9">
<meta name="viewport" content="initial-scale=1, maximum-scale=1,user-scalable=no">
<title>Geocoder Widget</title>
<link rel="stylesheet" href="http://serverapi.arcgisonline.com/jsapi/arcgis/3.4/js/esri/css/esri.css">
<style>
html, body, #map {
height:100%;
width:100%;
margin:0;
padding:0;
}
body {
background-color:#FFF;
overflow:hidden;
font-family:"Trebuchet MS";
}
#search {
display: block;
position: absolute;
z-index: 2;
top: 20px;
left: 75px;
}
</style>
<script src="http://serverapi.arcgisonline.com/jsapi/arcgis/3.4/"></script>
<script>
dojo.require("esri.map");
dojo.require("esri.dijit.Geocoder");
var geocoder;
function init() {
var map = new esri.Map("map",{
basemap: "topo",
center: [-117.19,34.05], //long, lat
zoom: 13
});
var gc = [{
url: "http://sagisservices.thempc.org/saint/rest/services/Locators/SAGIS.CENTERLINES/GeocodeServer",
name:"Custom Geocoder",
singleLineFieldName: "Single Line Input"
}];
var geocoder = new esri.dijit.Geocoder({
map: map,
autoComplete: true,
maxLocations:10,
geocoders: gc,
geocoderMenu: false,
arcgisGeocoder: false
}, "search");
geocoder.startup();
}
dojo.ready(init);
</script>
</head>
<body>
<div id="search"></div>
<div id="map"></div>
</body>
</html>
... View more
04-12-2013
07:28 AM
|
0
|
0
|
2167
|
|
POST
|
Ok, i was thinking the zoom in button would just zoom in one level. I didn't know you had to draw on the map for it to zoom. Is there a way to have a custom zoom in button do what i was expecting? This is what the + and �?? buttons in the top left corner of the map do.
... View more
04-11-2013
01:04 PM
|
0
|
0
|
1479
|
|
POST
|
Can any ESRI staff answer the question? In what scope the JS API is compatible with dojo/on? Does ESRI have a timeline to fully support dojo/on and other dojo 1.8 features? It is annoying to mix using dojo.connect and dojo/on in the same application. As of version 3.4, classes in the JS API are not compatible with dojo/on. The exception is the Map class but we haven't doc'ed this because we want to be able to say we support dojo/on across the entire API rather than doing it piece by piece. We are still working on it... When it's finished, we'll encourage you to do object.on("event-name", callback); rather than on(object, "event-name", callbcak); but that will be up to you.
... View more
04-11-2013
10:07 AM
|
0
|
0
|
3124
|
|
POST
|
Having support for "dojo/on" and using AMD are two different things. "dojo/on" lets you handle events while AMD refers to how JS modules are created and loaded. At the current release, 3.4, we do not have support for dojo/on in the API. This is a big item for us in (hopefully) the next release. Until then, load "dojo/_base/connect" and use that to handle events instead of the global dojo.connect. Once our classes inherit from "dojo/Evented" you'll be able to do things like:
featureLayer.on("mouseOver", function(evt) { ... });
... View more
04-09-2013
09:24 AM
|
0
|
0
|
1190
|
|
POST
|
Yes, they should be available soon. I'm not sure exactly when but Kelly and I did send our slides to the people who put them up on that site (just did this today so it will probably take another day or two before they show up).
... View more
04-08-2013
03:14 PM
|
0
|
0
|
1699
|
|
POST
|
Are you running the sample code from your file system or from a web server? In other words, when you try to run the sample on your machine, does the URL start with file:// or http://? It needs to be the latter. More info: http://developers.arcgis.com/en/javascript/jshelp/intro_devenv.html
... View more
04-08-2013
02:44 PM
|
0
|
0
|
802
|
|
POST
|
I'm late here but we have a (currently undocumented) map constructor option called smartNavigation, which is a boolean. To turn of superpan, use:
smartNavigation: false
when creating a map. We'll get this documented.
... View more
04-05-2013
09:28 AM
|
0
|
0
|
1870
|
|
POST
|
Additional question to Class Draw: If I would like to change the text in the Draw toolbar, I am using the esri.bundle as explained in the documentation: http://developers.arcgis.com/en/javascript/jsapi/draw-amd.html Ex: esri.bundle.toolbars.draw.addPoint = "Add a new tree to the map"; Using AMD it fails referencing esri.bundle. Is there any AMD compliant for esri.bundle? In the future, please post a new thread. Here's an example showing how to load the module with the text strings for various API components and specifically how to access the default text for various drawing tools: http://jsfiddle.net/frc64/
... View more
04-05-2013
07:12 AM
|
0
|
0
|
1458
|
|
POST
|
It's an error in the documentation, you should be using esri/tasks/query (lowercase "q"). We'll get this fixed next time we update the docs (should be in the next couple of days, if not sooner).
... View more
04-02-2013
12:04 PM
|
0
|
0
|
630
|
|
POST
|
It would be great if someone could come up with a "fix" for this... I haven't seen this. It'll be tough to get any kind of fix without a repro case. Any ideas on what causes this to happen?
... View more
04-01-2013
09:49 AM
|
0
|
0
|
3262
|
|
POST
|
I've replied in another thread with additional useful info: http://forums.arcgis.com/threads/80341-Issues-with-ArcGISTiledMapServiceLayer-in-IE8-and-IE7?p=283629&viewfull=1#post283629 Regarding the specifics of the basemaps available, you can see what makes up each basemap by entering this in your browser's dev console:
dojo.toJson(esri.config.defaults.map.basemaps)
That will print out the default names and base map layers for each basemap option. Here it is, prettified:
{
"streets": {
"title": "Streets",
"baseMapLayers": [{
"url": "http://services.arcgisonline.com/ArcGIS/rest/services/World_Street_Map/MapServer"
}
]
},
"satellite": {
"title": "Satellite",
"baseMapLayers": [{
"url": "http://services.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer"
}
]
},
"hybrid": {
"title": "Imagery with Labels",
"baseMapLayers": [{
"url": "http://services.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer"
}, {
"url": "http://services.arcgisonline.com/ArcGIS/rest/services/Reference/World_Boundaries_and_Places/MapServer",
"isReference": true
}
]
},
"topo": {
"title": "Topographic",
"baseMapLayers": [{
"url": "http://services.arcgisonline.com/ArcGIS/rest/services/World_Topo_Map/MapServer"
}
]
},
"gray": {
"title": "Light Gray Canvas",
"baseMapLayers": [{
"url": "http://services.arcgisonline.com/ArcGIS/rest/services/Canvas/World_Light_Gray_Base/MapServer"
}, {
"url": "http://services.arcgisonline.com/ArcGIS/rest/services/Canvas/World_Light_Gray_Reference/MapServer",
"isReference": true
}
]
},
"oceans": {
"title": "Oceans",
"baseMapLayers": [{
"url": "http://services.arcgisonline.com/ArcGIS/rest/services/Ocean_Basemap/MapServer"
}
]
},
"national-geographic": {
"title": "National Geographic",
"baseMapLayers": [{
"url": "http://services.arcgisonline.com/ArcGIS/rest/services/NatGeo_World_Map/MapServer"
}
]
},
"osm": {
"title": "OpenStreetMap",
"baseMapLayers": [{
"type": "OpenStreetMap"
}
]
}
}
... View more
03-22-2013
02:20 PM
|
0
|
0
|
1194
|
|
POST
|
1. I think the hybrid map option looks really bad. There are labels that are fuzzy, redundant, and overlaid ontop of one another. Tthe roads layer (I'm guessing) seems to stay in place as you zoom in / out and then fades out when the new zoom level finishes loading tiles. Basically it looks ugly and we can't ship with it. That sounds more like tiles are loading slowly rather than an issue with the basemap. Taking a look at the screen shot in your other thread, I would say that's caused by tiles loading slowly since tiles from the previous zoom level are not removed until the tiles for the new level have loaded. Normally, this isn't an issue but if tiles are loading slowly (and you're in a slow browsers, like old IE), I could see how this look bad. Do you see the same issue with the basemap when viewing it via a webmap on arcgis.com 2. We have performance problems on our server for all the tile imagery requests that go out for a hybrid "conglomerate" layer. By that I mean, when we had a hybrid layer option that used 3 different tiled map services (transport, state boundaries and satellite) we had far too many tile requests going out from the web server. We found that our users preferred this option to the roads and topo and so had to adjust and only use two tiled map services. I posted a question about my issues with 'hybrid' basemap option here. I'm not sure I understand. Are you using your own imagery/labels services? If you're using arcgis.com basemaps, there wouldn't be additional requests to your web server as tiles are loaded directly from arcgis.com. Or...are you proxying everything? Using a proxy for everything can be a performance killer... No one has replied: http://forums.arcgis.com/threads/80315-New-basemap-feature-Issues-with-quot-hybrid-quot I'll add a reply there to come to this thread.
... View more
03-22-2013
02:16 PM
|
0
|
0
|
2606
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 01-23-2012 07:54 AM | |
| 1 | 05-28-2010 08:31 AM | |
| 1 | 11-12-2012 08:12 AM | |
| 3 | 02-23-2012 10:57 AM | |
| 1 | 06-27-2011 08:51 AM |
| Online Status |
Offline
|
| Date Last Visited |
11-11-2020
02:23 AM
|