|
POST
|
We have similar functionality in the Basic Viewer template and I can't reproduce the issue there. Here's a link to an application built on the template. http://apps.arcgis.com/hosted/OnePane/basicviewer/index.html?appid=6674f8465fc7479a91dffb366376e1cb Do you have a url for your app? Well using your print page i was able to solve my issue, now I have to figure out why. To do it, however, I had to use the http://apps.arcgis.com/sharing/tools/print page. Am I allowed to do this, or can I get the code so I can host it locally? Thank you.
... View more
10-13-2011
10:46 AM
|
0
|
0
|
827
|
|
POST
|
Kelly, Can you send me the source code? That is exactly what I want to do.
... View more
10-13-2011
10:28 AM
|
0
|
0
|
827
|
|
POST
|
okay even more odd even with navigation disabled on the new map (window.open), all navigation is broken on the parent and occurs on the child. If i close the child tab it nukes my parent (map is null) . anyone?
... View more
10-13-2011
10:05 AM
|
0
|
0
|
827
|
|
POST
|
I am trying to make a interactive print page in my primary app, i set some global variables with extent, layers, graphics, etc.. i then call window.open("print.html","PrintWindow"); print.html is an interactive map template. its init function is function init() {
// esriConfig.defaults.map.sliderLabel = null;
// var startExtent = new esri.geometry.Extent({"xmin":-9228363.6,"ymin":3140074.58,"xmax":-9116765.5,"ymax":3202141.45,"spatialReference":{"wkid":102100}});
printpagemap = new esri.Map("printpagemap",{extent:opener.printMapExtent, logo:false});
dojo.forEach(opener.printMapLayers, dojo.hitch(this, function(layer){
printpagemap.addLayer(layer);
}));
dojo.forEach(opener.printGraphics.graphics, dojo.hitch(this, function(graphic){
printpagemap.graphics.add(graphic);
}));
navToolbar = new esri.toolbars.Navigation(printpagemap);
}
So the references to "opener" are the parent app. This works great, except, as so as i do navigation on the print map, it destroys all navigation on the parent app, even though its in a new tab. If i navigate on the parent app, the map the is updated is on the print page only!!! I.e. the zoom slider moves in on the parent app but its map does not update, the map in the other tab does! also graphics become completely buggered. My guess is i am cross naming somewhere, but since the printmap has a completely different id i thought the would be independent? please help, thanks.
... View more
10-13-2011
06:42 AM
|
0
|
6
|
1166
|
|
POST
|
Eric, purely hypothetical, but just because the editor widget needs to be present, doesnt mean it needs to be visible or accessible.
... View more
10-10-2011
12:51 PM
|
0
|
0
|
494
|
|
POST
|
A tip, then a suggestion Test the query directly on the rest service. If you dont specify fields, i think it only returns the objectid and display field. Try uncommenting your outfields but making it ["*"] Hi all, I'm having some difficulty adding a simple info window to my app. I'm following a walkthrough which has told me to create an InfoTemplate and feed it some html. However the resulting pop up only displays a couple of fields: my OBJECTID and the display field used for symbology when the resource was published to the server. I need my pop up to display all/a selection of fields. My code below: var content = "${*}";
//var content = "<b> MSOA Area </b>: ${MSOA_AREA} <br/>";
// content = content + "<b> Mean Gross Annual Income </b>: ${INCOME_AVG_YEARLY_GROSS} <br/>";
// content = content + "<b> Target Age Population </b>: ${TARGET_AGE_POP} <br/>";
// content = content + "<b> Visitor Volume 19th July 2011 </b>: ${MAX_ADJ_VOL_190711} <br/>";
// content = content + "<b> Visitor Volume 23rd July 2011</b>: ${MAX_ADJ_VOL_230711} <br/>";
// content = content + "<b> Visitor Volume Difference </b>: ${MAX_ADJ_VOL_DIFF}";
var infoTemplate = new esri.InfoTemplate("Westfield Origin Destination", content);
//feature layer
var flURL = "http://SERVER/ArcGIS/rest/services/Maps/TSB_OD_Operational/MapServer/3";
featureLayer = new esri.layers.FeatureLayer(flURL, {
mode : esri.layers.FeatureLayer.MODE_ONDEMAND,
//outfields : ["MSOA_AREA","INCOME_AVG_YEARLY_GROSS","TARGET_AGE_POP","MAX_ADJ_VOL_190711","MAX_ADJ_VOL_230711","MAX_ADJ_VOL_DIFF"],
infoTemplate : infoTemplate
});
map.addLayers([basemap, featureLayer]); Anyone have any pointers? Thanks in advance! James
... View more
10-10-2011
08:30 AM
|
0
|
0
|
1755
|
|
POST
|
Yes We will have to figure something out as well. I want this to be faster, not slower by adding an extra query. For us by the time it gets to 500 records IE has already thrown the "script has stopped responding error".
... View more
10-10-2011
06:00 AM
|
0
|
0
|
426
|
|
POST
|
I think you want the ArcGIS extension for the googlemaps api http://help.arcgis.com/EN/webapi/javascript/gmaps/index.html
... View more
10-10-2011
05:22 AM
|
0
|
0
|
446
|
|
POST
|
Got it! I can see the image url (in fireBug) passed back from ArcGIS server. With proxy, user should not see it right? In our case, the application is in the same domain as the map server. But we want to use the proxy all the time. The proxy was set up by other people, I am wonder whether the proxy setup is right or not, how can I test it out? I did see "404 Not Found" error in Firebug. Thanks a lot! have you tried esri.config.defaults.io.alwaysUseProxy = true;
... View more
10-07-2011
12:30 PM
|
0
|
0
|
1370
|
|
POST
|
i know we use esri.config.defaults.map.sliderLabel = {labels:null,style:"width:2em; font-family:Verdana; font-size:75%;",tick:0}; to get rid of labels in Opera (where they cause problems) so it seems as if you can do inline styling. Maybe you can set a background-image for the slider using the style tag?
... View more
10-07-2011
09:08 AM
|
0
|
0
|
366
|
|
POST
|
At 10 you can set the Maximum Number of Records returned by Server by rest service, which is great. However, if I do I query, i need to know that I got an incomplete result due to this setting. Is there anyway that if the result exceeds this value to return "too many records" INSTEAD Of the partial result? Right now the only solution I can see is checking for an exact number of results by query, since each rest service can have a different setting. Terribly inefficient. Any ideas?
... View more
10-07-2011
08:34 AM
|
0
|
3
|
713
|
|
POST
|
I requested this awhile ago through support. You need to be able to switch between api versions on the support site. It is very frustrating, the day the new api comes out you can no longer access the old docs.
... View more
10-06-2011
07:16 AM
|
0
|
0
|
974
|
|
POST
|
Yes IE uses vml, all other browsers support SVG for graphics. So since it is a vml related error, it will only occur in IE7/8 (IE9 adds svg support i believe). if you alert(dojox.gfx.renderer); it will tell you vml or svg (and provides a handy switch case for dealing with ie7/8 issues
... View more
10-06-2011
07:12 AM
|
0
|
0
|
201
|
|
POST
|
also I wrote the vicious calculus for USNG/LL to state plane transverse mercator as my county is one of the few that use it, it is ridiculously fast so we can do realtime with it. PM me if you would like the files if you want to see it in action check out our site and mouse over the map http://www.mymanatee.org/gisapps/mapviewer/index.jsp?widgeton=Coordinates
... View more
10-05-2011
12:44 PM
|
0
|
0
|
2867
|
|
POST
|
Can anyone please guide me on converting MGRS to lat/long or UTM. Any help is greatly appreciated. Rahul usng.js borrowed from MIT (freely distributable) has LL to USNG LL to MRGS LL to UTM and more, plus reverse attached
... View more
10-05-2011
12:41 PM
|
0
|
0
|
2867
|
| 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
|