|
POST
|
Wim, Your code seems to be working fine for me in Internet Explorer 8 (Document mode: IE8 Standards). The Plandekking button correctly cycles the layer's transparency through 0-100%. Just curious - is there a reason you don't upgrade to the version 2.4 of the API? Steve
... View more
07-13-2011
10:20 PM
|
0
|
0
|
2493
|
|
POST
|
After using locator, what do I need to do to get the census data (block and tract in particular) for the particular address? The info in available by creating a querytask to this url http://sampleserver1.arcgisonline.com/ArcGIS/rest/services/Demographics/ESRI_Census_USA/MapServer/0 see the sample at http://help.arcgis.com/en/webapi/javascript/arcgis/help/jssamples/query_nomap.html which shows how to query a dataset to return the values. In this sample, they use query.text = stateName; In your case, you would use query.geometry = pt where pt is the point result of your address query. See the Query help file more more info. Steve
... View more
07-13-2011
10:14 PM
|
0
|
0
|
887
|
|
POST
|
Try the sample at http://help.arcgis.com/en/webapi/javascript/arcgis/help/jssamples/widget_overviewmap.html - does this help?
... View more
07-13-2011
10:10 PM
|
0
|
0
|
845
|
|
POST
|
smQuery.outFields = ['Mile Value']; <-this is the value i want
As far as I know, a field name cannot have a space. Verify the field name (not alias) in the dataset at /arcgis/services/serverlocation Steve
... View more
07-13-2011
10:08 PM
|
0
|
0
|
635
|
|
POST
|
So, I'm curious as to how I can set the "default visibility" property of a layer in a map to "false", so that the checkbox I create for it is unchecked from the beginning. Just a guess, but may need to do this in ArcMap, so that the MXD/MSD uses this setting to create the map service with that visibility hard-coded? For reference, I'm looking at this sample: http://help.arcgis.com/en/webapi/javascript/arcgis/help/jssamples_start.htm To provide the full link to the sample, you need to right-click on the sample's name and choose Copy Link Address, or Open In New Tab. Otherwise the homepage is shown. Cheers, Steve
... View more
07-11-2011
05:55 PM
|
0
|
0
|
2329
|
|
POST
|
if there's only one user, and he really needs the precise geometries, perhaps he should be using a desktop tool like ArcView? Otherwise, show him in FireBug's NET tab how much data is being transferred each time he pans/zooms on the map, with maxAllowableOffset and without. Basically, it's a very simple tradeoff between performance and precision - when one goes up, the other goes down, and it's up to him to decide which is more important...
... View more
07-11-2011
05:03 PM
|
0
|
0
|
1152
|
|
POST
|
By now I didn't understand how to manage with two different time scales. Your example have only one time scale. The TimeSlider must be able to tune itself from different layers. One layer lasted from 1950 to 2011. Other layer lasted from 2011 April to 2011 July. Is it possible? In the example map, use the Change Map button to choose another History layer, and note that the time-slider updates to show the new time extent. Is this similar to what you're trying to do? In this case, there is only ever one time-aware layer, and one timeSlider, on the map at any one time. When changing to a new time-aware layer, the old time-aware layer is removed, and the timeSlider is removed using: map.timeSlider.pause();
map.timeSlider.destroy();
Then a new timeSlider object is created, with the new timeStops passed in. In your original code sample above, you're trying to create and start-up two timeSlider objects on the same map. You may need to change the logic so that only one time-aware layer (fire OR reg) is shown at a time, with the timeSlider updated to suit that layer when it's loaded. Hope this helps, Steve
... View more
07-11-2011
03:26 PM
|
0
|
0
|
2054
|
|
POST
|
I need only TimeSlider as a dijit, not map time extent. And I want to make queries for several date fields and manually filter objects. Sorry I missed that in your previous post. In that case I'm not sure, sorry. Good luck, Steve
... View more
07-10-2011
10:52 PM
|
0
|
0
|
2054
|
|
POST
|
Hi Paul, I still don't think that you need to have 2 separate time sliders. It looks like you're trying to display the change in 2 layers (Fire and Reg) over time - a single timeslider will do this. Your Fire and Reg layers need to be defined as Time-Aware. See this Time Slider sample for the code to add a time slider to the map and configure it. Then you simply add the time-aware layers to the map, and when you change the timeSlider they will automatically change. This map is an example of the timeSlider in action. Drag the timeSlider, and note that it updates all of the layers (the blue dots and orange polygons) - these layers are time-aware, so they both update when the map's timeExtent changes. Steve
... View more
07-10-2011
10:37 PM
|
0
|
0
|
2054
|
|
POST
|
We cannot have two TimeSliders on the page As far as I understand, the timeSlider applies at the map level, meaning that it changes the timeExtent of the entire map. Any time-aware layer on the map will update according to the map's current timeExtent. So in this scenario it wouldn't make sense to have multiple timesliders, since the map itself can only have one time. Can you explain why you need two timesliders on the same map? This might help to come up with a workaround. Cheers, Steve
... View more
07-10-2011
05:04 PM
|
0
|
0
|
2054
|
|
POST
|
Sorry, try again now - or just fire up ArcView 3 and hit the Label checkbox 🙂
... View more
07-07-2011
04:21 PM
|
0
|
0
|
783
|
|
POST
|
Mark, You're right, I should have tested this against Bing.com so I can't really complain. Here are some examples of (IMO) poor cartographic choices in the new Bing maps: Inconsistent application of suburb labels (Bondi vs BONDI JUNCTION) in a variety of huge fonts, with no apparent reason. These labels are very similar to the roads and easily blend in (look at the WOOLLAHRA label in the lower right of the screenshot). There are far too many suburb labels resulting in clutter. Ridiculously large fonts beside more reasonable fonts. Duplication of labels in close proximity (Sydney Harbour x 3 in just this tiny example). This looks like something out of ArcView 3 - given Microsoft's resources it's quite disappointing. Personally, I'll be looking around at alternatives to this new map style. Cheers, Steve
... View more
07-07-2011
01:26 PM
|
0
|
0
|
783
|
|
POST
|
You can hide infoWindow title Bar by using map.infoWindow.hideTitleBar(); Nice find - thanks. The problem is that this also hides the X to close the infoWindow. Is there a way to hide the title bar, but keep the X? (I've already implemented the ESC key to close the infoWindow as discussed in a previous post, but I think there still should be a way to close it using the mouse).
... View more
07-06-2011
03:53 PM
|
0
|
0
|
757
|
|
POST
|
Hi Mark, It seems to be working now - I guess it just had to refresh overnight. I HATE the new labelling that Microsoft have used! It looks absolutely terrible when used as a basemap. At city-wide scales using the Aerial With Labels option, the (SHOUTING UPPERCASE) suburb labels completely overwhelm the map, and the labels are the same colour as the roads. Worse, the roads and labels are the same colour as other map elements such as our zoom-in bar (this is why I was so keen to test this before it was foisted upon us....)
... View more
07-06-2011
03:35 PM
|
0
|
0
|
2202
|
| 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
|