|
POST
|
Is there any reason you can't embed your map inside a DOJO ContentPane (inside a DOJO BorderContainer) and pass the BorderContainer object reference to the other team? That way, the map always has control over its container. Set the BorderContainer to width/height 100%. Set the region to center for your Content Pane. Hook up the BorderContainer resize event to your bootstrap.show() event. Map should resize based on its container. You really need to use events though.
... View more
09-18-2014
12:42 PM
|
0
|
1
|
711
|
|
POST
|
Hi Tim. You are right in using undoManager.remove() for your use case. We will force the deletion to go linear by doing the following: After removing the graphic using remove(), you should immediately re-add the graphic back using add(), then call undo(). This will make the graphic look 'deleted', but will still be accessible by redo(), if you desire. I have not tested this but in theory, it should work. Also... there may be flickering, I'm not sure. Let me know if this works out.
... View more
09-18-2014
11:50 AM
|
1
|
1
|
1767
|
|
POST
|
Thanks Ken! As strange as this may sound, I'm glad this is not an IE exclusive issue Do you have any additional details about how this issue was fixed previously and what was the root cause? Are you using mouse events or drag events for map interaction? Code always welcome!
... View more
09-18-2014
10:56 AM
|
0
|
0
|
1130
|
|
POST
|
Hi Ken, thanks for posting! I have some questions: What browser were you using? If it was IE, what version specifically? If it was IE, does this issue also occur in Chrome, Firefox when using the same exact use-case? Are you using a template application or is this a completely new in-house application? Any code snippets are also much appreciated.
... View more
09-17-2014
03:07 PM
|
0
|
2
|
1130
|
|
POST
|
The order of your dependencies inside the require is wrong. You assign "dojo/query" to "Color" and "dojo/_base/Color" to query. They must match 1 to 1. This is talked about in the introductory documentation.
... View more
09-17-2014
03:01 PM
|
0
|
0
|
846
|
|
POST
|
In esri.css :
.esriMeasurement .distanceIcon {
background-image: url("../dijit/images/Measure_Distance16.png");
height: 16px;
width: 16px;
}
.esriMeasurement .areaIcon {
background-image: url("../dijit/images/Measure_Area16.png");
height: 16px;
width: 16px;
}
.esriMeasurement .locationIcon {
background-image: url("../dijit/images/Measure_Point16.png");
height: 16px;
width: 16px;
}
You would need to override the above styles with your own. The buttons are standard dojo ToggleButtons. dijit/form/ToggleButton — The Dojo Toolkit - Reference Guide
... View more
09-17-2014
02:54 PM
|
0
|
0
|
411
|
|
POST
|
It's still pointing to a local reference and failing to load for me.
http://webgisdevext1/arcgis/rest/services/ResourceMgmt/WatershedMapper/MapServer
You can test this by going to http://webgisdevext1 on a device outside your network. It will redirect to http://www.webgisdevext1.com/ which isn't doesn't look like your website
... View more
09-12-2014
02:20 PM
|
0
|
2
|
1631
|
|
POST
|
Yes, the API is generating the selection symbol using SVG. That particular light blue border is the default selection symbol, and its implemented somewhere in your application. Could you post your code or recreate a sample of your application showcasing the issue using jsfiddle ? Thanks!
... View more
09-12-2014
02:13 PM
|
0
|
0
|
2405
|
|
POST
|
That application doesn't work correctly for folks outside your network because of the following:
http://webgisdevint1/arcgis/rest/services/Alex_Try/Layers/MapServer
I'd love to help but can't replicate your workflow with this being broken from my point of view.
... View more
09-12-2014
11:06 AM
|
0
|
5
|
1631
|
|
POST
|
Need more code. Can you create a sample of your issue using jsfiddle so I can take a look? Thanks!
... View more
09-12-2014
10:52 AM
|
0
|
2
|
982
|
|
POST
|
Something like:
var dojoConfig = {
packages: [{
name: "agsjs",
location: "http://134.186.111.22/AG_Sandbox/layout-master/demos/src/agsjs/"
}
]
};
Better:
// Assuming location.pathname refers to the demos directory at http://134.186.111.22/AG_Sandbox/layout-master/demos
var path_location = location.pathname.replace(/\/[^/]+$/, '');
var dojoConfig = {
packages: [{
name: "agsjs",
location: path_location + "/src/agsjs/"
}
]
};
To start it all up:
require([
"agsjs/dijit/TOC",
], function(
TOC
){
// hello world
});
You are defining the agsjs package for DOJO and pointing it to a particular URL on your machine (localhost). Then, you require the module as any other module, name is as you want and you are good to go.
... View more
09-10-2014
12:16 PM
|
0
|
2
|
2526
|
|
POST
|
// Since you use a hosted version of dojo, path_location will point to http://js.arcgis.com/3.10/js/dojo/
var path_location = location.pathname.replace(/\/[^/]+$/, '');
var dojoConfig = {
packages: [{
name: "based_on_api_location_module",
location: path_location
}, {
name: "based_on_api_location_subfolder_example_module",
location: path_location + "/myModule"
},
{
name: "local_module_example_1",
location: "http://www.mywebsite.com/my_custom_module/"
},
{
name: "local_module_example2",
location: "//localhost/something_goes_here"
}
]
};
... View more
09-10-2014
11:37 AM
|
0
|
5
|
2526
|
|
POST
|
Basically, with that dojoConfig.paths object, you are telling DOJO that your /src/agsjs/ folder is at http://js.arcgis.com/3.10/js/dojo/agsjs/ . This folder doesn't exist since ESRI does not host the TOC. Two Solutions are: 1) You can host the API locally to avoid having to change the structure of your dojoConfig object 2) Change your dojoConfig object to point to the right location (easiest and recommended solution)
... View more
09-10-2014
11:09 AM
|
0
|
7
|
2526
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 08-26-2014 09:56 AM | |
| 1 | 09-18-2014 11:50 AM | |
| 1 | 09-19-2014 11:28 AM | |
| 1 | 07-09-2014 01:43 PM | |
| 1 | 07-09-2014 02:05 PM |
| Online Status |
Offline
|
| Date Last Visited |
08-14-2024
05:31 PM
|