|
POST
|
yeah, totally. the dangers of a small mind attempting to multitask. 🙂 if you look inside the install folder for ArcGIS Server (on my machine C:\Program Files\ArcGIS\Server\Templates\ExportWebMapTemplates), you can see that there are pre-created MXDs for various page sizes and layouts. You would have to create a new MXD and follow the instructions in the tutorial i linked to previously in order to get access to another template in a published service.
... View more
02-12-2014
10:47 AM
|
0
|
0
|
2606
|
|
POST
|
Martin, it looks like there are already plans for this to be included in a future release. https://github.com/driskull/arcgis-dijit-locate-button-js/blob/master/js/LocateButton.js#L286
... View more
02-12-2014
09:09 AM
|
0
|
0
|
2606
|
|
POST
|
Hi Brian, the information in my previous post is still true today.
... View more
02-11-2014
09:44 AM
|
0
|
0
|
1311
|
|
POST
|
in this case it sounds like Martin isn't talking about the measurement widget, but rather the 'locate' widget, but the guiding principle is much the same. geolocation in html5 always returns wgs84 lat/long coordinates for user positions. our JavaScript API includes clientside utility methods for converting between wgs84 and web mercator (because of their widespread use) so it is possible using the out of the box widget to display the user's location on a web mercator basemap. if you need to convert wgs84 coordinates into another projection, you would either have to write your own clientside conversion utility or rely on an ArcGIS Server geometry service to do the heavy lifting for you. because the locate widget does not allow you to inject coordinates that you reprojected using a custom utility or geometry service, my best suggestion is digging into the source of the widget yourself if you'd like to repurpose its logic.
... View more
02-10-2014
12:05 PM
|
0
|
0
|
1703
|
|
POST
|
its definitely a little trickier to create legends when you can't rely on the legend resource present in REST which uses the symbology defined for the service layer itself. if you are hardcoding the renders in your own code perhaps the most straightforward solution would be to prebake the legend images you'd like to display.
... View more
02-10-2014
08:44 AM
|
0
|
0
|
1512
|
|
POST
|
have you seen this sample? it doesn't have any radio buttons, but it shows how you can define a renderer and apply it to a FeatureLayer on the fly.
... View more
02-10-2014
08:18 AM
|
0
|
0
|
1512
|
|
POST
|
hi Wesley. the maxium duration token for ArcGIS Online is 15 days. we are currently working on releasing a few proxy pages which will simplify the workflow of storing either a username/password or appId/appSecret to generate short-term tokens on the fly if you are interested in having an application authenticate on behalf of end users.
... View more
02-10-2014
06:47 AM
|
0
|
0
|
3910
|
|
POST
|
absolutely http://search.esri.com/results/index.cfm?do=support.index&start=0&q=NIM089693 glad i was able to help sort you out.
... View more
02-06-2014
10:02 AM
|
0
|
0
|
1592
|
|
POST
|
yup, just confirmed that this problem has definitely already been logged. [NIM089693: If the BasemapGallery widget is initialized with a basemap that has a reference service for labels, the labels continue to display after switching to other basemaps.] sorry for the inconvenience.
... View more
02-06-2014
08:55 AM
|
0
|
0
|
1592
|
|
POST
|
i agree this looks like a bug. heres a technique you could use to workaround the issue. //make a flag so that we only pull out the second basemap layer the first time its changed var isFirst = true; ... basemapGallery.on("selection-change", function() { if (isFirst) { //check to make sure that the first basemap shown actually displayed two different tiled layers if (basemapGallery.getSelected().title == "Imagery with Labels" || basemapGallery.getSelected().title != "Light Gray Canvas" || basemapGallery.getSelected().title != "Terrain with Labels") { map.removeLayer(map.getLayer(map.layerIds[1])); //set the flag to false so none of this code fires again isFirst = false; } } });
... View more
02-06-2014
08:35 AM
|
0
|
0
|
1592
|
|
POST
|
hi darrin, in order to accomplish this you would have to publish a custom print service in ArcGIS Server with your additional templates because the report templates in the app have to correspond with options actually exposed by the service itself. [ATTACH=CONFIG]31181[/ATTACH] Here is a link to an ArcGIS Server help article which describes the steps to publish an additional printing service. Tutorial: Publishing additional services for printing http://resources.arcgis.com/en/help/main/10.2/#/Tutorial_Publishing_additional_services_for_printing/0154000005n1000000/ once you have a print service up and running with this additional D size layout, you should be able to reference that url in your app and in your own ReportLayouts JSON successfully.
... View more
02-06-2014
06:41 AM
|
0
|
0
|
2606
|
|
POST
|
glad to hear you're sorted out. please consider marking this thread as 'answered'.
... View more
02-05-2014
06:57 AM
|
0
|
0
|
1548
|
|
POST
|
our ArcGIS Online web mapping application templates are written to generate map content by passing a webmap id. that being said, you can also download the templates and with a little effort, make some changes so that they might accept raw webmap json instead. i would suggest taking a look at this sample javascript application that loads application content using raw webmap json instead of loading it using an id. its also worth noting though that if you have ArcGIS Server onsite with services that are only available internally, and use those services in webmaps hosted in ArcGIS Online, this doesn't expose any of your data to the outside world. ArcGIS Online simply stores the link to a url which a client later uses to make their own request. if the url is accessible, the data will load, if not, it won't.
... View more
02-04-2014
02:45 PM
|
0
|
0
|
715
|
|
POST
|
sounds like the space itself isn't a problem, but for some reason some (or all?) requests to internal resources fail. does that sound like an accurate assessment? if so, my first suggestion would be to logon to the server machine and see if you can access those resources directly in the browser. if so, it might be worth asking for IT help to create a new application pool for the proxy and assign it to utilize a different identity so that you could use a tool like fiddler to inspect the actual web traffic the proxy is spawning to the resource itself.
... View more
02-04-2014
10:17 AM
|
0
|
0
|
1395
|
|
POST
|
just a reminder, the routing and geocoding services on tasks.arcgisonline.com will be retired any day now. you can use sampleserver3 (for prototyping only), but i would highly recommend migrating all code to utilize our new subscription route services if you aren't interested in maintaining your own service. here is a link to a fiddle of the same sample converted to AMD and using route.arcgis.com. it could be run with a proxy like our Directions widget sample if you don't want end users to provide the authentication, but from jsfiddle, its necessary to sign in with ArcGIS Organizational credentials to solve the route.
... View more
02-04-2014
09:13 AM
|
0
|
0
|
1548
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 04-16-2014 02:35 PM | |
| 1 | 03-15-2013 04:25 PM | |
| 1 | 06-01-2016 10:51 AM | |
| 1 | 12-28-2015 04:46 PM | |
| 1 | 12-28-2015 05:26 PM |
| Online Status |
Offline
|
| Date Last Visited |
11-11-2020
02:22 AM
|