|
POST
|
No, objects in the JS API don't support using dojo/on yet. Please continue to use dojo/_base/connect.
... View more
08-21-2012
10:17 AM
|
0
|
0
|
2084
|
|
POST
|
HTML5 means a lot of different things to different people. It can refer to using semantic markup or using some new browser technology, like geolocation, via JavaScript. It also occasionally means new CSS features that are part of CSS3. As such, we've stayed away from creating an "HTML5 Viewer" or "HTML5 Template" and focused on adding HTML5-ish features to the core API where it makes sense and have added samples showing other HTML5 technologies alongside the JS API. Regarding your question of a parcel based viewer app template, there's the Tax Parcel Viewer template on ArcGIS Online. Live demo: http://localgovtemplates.esri.com/TaxParcelViewer/default.htm
... View more
08-21-2012
07:06 AM
|
0
|
0
|
1209
|
|
POST
|
the layers_point_clustering.html file can't work in my browser after the file double clicked.my aim is the file can work in my browser. Rather than running the sample by double-clicking it, you need to use a web server (like IIS or Apache). Your web server can be local. The important part is that you run JS API samples over http:// rather than file://.
... View more
08-21-2012
06:43 AM
|
0
|
0
|
2017
|
|
POST
|
Glad you got it figured out. The reason you need to do this is that you have to use different symbol types for different geometry types. Points require a marker symbol, lines require a line symbol and polygons require a fill symbol.
... View more
08-20-2012
09:58 PM
|
0
|
0
|
1099
|
|
POST
|
You're welcome. Can you post this as an answer to your question over on gis.se?
... View more
08-20-2012
05:46 PM
|
0
|
0
|
1511
|
|
POST
|
If you're using that webmap with createMap, the simplest thing to do is get a reference to your basemap layer and call hide. To get a reference to your basemap layer, pull the layerId out of map.layerIds and pass that to map.getLayer.
... View more
08-20-2012
04:39 PM
|
0
|
0
|
1511
|
|
POST
|
Sounds like a JSLint related issue. You can probably address it by tweaking JSLint options, but I have no idea how to do that. As an alternative, you could look into using the different but equally useful linter JSHint. Also, it's not necessary to link the vsdoc file as it's not something that will be part of your app. You should only need to lint code you write.
... View more
08-20-2012
03:11 PM
|
0
|
0
|
955
|
|
POST
|
In the writing a class conceptual help topic there's an example that shows how to use only a feature layer in a map: http://servicesbeta.esri.com/demos/using-classes-with-javascript/legacy/empty_basemap.html Is that similar to what you want?
... View more
08-20-2012
03:01 PM
|
0
|
0
|
1511
|
|
POST
|
Here's a modified version of the Legend sample that uses a tiled service and hides a single layer: http://jsfiddle.net/wxC5k/ The key line is: layerInfo[0].hideLayers = [1]; One thing to check is that your layer indexes in hideLayers correspond to valid layer indexes in your map service. Edit: Wanted to clarify that my previous post in this thread was wrong, you can use hideLayers with tiled services.
... View more
08-20-2012
10:08 AM
|
0
|
0
|
1699
|
|
POST
|
Does this link work in your browser: http://help.arcgis.com/en/webapi/javascript/arcgis/demos/layers/layers_point_clustering.html
... View more
08-20-2012
07:58 AM
|
0
|
0
|
2017
|
|
POST
|
In the print widjet example, all the application specific values are now in window.app (map, printer, symbols, toolbar). It's a method of organizing the code in the application. You got it. Nothing more to it... trying to avoid polluting the global namespace. To answer the quasi-question, I didn't run into any conflicts with existing object/libraries while writing that sample.
... View more
08-20-2012
07:55 AM
|
0
|
0
|
951
|
|
POST
|
I dont think the symbol is wrong since i use same marker for line and polygon... Use a SimpleLineSymbol instead of a SimpleFillSymbol for your line graphic(s).
... View more
08-20-2012
07:53 AM
|
0
|
0
|
1099
|
|
POST
|
Please provide some more context for what you're describing. What is the overarching issue? Can you provide a repro case to show the bug?
... View more
08-17-2012
08:57 AM
|
0
|
0
|
669
|
|
POST
|
That is an old download page. The current download page is linked from here: http://help.arcgis.com/en/webapi/javascript/arcgis/help/jshelp/intro_accessapi.html Current download page: http://www.esri.com/apps/products/download/index.cfm?fuseaction=download.all#ArcGIS_API_for_JavaScript
... View more
08-17-2012
06:31 AM
|
0
|
0
|
680
|
| 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
|