POST
|
Humm...I am not sure what the autoSelect would do in this case. These are multiple polygons. In the list of choices (the suggests work fine) they show up like duplicates. For example a city limits layer where there is a large city polygon but then some smaller disjoint polygons are part of the same city as well. What I was trying to do is have the search in this case return all the features and zoom to the extent of all of them together. Which I think I can do its just additional code to querytask on the item they select. Trying to build a one stop search for points (I currently have these as geocodeserver locators), polyline layers and polygon layers (I currently have these as featureserver) items. I have one search blob in my javascript that reads all the locator/featureserver setups from a configuration file. So really don't want to have to have settings there for the different types...I think I was just led astray by the statement about "locator and/or map/feature server". They are really different sorts of returns tho...just will handle them differently with the search-results I think.
... View more
07-13-2017
06:52 AM
|
0
|
0
|
209
|
POST
|
it does not seem to find multiple features (in the same layer) based on the select. without any search-result event listening I will get a singular polygon highlighted (I don't really like the default color that much either) seems like if I listen for search-results I can kind of get the index of the sources choice and the selected string somewhere down in there so I think I could then kick off a querytask or something and get an array of features returned that way that I could make my own graphic layer for and highlight them nicely but really is that the way its meant to work was it only intended for point sources geocoder locate services etc.? I read you could have a combo mix: "The Search widget provides a way to perform search capabilities based on locator service(s) and/or map/feature service feature layer(s)." and I do and works well except for multiple polygon and line featureserver returns I think. Am I missing something with the search-results? There is only ever one object there.
... View more
07-11-2017
01:26 PM
|
0
|
2
|
573
|
POST
|
I have a map with a clickListener that is setup initially via map.on to handle the standard infoTemplate information for layers that are turned on in an info WIndow. When I try to put the measurement tool on my page (using 3.13) I use a .remove for the click listener when the tool opens and am able to do the measure events no problem. However when the measure ends and I'm not sure if this should be when the close my form with the widget or on measure-end I am not able to re add my infoTemplate clickListener back in to show the info Window. I've seen a couple of examples that use dojo aspect or dojo connect but I gather dojo connect and disconnect are old. I can't seem to hit on a good way to do it or figure out the placement. Does anyone out there have a working measurement/info swap method that works? I'm thinking I may have to scrap the requested measurement functionality if its not possible. I'm using bootstrap / jquery / 3.13 with some amount of dojo mixed in to use some of the easier esri widget items where needed.
... View more
06-01-2015
02:25 PM
|
0
|
4
|
3666
|
POST
|
Bump...is there anyone out there able to comment on this? Really curious as to why images would be distributed in this manner.
... View more
07-23-2012
07:33 AM
|
0
|
0
|
332
|
POST
|
I'm trying to use (display) some files that are in ecw format and have an associated geotransform in an aux file. The images themselves are in the correct projection as matches the srs in the aux.xml file but there is a geotransform that appears to just alter the resolution so you end up needing to sort of double the stretch of the image to get it to match data in the projection. I may not be using the correct terms here but thats how it appears if you try to display the image with out the additional stretch from the geotransform in the aux file. Here is how one looks: <GeoTransform> 2.0750000000000000e+005, 5.0000000000000000e-001, 0.0000000000000000e+000, 1.3975000000000000e+006, 0.0000000000000000e+000,-5.0000000000000000e-001</GeoTransform> My question is why what is the motivation for producing images with this additional tweak to be done on the fly in the display? Does it allow the image size to be smaller? I just don't get it. How can this data be used with any other data? Seems like the resolution change will only degrade the image. What am I missing?
... View more
06-27-2012
05:56 AM
|
0
|
2
|
973
|
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:23 AM
|