|
POST
|
Tim, If you set a breakpoint (using firebug or chrome's developer tools) in addPointsToMap you can check to see if results are returned. One thing you might want to check is this sample is setup to draw points so it defines symbology for point features. Your query task looks like its a parcel layer which probably contains polygons. You'll want to change the symbols below to be SimpleFillSymbols to draw polygon features. defaultSymbol = new esri.symbol.SimpleMarkerSymbol().setColor(new dojo.Color([0,0,255])); highlightSymbol = new esri.symbol.SimpleMarkerSymbol().setColor(new dojo.Color([255,0,0]));
... View more
06-24-2011
07:32 AM
|
0
|
0
|
1711
|
|
POST
|
There is an extra comma in the sample after setting the style. If you replace the code in the sample with this the map will display. //make a tab container var tc = new dijit.layout.TabContainer({ style:"width:100%;height:100%;" }, dojo.create("div"));
... View more
06-24-2011
07:29 AM
|
0
|
0
|
969
|
|
POST
|
I ran a quick test using one of the samples that uses dojo.create and it worked for me in IE8. http://help.arcgis.com/en/webapi/javascript/arcgis/help/jssamples/widget_popupfl.html Can you post the code snippet that isn't working or more details about the error or problems you are seeing in IE?
... View more
06-23-2011
02:56 PM
|
0
|
0
|
969
|
|
POST
|
Sorry I may have pasted the wrong url, try this one: http://help.arcgis.com/en/webapi/javascript/arcgis/help/jshelp/inside_compactbuild.htm
... View more
06-20-2011
10:32 AM
|
0
|
0
|
945
|
|
POST
|
John, Try using esri.geometry.normalizeCentralMeridian) to normalize the geometry before setting the extent. Here's a blurb from the help that explains what normailzeCentralMeridian does: Normalizes geometries that intersect the central meridian or fall outside the world extent so they stay within the current coordinate system. Only supported for Web Mercator and geographic coordinates. (As of v2.2) Hello All, I'm using the web mercator projection and wrapAround180 option to provide seamless panning across the antimeridian. I would like to set the extent of the map to an area which in geographic coordinates would cross the antimeridian, e.g. var bbox = new esri.geometry.Extent(175.0,15.0,-175.0,25.0, new esri.SpatialReference({ wkid:4326 })); map.setExtent(esri.geometry.geographicToWebMercator(bbox),true); However this does not work, centering instead on central Africa and setting the zoom level to the maximum. Can someone please suggest the appropriate way to do this? Thanks! --john
... View more
06-20-2011
08:13 AM
|
0
|
0
|
1261
|
|
POST
|
The issue with the fonts can be resolved by adding the following stylesheet to your application. <link href="http://serverapi.arcgisonline.com/jsapi/arcgis/2.3/js/dojo/dijit/themes/claro/document.css" rel="stylesheet" type="text/css"> As for why the map isn't loading its hard to diagnose the issue without seeing your application or the code. Is the broken site publicly available? If so can you post a link?
... View more
06-20-2011
07:46 AM
|
0
|
0
|
741
|
|
POST
|
The +/- zoom bar displays when you use the compact build of the JSAPI. Here are some details on the compact build: http://help.arcgis.com/en/webapi/javascript/arcgis/help/jshelp/inside_compactbuild.htm
... View more
06-20-2011
07:41 AM
|
0
|
0
|
945
|
|
POST
|
It looks like there was a trailing comma at line 143. While some browsers (Chrome, Firefox) will ignore trailing commas IE does not. I've removed the comma and will update the sample as soon as possible. {'fieldName':'comment','label':'Comments','isEditable':true,'stringFieldOption':esri.dijit.AttributeInspector.STRING_FIELD_OPTION_TEXTAREA,}
Until the fixed version of the sample is ready you can run the code by removing the comma after STRING_FIELD_OPTION_TEXTAREA and the sample should run.
... View more
06-17-2011
12:01 PM
|
0
|
0
|
811
|
|
POST
|
I thought you were trying to set a default value. If the behavior has changed between 2.2 and 2.3 that may be a bug. I'll take a closer look.
... View more
06-14-2011
08:24 AM
|
0
|
0
|
2671
|
|
POST
|
The attribute inspector date calendar displays the date stored in the feature's date field. New fields don't have a value so the default date of January 1, 1970 is displayed. You can modify this by setting the date's value to the current date (or whatever value you'd like) when a new feature is created. To do this listen for the feature layer's 'onBeforeApplyEdits' event and update the date for the newly added feature(s). In the sample below 'pointsOfInterest' is the feature layer whose date field you want to update.
dojo.connect(pointsOfInterest,"onBeforeApplyEdits",function(adds,updates,deletes){
//update the date field for new features to be today's date.
dojo.forEach(adds,function(add){
add.attributes.notedate = new Date().getTime();
});
});
... View more
06-09-2011
03:22 PM
|
0
|
0
|
2671
|
|
POST
|
The API Reference includes information on the CSS classes you can use to modify the appearance of the widgets. http://help.arcgis.com/en/webapi/javascript/arcgis/help/jsapi_start.htm#jsapi/gallery.htm
... View more
06-01-2011
08:15 AM
|
0
|
0
|
548
|
|
POST
|
Chris, I haven't experienced issues with absolutely positioned divs at 1.6. If you'd like to post the code you are having problems with I'd be happy to take a look?
... View more
06-01-2011
08:13 AM
|
0
|
0
|
1075
|
|
POST
|
It looks like Microsoft has changed the switch over date to July 6. Here's the relevant info from the following help topic: http://msdn.microsoft.com/en-us/library/ff701721.aspx Bing Maps�?� has introduced a new "road" map style for all Bing Maps APIs that is designed for improved readability and improved interaction between imagery with data overlays. This map style is in use on http://www.bing.com/maps and starting November 2010, you can opt-in to the new map style when you use the Bing Maps APIs. This opt-in period will end on July 5, 2011. On July 6, 2011, the new "road" map style will become the only "road" style available.
... View more
05-27-2011
10:07 AM
|
0
|
0
|
1964
|
|
POST
|
Yes this does look like a localization issue. I set my current locale to French and can reproduce the issue.
... View more
05-26-2011
08:52 AM
|
0
|
0
|
760
|
|
POST
|
I ran your test app a few times and can't reproduce the issue with NAN when measuring in meters. Can you provide more details about how to reproduce? For example, does it only happen with large shapes or in a certain area? Kelly
... View more
05-26-2011
07:58 AM
|
0
|
0
|
760
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 03-31-2026 08:27 AM | |
| 1 | 03-26-2026 09:07 AM | |
| 1 | 03-26-2026 10:11 AM | |
| 1 | 03-24-2026 02:23 PM | |
| 1 | 03-17-2026 02:50 PM |
| Online Status |
Offline
|
| Date Last Visited |
Wednesday
|