|
POST
|
a clusterer property for graphicsLayer and a defaultClusterer that would support basic clustering properties like maxFeatureCount, radius, and color. +1, that would be very nice. Ideally it would work for a featureLayer too.
... View more
05-08-2013
12:50 PM
|
0
|
0
|
2395
|
|
POST
|
var graphic = new esri.Graphic(geometry, symbol); map.graphics.add(graphic); At the very least, I suspect you'll need to add that graphic to a graphicsLayer rather than the map itself. That way you'll have access to the whole layer of graphics, which you may be able to hook up to the agsjs TOC. I haven't used that myself so I'm not sure how, but hopefully this will give you some pointers.
... View more
05-06-2013
10:15 PM
|
0
|
0
|
1732
|
|
POST
|
How do I automatically zoom to the visible features of a ArcGISDynamicMapServiceLayer or ArcGISTiledMapServiceLayer layer? By visible I mean that some of the features of the layers are filtered out thanks to the layerDefinitions property. To my knowledge, that isn't possible and you'll need to work with the features in order to zoom to the combined extent of the query/definition. You may be able to simplify this somewhat by using a featureLayer with the selectFeatures statement. Steve
... View more
05-06-2013
09:13 PM
|
0
|
0
|
838
|
|
POST
|
I vaguely remember posting something about this on this forum a few years ago but I can't remember the outcome. It appears that a featureLayer will fail to draw if its symbology is normalized in ArcMap. To reproduce, add a polygon layer to ArcMap and set up a Graduated Color symbology, and Normalize with the Percent Of Total option chosen. Publish this to ArcGIS Server. This service will draw correctly as a dynamic layer, but not as a feature layer. A workaround is to manually calculate a new "normalize" field in ArcMap and symbolise based on that. Is there any chance this could be fixed so that the feature layer correctly uses the normalized symbology? Thanks, Steve
... View more
04-23-2013
06:17 PM
|
0
|
1
|
1076
|
|
POST
|
Peter, You may want to use the ArcGIS Server .Net API, as shown at http://resources.arcgis.com/content/arcgisserver/web-apis Build applications with GIS capabilities using the .NET Web Application Developer Framework (.NET Web ADF). The .NET Web ADF is an AJAX-enabled framework for building Web applications built on ASP .Net AJAX. It includes both server-side and client-side controls and libraries. The client-side JavaScript framework is built on MS-AJAX. Steve
... View more
04-18-2013
08:20 PM
|
0
|
0
|
546
|
|
POST
|
I wondered if you ever got an answer to this one, or more importantly if you can recall the answer? Sorry, I had no luck with this line of enquiry and moved on to other things. But the new Geocoder digit looks promising and might be a better approach.
... View more
04-11-2013
02:50 PM
|
0
|
0
|
1305
|
|
POST
|
Hopefully this isn't violating any rules or ruffling any feathers. The Australian govt is running an app contest to build something useful using Government data. I made a quick entry based on the ArcGIS Server JS API (as far as I can see, it's the only GIS-centric app). If you wanted to, you could vote for my app here. The code is available on GitHub if you want to fork it. Thanks, Steve
... View more
04-10-2013
03:20 AM
|
0
|
0
|
735
|
|
POST
|
On a Mac I can recommend Espresso. Lots of people use Coda or Sublime Text. On a PC I've previously used the Free JavaScript Editor. It's reasonable considering it's free! I'm not sure about an intellisense plugin for the ArcGIS JS API with any of these products - I prefer to free-type personally.
... View more
04-09-2013
02:20 PM
|
0
|
0
|
2522
|
|
POST
|
I'm not an expert at this stuff, so my terminology may be wrong, but here goes: Re-reading the help file, it seems that this syntax will only work given that the FeatureLayer object is passed into the function which is immediately called by the require:
require([
"esri/layers/FeatureLayer", ...
], function(FeatureLayer, ... ) {
var censusBlock = new FeatureLayer(layerUrl, {
showAttribution :false
});
...
}); In the above context, the inner block of the function has a handle on FeatureLayer. I think the new esri.layers.FeatureLayer syntax is correct when used outside of the function, which is what you have in your code, and in my example above too. Good luck, Steve
... View more
04-08-2013
09:13 PM
|
0
|
0
|
1165
|
|
POST
|
Yep sorry, my mistake. I hadn't read the new help file at http://help.arcgis.com/en/webapi/javascript/arcgis/jsapi/featurelayer-amd.html#FeatureLayer1 which backs up what you're doing in the first example. Having said that, I've used the new esri.layers.FeatureLayer syntax with the new AMD syntax (eg in this sample) and I was able to configure an onMouseOver listener, so I'm not sure what's going on with your code.
... View more
04-08-2013
08:26 PM
|
0
|
0
|
1165
|
|
POST
|
You're using:
var featureLayer = new FeatureLayer('http://maps.....
vs
var featureLayer = new esri.layers.FeatureLayer('http://maps......
Can you try the latter syntax in the first example?
... View more
04-08-2013
08:10 PM
|
0
|
0
|
1165
|
|
POST
|
Looking forward to reading a few of them. When I attended a few years ago they made recordings (taken from the projector, not using a camera) of all the talks. That's better than just seeing the PDFs - do you know if that was done this year too? As far as I can see, only the plenary sessions are available as videos. Thanks, Steve
... View more
04-08-2013
08:08 PM
|
0
|
0
|
1679
|
|
POST
|
Why have two events, could they not both be in the same event? I think it's just a mistake someone made when copy/pasting separate samples together into one. There's no reason that you'd need two separate functions which could handle the same thing. Steve
... View more
04-08-2013
08:05 PM
|
0
|
0
|
848
|
|
POST
|
Then how does arcgis.com does it, when you open a dynamic map service in arcgis.com. It shows a layerlist on the left. That means it loads each layer as a synamic layer spaerately? I think ArcGIS.com creates a single dynamicLayer, which contains multiple layerIds. Each layerId is shown as an item in the layer list. What happens if you add your layer to ArcGIS.com - does the polygon correctly show with 60% transparency?
... View more
04-05-2013
05:10 PM
|
0
|
0
|
1130
|
|
POST
|
The only time I would use IE is to make sure the page works in IE. Nothing rings warning bells for a developer like seeing someone on Internet Explorer 7.
... View more
04-05-2013
05:03 PM
|
0
|
0
|
2522
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 11-17-2014 08:45 PM | |
| 1 | 03-15-2011 04:23 PM | |
| 1 | 10-18-2019 12:50 AM | |
| 3 | 01-22-2019 02:33 PM | |
| 1 | 09-26-2011 10:36 PM |
| Online Status |
Offline
|
| Date Last Visited |
10-20-2022
12:19 AM
|