|
POST
|
Hi all In this sample I would like to replace the maps in the Switch Basemap window by my own maps. The goal is to allow the user to choose between several themes for his/her map: standard view, utilities view, business view, field view, engineering view, etc How can I customize this window? http://developers.arcgis.com/en/javascript/samples/widget_basemap/ Regards
... View more
09-03-2013
09:04 AM
|
0
|
6
|
1812
|
|
POST
|
Any source code that I can test with this functionality?
... View more
08-30-2013
03:49 AM
|
0
|
0
|
922
|
|
POST
|
Hi all Is there any Info Window that shows more than one record of the feature selected? Thanks
... View more
08-29-2013
11:26 AM
|
0
|
4
|
1308
|
|
POST
|
Hi all, Is there any JavaScript API sample with a map with real buttons, toolbars, buffer, select features and other functionalities. thanks
... View more
08-26-2013
11:20 AM
|
0
|
0
|
734
|
|
POST
|
The solution: http://support.microsoft.com/kb/175500
... View more
08-26-2013
10:22 AM
|
0
|
0
|
2181
|
|
POST
|
Hi all I have a java script page that loads a map with only on layer and it loads very slowly after adding several controls to the page: - overview - display image to show that the map is loading - display X,Y coordinates - Display legend and TOC - Display info-template to show info popup window And I need to add a few more controls to obtain a similar behavior to the regular web ADF application How can I optimize performance? Thanks
... View more
08-26-2013
10:16 AM
|
0
|
1
|
847
|
|
POST
|
Hi all, I want to add several buttons to select features by clicking a point, drawing a rectangle, a circle, a line, or a polygon. http://resources.esri.com/help/9.3/arcgisserver/apis/javascript/arcgis/demos/toolbars/toolbar_navigation.html Any code that might help Thanks
... View more
08-23-2013
11:07 AM
|
0
|
1
|
989
|
|
POST
|
I am using the toolbar from this sample: http://resources.esri.com/help/9.3/arcgisserver/apis/javascript/arcgis/help/jssamples_start.htm#jssamples/map_xycoords.html what I need is to add some additional buttons such as: - the identity button or select by point - select by rectangle - select by circle - find address button that opens a popup window - etc ... Any samples that might help?
... View more
08-23-2013
10:20 AM
|
0
|
0
|
2713
|
|
POST
|
Hi all I am using the Toolbar from this sample: https://developers.arcgis.com/en/javascript/jssamples/toolbar_navigation.html but in my program when I Zoom In the first time it works but the second time it looks like it gets confused with the Pan button, so it does not Zoom in, and it draws the zoom in window from bottom to top even if the zoom in is drawn from top to botton. //create the map and specify the custom info window as the info window that will
//be used by the map
map = new esri.Map("map", {
extent: mapExtent
});
// Loading image
//
dojo.connect(map, "onUpdateStart", showLoading);
dojo.connect(map, "onUpdateEnd", hideLoading);
//Takes a URL to a map in a map service.
var dynamicUrl = "";
dynamicUrl = "http://...../ArcGIS/rest/services/OneLayer/MapServer"
var dynamicLayer = new esri.layers.ArcGISDynamicMapServiceLayer(dynamicUrl);
legendLayers.push({ layer: dynamicLayer, title: "Dolfin" });
dojo.connect(map, 'onLayersAddResult', function (results) {
//add the legend
var legend = new esri.dijit.Legend({
map: map,
layerInfos: legendLayers,
arrangement: esri.dijit.Legend.ALIGN_LEFT
}, "legendDiv");
legend.startup();
var standardTOC = new agsjs.dijit.TOC({
map: map
}, 'standardDiv');
standardTOC.startup();
});
map.addLayers([dynamicLayer]);
//define the info template that is used to display the popup content.
var infoTemplate1 = new esri.InfoTemplate("Attributes", "${*}");
//create the feature layer (street trees of San Francisco)
var featureLayer = new esri.layers.FeatureLayer("http://jsancn-3-doug/ArcGIS/rest/services/OneLayer/MapServer/0",{
mode: esri.layers.FeatureLayer.MODE_ONDEMAND,
infoTemplate: infoTemplate1,
outFields: ["*"]
});
map.addLayers([featureLayer]);
//resize the info window
map.infoWindow.resize(180, 75);
navToolbar = new esri.toolbars.Navigation(map);
dojo.connect(navToolbar, "onExtentHistoryChange", extentHistoryChangeHandler);
dojo.connect(map, 'onLayersAddResult', function (results) {
//add check boxes
dojo.forEach(legendLayers, function (layer) {
var layerName = layer.title;
var checkBox = new dijit.form.CheckBox({
name: "checkBox" + layer.layer.id,
value: layer.layer.id,
checked: layer.layer.visible,
onChange: function (evt) {
var clayer = map.getLayer(this.value);
clayer.setVisibility(!clayer.visible);
this.checked = clayer.visible;
}
});
//add the check box and label to the toc
dojo.place(checkBox.domNode, dojo.byId("toggle"), "after");
var checkLabel = dojo.create('label', { 'for': checkBox.name, innerHTML: layerName }, checkBox.domNode, "after");
dojo.place("<br />", checkLabel, "after");
});
});
//resize the map when the browser resizes - view the 'Resizing and repositioning the map' section in
//the following help topic for more details http://help.esri.com/EN/webapi/javascript/arcgis/help/jshelp_start.htm#jshelp/inside_faq.htm
// dojo.connect(map, 'onLoad', function (theMap) {
// //resize the map when the browser resizes
// dojo.connect(dijit.byId('map'), 'resize', map, map.resize);
// });
var resizeTimer;
dojo.connect(map, "onLoad", function (map) { map.infoWindow.resize(250, 100); });
dojo.connect(map, 'onLoad', function (theMap) {
dojo.connect(dijit.byId('map'), 'resize', function () { //resize the map if the div is resized
clearTimeout(resizeTimer);
resizeTimer = setTimeout(function () {
map.resize();
map.reposition();
}, 500);
});
//after map loads, connect to listen to mouse move & drag events
dojo.connect(map, "onMouseMove", showCoordinates);
dojo.connect(map, "onMouseDrag", showCoordinates);
//add the overview map
var overviewMapDijit = new esri.dijit.OverviewMap({
map: map,
visible: false
});
overviewMapDijit.startup();
});
}
//show map on load
dojo.addOnLoad(init);
... View more
08-23-2013
09:49 AM
|
0
|
0
|
949
|
|
POST
|
Hi all, This sample only works for one layer, https://developers.arcgis.com/en/javascript/jssamples/widget_extendInfowindow.html but in a regular map service there are several layers. Is there any generic Custom info window that will show like in ArcMap or Web ADF the attributes for several layers? Regards
... View more
08-21-2013
07:44 AM
|
0
|
1
|
1153
|
|
POST
|
Hi all When loading a map with more than 25 layers I get the following error with Internet explorer, not Chrome. "A SCRIPT ON THIS PAGE IS CAUSING YOUR WEB BROWSER TO RUN SLOWLY. IF IT CONTINUES TO RUN, YOUR COMPUTER MIGHT BECOME UNRESPONSIVE" Thanks
... View more
08-21-2013
04:24 AM
|
0
|
2
|
1355
|
|
POST
|
Hi all Anyone can recommend a sample of toolbar with buttons and commands? thanks
... View more
08-21-2013
04:12 AM
|
0
|
6
|
3149
|
|
POST
|
Do you use .aspx forms with ASP.Net and JavaScript code with ArcGIS API or only JavaScript?
... View more
08-21-2013
04:07 AM
|
0
|
0
|
836
|
|
POST
|
Hi all is there any JavaScript sample other than http://resources.esri.com/help/9.3/arcgisserver/apis/javascript/arcgis/help/jssamples_start.htm#jssamples/toolbar_navigation.html that shows other navigational tools or buttons, such as select by polygon, map identify, goto location, measure, etc the ones that appear in the Web ADF web mapping application template. thanks
... View more
08-19-2013
10:35 AM
|
0
|
0
|
518
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 05-01-2026 12:34 PM | |
| 1 | 12-02-2022 08:17 AM | |
| 1 | 12-26-2025 05:02 AM | |
| 1 | 08-05-2025 04:28 AM | |
| 1 | 08-05-2025 04:33 AM |
| Online Status |
Online
|
| Date Last Visited |
Wednesday
|