|
POST
|
However, if you use the actual FIND TOOL (the Binos) (as I WILL be doing) you'll get the entire list. I have a similar situation but I am not getting multiple candidates either even on the find tool. I have a parcel layer and I am trying to use single field on parcel id to create a locator. It's has parcel 2 id fields with 1-n relationship, one is polygon id(1), another is tax id (N) and the layer is joined with both id in the attributes. In a condo case, there will be multiple records with same poly id but different tax id. I tried different combinations including using one id as key and the other as alternate name, or alias table, so the user can enter either polygon id or tax id to get a location. It works, but the problem is that it does not return multiple candidates when the polygon id is entered. It only returns one, and seems randomly pick one out of the list. For example, there is a parcel polygon id ABC, and it related to 2 tax id A01 and A02. When user enters ABC, it should return both as candidate, but it only returns one with score 100. I have altered using either one as key field, but get basically same result. Maybe I should instruct the locator return multiple candidates even it's score as 100? How?
... View more
02-16-2012
06:28 AM
|
0
|
0
|
586
|
|
POST
|
Hi, user_fld is a new feature introduced in ArcGIS 10. It's quite useful to put additional fields such as a parcel ID in that field to avoid extra query round trip for single house style locator. It's working very well in ArcGIS 10. However, after SP1 (then SP2 & 3), it seems that functionality is having trouble. For locators created with ArcGIS 10 but published to SP1-3 (basically after applying for service packs to ArcGIS server), it is still available. The problem is for new locators created with ArcGIS 10 Sp1 and later. Although the create tool still asks for that field, the resulting locator no longer advertise that field in "candidate fields", even after the "writeAdditionalOutputFields" in the .loc.xml is changed to "true" manually. Anyone else is having the same problem?
... View more
02-13-2012
11:46 AM
|
0
|
5
|
851
|
|
POST
|
Sure ... Here it is: http://gis.idaho.gov/ArcGIS/rest/services/IdahoParcels/MapServer/export?bbox=-13111521.4096355,5227490.01628827,-12327648.1490388,5861903.93435771 I see a little black box in the upper left corner. Do you? You arcgis server's URL should be configed to external URL not your internal server name (adm-magellan) , otherwise it only works inside your network even server name is correct. Do that in ArcCatalog.
... View more
02-10-2012
11:29 AM
|
0
|
0
|
1011
|
|
POST
|
It is not easy, if not impossible, to intercept the event firing sequence in BasemapGallery's private methods. As a result, the Google maps can only be loaded upon the first public event "onSelectionChange" is fired, which means they can not be automatically loaded. However, you can assign it an ID and manually load it. You may need to put your default basemap as first entry in the list to have consistent UI.
var basemaps = [];
basemaps.push(new esri.dijit.Basemap({
layers: [new esri.dijit.BasemapLayer({
type: 'GoogleMapsHybrid'
})],
title: "Google Hybrid",
id:'GoogleHybrid',
thumbnailUrl: dojo.moduleUrl("agsjs.dijit", "images/googlehybrid.png")
}));
... then
basemapGallery.startup();
basemapGallery.select('GoogleHybrid');
Example: http://gmaps-utility-gis.googlecode.com/svn/trunk/agsjs/examples/manualgallery.html
... View more
02-09-2012
10:16 AM
|
0
|
0
|
528
|
|
POST
|
Chris, The new gmapsggalley (1.7) example is great but how do I go about building a manual version of the gallery to only show the 3 Google Basemaps, ESRI Street,ESRI Topo and ESRI Grey with Reference ? Something like that:
var basemaps = [];
basemaps.push(new esri.dijit.Basemap({
layers: [new esri.dijit.BasemapLayer({
url: "http://server.arcgisonline.com/ArcGIS/rest/services/World_Street_Map/MapServer"
})],
title: "Esri Street",
thumbnailUrl: "http://www.arcgis.com/sharing/content/items/b165c3df453e4be6b5ac4fdb241effbe/info/thumbnail/delorme_base_map.jpg"
}));
basemaps.push(new esri.dijit.Basemap({
layers: [new esri.dijit.BasemapLayer({
url: "http://server.arcgisonline.com/ArcGIS/rest/services/World_Topo_Map/MapServer"
})],
title: "Esri Topo"
}));
basemaps.push(new esri.dijit.Basemap({
layers: [new esri.dijit.BasemapLayer({
url: "http://server.arcgisonline.com/ArcGIS/rest/services/Canvas/World_Light_Gray_Base/MapServer"
}), new esri.dijit.BasemapLayer({
url: "http://server.arcgisonline.com/ArcGIS/rest/services/Canvas/World_Light_Gray_Reference/MapServer",
isReference:true
})],
title: "Esri Grey with Label"
}));
basemaps.push(new esri.dijit.Basemap({
layers: [new esri.dijit.BasemapLayer({
type: 'GoogleMapsRoad'
})],
title: "Google Maps",
thumbnailUrl: dojo.moduleUrl("agsjs.dijit", "images/googleroad.png")
}));
basemaps.push(new esri.dijit.Basemap({
layers: [new esri.dijit.BasemapLayer({
type: 'GoogleMapsSatellite'
})],
title: "Google Satellite",
thumbnailUrl: dojo.moduleUrl("agsjs.dijit", "images/googlesatellite.png")
}));
basemaps.push(new esri.dijit.Basemap({
layers: [new esri.dijit.BasemapLayer({
type: 'GoogleMapsHybrid'
})],
title: "Google Hybrid",
thumbnailUrl: dojo.moduleUrl("agsjs.dijit", "images/googlehybrid.png")
}));
var basemapGallery = new esri.dijit.BasemapGallery({
showArcGISBasemaps: false,
basemaps: basemaps,
googleMapsApi: {
v: 3.6
},
map: map
}, "basemapGallery");
basemapGallery.startup();
... View more
01-30-2012
06:12 AM
|
0
|
0
|
1645
|
|
POST
|
Where is this Manual Mode property you're referring to? I don't see it on the Basemap, BasemapLayer, or BasemapGallery classes. There is no "manual mode" per se, I was referring to the manual sample for the API, in which you create an array and add basemaps to it in code. How (and where) do you use multiple URLs? The BasemapLayer's url parameter is expecting a string, not an array or something. Basemap accepts multiple BasemapLayers. Because they are two separate services and must both be added to the map, that workaround is the best solution I currently have. you can mix-and-match different services(BasemapLayer) to create a "Basemap". If you want have label layer turned on/off inside the gallery, check out this sample: http://gmaps-utility-gis.googlecode.com/svn/tags/agsjs/1.07/examples/gmapsgallery.html Also, I'd rather handle the maintenance of this list within the code, rather than go out to Arcgis.com and create a group, should I ever need to change it. Don't really want to rely on another resource for something I can accomplish in code. I am sure many people will disagree, but do what you feel most comfortable with.
... View more
01-06-2012
09:29 AM
|
0
|
0
|
1645
|
|
POST
|
If you want your own order, it's better to just use manual mode with fixed order. To deal with reference layers, use multiple URL and set the reference=true flag. Using your workaround is kind of risky. Since Esri may change the default gallery, you may end up different type of reference layer, or your hard-coded basemap just completely gone. Use a user group as Kelly suggested may help in some extent, but unlikely for Esri's basemaps. The gallery order is decided by a attributed called "name" (as of v2.6), which is not available for user editing. The value is null for non-Esri basemaps, which translated to "undeterministic". Esri's basemap have pre-set "names" via other methods (likely via non-public API). If you see the default gallery order changed, chances are those "name" attributes were changed in the map item, then the order will change in your user group as well.
... View more
01-06-2012
08:12 AM
|
0
|
0
|
1645
|
|
POST
|
Does anybody know if I can read a SOAP end point of a feature service using the ArcGIS Server JavaScript API? Or does it only works with the service's REST end point? You can try: https://cwiki.apache.org/CXF20DOC/javascript-clients.html However, a more realistic approach is probably write a server piece that talks to SOAP end and then output result as JSON with callback.
... View more
12-21-2011
11:50 AM
|
0
|
0
|
534
|
|
POST
|
Steven, Try this example: http://gmaps-utility-gis.googlecode.com/svn/tags/agsjs/1.07/examples/gmapsgallery.html The google maps are at end of the available list.
... View more
12-19-2011
11:47 AM
|
0
|
1
|
2032
|
|
POST
|
Is it possible to enable popup for basemap that have query/data capability enabled? I am talking about our own basemaps, not standard online basemaps such as bing or topo. Typically basemap has layers like address, parcel, road, and people would like to click on that to get info. It will be awkward to have another operational layer of same thing on top of it just to setup popup. Other views such as flex seems have options of defining popup for basemap layer. Although basemap service itself may have many sub layer for rendering purpose, it's an non-issue if it's deployed in a hybrid mode with simple mxd as service definition and complex mxd for tiles. I think some arcgisonline service was using that and it's transparent to end user.
... View more
11-20-2011
02:25 AM
|
0
|
1
|
2269
|
|
POST
|
True, but the user get a slightly different user experience, and it's not subject to the basemapGallery add/remove behavior. For now, I'll use Fiddle to get the same result until the API is available.
... View more
11-19-2011
04:27 AM
|
1
|
0
|
457
|
|
POST
|
Hi, Does anybody knows how to author a web map with multiple layers as basemap, like the esri's "XX with Labels". Basically those maps have a base tile layer, and another reference layer. However, in the arcgis.com viewer, you can only add one tile layer as basemap. Also, those layers carries information like "isReference", but there is no way in the online viewer to set them. Is there an API or some sort to post a JSON config for the web map, so we can manually setup a webmap according to its JSON specs? "baseMap": {
"baseMapLayers": [
{
"opacity": 1,
"url": "http://services.arcgisonline.com/ArcGIS/rest/services/World_Terrain_Base/MapServer",
"visibility": true
},
{
"isReference": true,
"opacity": 1,
"url": "http://services.arcgisonline.com/ArcGIS/rest/services/Reference/World_Reference_Overlay/MapServer",
"visibility": true
}
],
"title": "Terrain with Labels"
},
Finally, what about the "tasks"? It's showing up in json response, but it seems to no way to define them in viewer yet. Thanks, Nianwei
... View more
11-18-2011
02:36 AM
|
0
|
2
|
703
|
|
POST
|
Hello group, Some of you may have been using the "GoogleMapsLayer" available in the code gallery to bring Google Maps in JSAPI app as a base map option: http://www.arcgis.com/home/item.html?id=a84d64b0d1404366a02da714ca59d61f. I'd like to share a few major enhancement available: Support Google "map style", with custom hue/lightness/saturation, and turn on/off features drawn, which offers unlimited flavor of base maps. i.e. "dynamic-thematic-tiled" base map. Provides 2 predefined styles: "Gray" and "Night" to use with operational layers on different scenarios, and any custom configuration. Street view with display of streets where images available, drag-drop pegman icon to switch between street view mode and map mode. Cross domain built for use online version, no download necessary to get started. Works with BasemapControl widget (http://www.arcgis.com/home/item.html?id=7032c5fce478455b848183e42fd5b256) to easily provide many base map options to your application. Feedback welcome. N.L.
... View more
10-27-2011
11:34 AM
|
0
|
1
|
670
|
|
POST
|
Hello group, Does anybody knows or willing to share if it is possible to let the mouse event reach to a div inside the layers element? That means event on individual layers such as tiled, dynamic layer or any customer layer. Right now, the DOM structure is like:
map_zoom_slider
map_infowindow
map_container
map_layers
...individual_layers
the slider and infor window can capture mouse events, however, event is not reaching further down to individual layers, they all stopped at map_container div and it's children cannot receive any events. I can somehow use an external control to temporarily lift my div on top of map_container, so it will receive events such as mouse down/move(drag) etc. It works but have potential side effects with event listeners because the DOM structure changed. I also temped messing with z-index, not work as wished. The actual use case is to allow google streetview pegman icon draggable when it is loaded into JSAPI as a div inside div map_layers. Thanks
... View more
10-10-2011
12:59 PM
|
0
|
0
|
517
|
|
POST
|
No it is not supported by Esri. It's just a lib in the code gallery, just like the old arcscripts stuff. Normally you need to dig out into the code if it is not work straight for you.
... View more
10-05-2011
11:38 AM
|
0
|
0
|
962
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 09-04-2013 10:53 AM | |
| 33 | 07-19-2012 01:20 PM | |
| 6 | 07-19-2012 01:22 PM | |
| 6 | 07-19-2012 01:22 PM | |
| 1 | 07-26-2013 10:51 AM |
| Online Status |
Offline
|
| Date Last Visited |
11-11-2020
02:23 AM
|