|
POST
|
I'd probably need to see more code to replicate and see what you mean. And, you have map.width, the read-only property, set to 700. I'm not sure how much that helps you or how much it hinders you.
... View more
03-14-2016
04:21 AM
|
0
|
0
|
2348
|
|
POST
|
Seeing more code might be helpful. I'm not picturing what's happening. You're moving right_col to the left side of the window? Are the right_col dimensions changing? Are you AMD? Are you checking to see if the dom is ready after stuff is moved around? The sync/async stuff can get screwy at times. Your map may have resized before the dom was ready (before your right_col moved). What version of the API?
... View more
03-11-2016
09:20 AM
|
0
|
0
|
2348
|
|
POST
|
Height and width are read-only for the map. Remove map.width and map.height. Your map is in a containing div, right? #right_col or #map? Just resize the containing div. Map | API Reference | ArcGIS API for JavaScript
... View more
03-11-2016
08:49 AM
|
0
|
0
|
2348
|
|
POST
|
Your map width is 1000 but the containing map div is 500px.
... View more
03-11-2016
08:15 AM
|
0
|
2
|
2348
|
|
POST
|
Sadly due to time constraints, I can't play with this much longer. What I have is working... I just have to use the _symbols object. I get that the _object names are reserved/internal objects. But, if it aint broke...
... View more
03-11-2016
04:12 AM
|
0
|
0
|
1454
|
|
POST
|
Nice! I feel famous now. I will play with that tomorrow. Thank you.
... View more
03-10-2016
03:39 PM
|
0
|
0
|
1454
|
|
POST
|
Limit the selected attribute count that is displayed. My tolerance is 3. Given where the data is, I could click on Florida and get 30 results back. I could click on the gulf and get 500. I don't need 500. I would only really need to display about 50 at a time. Is lowering the tolerance what I want?
... View more
03-09-2016
10:38 AM
|
0
|
0
|
1597
|
|
POST
|
I'm using html labels, unordered lists and divs. I'm looping through to get the columns then looping through to tie values to existing columns, throwing that in json and iterating through the json to build html. I may could refactor the looptyloops.
... View more
03-09-2016
10:35 AM
|
0
|
0
|
1597
|
|
POST
|
Is there a way to limit the results returned by the IdentifyTask? I get the results back pretty quick but then I'm creating column headers based on the response.feature.attributes and throwing the data in a json object. Then I'm iteration through the response.feature.attributes to match all of the values to the column. My sample feature service has 1000 features. It's taking a LONG time to build my json object of the data that is returned from response.
... View more
03-09-2016
09:44 AM
|
0
|
4
|
1597
|
|
POST
|
That's what I started doing... splicing the layer.url at the last "/" and now I have the service URL and the layer id. It just feels dirty. Is there a decent way of Identifying more than one service at a time? I have a use case for 3 layers on the map from 2 services. I'd have to look at all the urls, splice them all as you described, compare service urls and grab their respective id and create a IdentifyTask for each unique service url? That sounds dirtier.
... View more
03-09-2016
08:57 AM
|
0
|
1
|
1597
|
|
POST
|
I did not visit your url, but there are differences in the two code snippets. Take the '?' off from the end of your url. I think that might be making it cause problems. And, you have to make sure that you have layers at 1 and 2. Go to that url that you provided, and see if there are 0, 1, 2 (at least), listed.
... View more
03-09-2016
08:43 AM
|
0
|
0
|
612
|
|
POST
|
I have a thing that selects a layer. On map click, I set up some stuff but mostly follow the example on https://developers.arcgis.com/javascript/jssamples/find_popup.html The layer that I select is where I get the url from for the IdentifyTask. That doesn't work b/c IdentifyTask wants a service url. Question 1: How do I return the service url from a feature layer? Question 2: How do I figure out which layer, in the service, that I need for the IdentifyParameters.layerIds array? Note, if I hard code a service into my code, the IdentityTask call back does return a proper response. I just need the middle goods to finish this. Thank you
... View more
03-09-2016
08:16 AM
|
0
|
9
|
3573
|
|
POST
|
Changing the graphic doesn't actually work all of the time. One layer that I found has a set of polygons for each LOD of the map. When I use graphic.setSymbol, only one LOD is modified. And sure, I could iterate through all of the LODs and all of the graphics, but there has to be an easier way, yea?
... View more
03-08-2016
12:07 PM
|
0
|
3
|
1454
|
|
POST
|
I tried that for simplefill and simplelines and that works well. I'll have to try it for picturemarkers too.
... View more
03-08-2016
10:34 AM
|
0
|
0
|
1454
|
|
POST
|
UniqueValueRenderer and SimpleRenderer most of the time. It depends on the layer that comes in. I wasn't sure if I could mess with the graphic b/c that just contains the coordinates mostly, correct? layer.graphics[0].symbol is undefined when layer.renderer._symbols[0].symbol is the picturemarker or simplemarker symbol.
... View more
03-08-2016
09:31 AM
|
0
|
6
|
1454
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 12-31-2015 06:07 AM | |
| 1 | 09-25-2015 08:35 AM | |
| 1 | 12-07-2015 04:32 AM | |
| 1 | 11-06-2015 07:47 AM | |
| 1 | 03-28-2016 04:19 AM |
| Online Status |
Offline
|
| Date Last Visited |
11-11-2020
02:24 AM
|