|
POST
|
1. you cannot convert tiled services to a different coordinate system 2. proxy will not help Basically if you need to use that WMS service, you cannot use ESRI basemaps. You only option appears to be to find a wkid 4326 basemap. I am not aware of any
... View more
05-28-2014
09:55 AM
|
0
|
0
|
3292
|
|
POST
|
well, in true hacky code fashion, i decided just to loop and wait //override attribute button to show attribute pane
function openAttribute(){
registry.byId("EditContainer").selectChild(registry.byId("editAttributePane"));
};
//element doesnt exist until editorWidget is done being created, so sometimes this works, sometimes it doesnt
function waitForWidget() {
var widget = registry.byId('btnAttributes');
if (!widget) {
setTimeout(waitForWidget, 500); // setTimeout(func, timeMS, params...)
} else {
// Set location on form here if it isn't in getLocation()
widget.attr('onClick', openAttribute);
}
}
waitForWidget();
... View more
05-28-2014
07:34 AM
|
0
|
0
|
1359
|
|
POST
|
ok, but since this is an esri dijit, called from within a custom widget, I am not sure to put the ready code. Basically, 1.the dom structure is there. 2. user logins in. On successful login, creating my custom editing Widget is called. 3. Feature layers and attribute inspector load. Once they are loading, esri's editor dijit is created (startup called). 4. Once the dijit is created, i need to hook an onclick method to one of the edit toolbar functions. However, I never know when its dom elements will exist.
... View more
05-28-2014
05:30 AM
|
0
|
0
|
1359
|
|
POST
|
i need to hook an onclick event to an element that doesnt exist until a dijit is created editorWidget = new Editor(params,'editorDiv');
editorWidget.startup();
//override attribute button to show attribute pane
function openAttribute(){
registry.byId("EditContainer").selectChild(registry.byId("editAttributePane"));
};
//element doesnt exist until editorWidget is done being created, so sometimes this works, sometimes it doesnt
registry.byId('btnAttributes').attr('onClick', openAttribute); but the registry.byId('btnAttributes') is null until the editor dijit is done being created. I would prefer not to set timeouts (i even tried 3 seconds, seems 50/50 that it would work) Is there a way to figure out that the editor dijit is done starting up?
... View more
05-27-2014
12:36 PM
|
0
|
6
|
1919
|
|
POST
|
ok well since its getting into the myFunction, you are calling it correctly however it looks like the extractMethod variable is null in the function, is this a global variable?
... View more
05-27-2014
11:53 AM
|
0
|
0
|
4527
|
|
POST
|
mine obey visibility. Make sure you arent grouping layers in your mapservice, TOC can't handle groups
... View more
05-27-2014
11:25 AM
|
0
|
0
|
1978
|
|
POST
|
more than likely its a scope issue, but without seeing how you call "myfunction" its hard to tell
... View more
05-27-2014
10:39 AM
|
0
|
0
|
4527
|
|
POST
|
I wonder if you hit this bug http://support.esri.com/en/bugs/nimbus/role/beta10_1/TklNMDk0NDMx
... View more
05-27-2014
09:27 AM
|
0
|
0
|
2864
|
|
POST
|
http://gmaps-utility-gis.googlecode.com/svn/tags/agsjs/latest/docs/toc/reference.html
... View more
05-27-2014
08:23 AM
|
0
|
0
|
1978
|
|
POST
|
I tried my site, and get Crawl and Analyze Detecting Configuration Crawling Your Code Unable to find a script tag referencing dojo.js or the ArcGIS JS API. I dont think it likes my reference to a local API link http://www.mymanatee.org/gisapps/mobile/index.html
... View more
05-23-2014
10:54 AM
|
0
|
0
|
934
|
|
POST
|
I should not be encouraging you to do this. You really need to use AMD however map.on is still AMD dojo.connect(map, "onLoad", function(layer) { //function }); etc..
... View more
05-22-2014
12:19 PM
|
0
|
0
|
1299
|
|
POST
|
the short answer is no. There is nothing out of the box that does this. From a high level, you need points on a map that have a hyperlink attribute to the document You can serve points for a map in three ways 1. As points from a shapefile/geodatabase/SDE 2. csv file from a spreadsheet 3. json list of coordinates and then as graphics The hard part will be extracting the location information from the meta fields. you will have to do that, the javascript API does not provide that functionality. You will basically have to (on some schedule) 1.mine your document repository, 2.extract the locations and file paths, 3.create a table of hyperlink, x, and y 4.serve that table as a spatial set of points 5. enable the hyperlink functionality. sounds like a nice compact project but one that will require lots of custom code to fit your environment good luck jeff
... View more
05-22-2014
10:30 AM
|
0
|
0
|
1455
|
|
POST
|
i can tell by your extent that they are not (wkid 4326). that is wgs 84 (lat long). You need to be in web mercator auxiliary sphere
... View more
05-22-2014
09:10 AM
|
0
|
0
|
3292
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 05-22-2014 08:35 AM | |
| 1 | 05-02-2012 04:56 AM | |
| 1 | 10-29-2021 07:40 AM | |
| 1 | 10-28-2021 05:26 AM | |
| 1 | 07-17-2012 08:48 AM |
| Online Status |
Offline
|
| Date Last Visited |
03-01-2022
02:00 PM
|