|
POST
|
What happens when you fire the request directly at the REST endpoint? ie.... http://sampleserver6.arcgisonline.com/arcgis/rest/services/Utilities/PrintingTools/GPServer/Export Web Map Task/execute?Web_Map_as_JSON={"mapOptions":{.... is your application actually using a proxy to make the print request?
... View more
02-08-2013
09:00 AM
|
0
|
0
|
4159
|
|
POST
|
correct. Our API does not give you the ability to manipulate the alignment of two services published in an identical coordinate system.
... View more
02-04-2013
07:14 AM
|
0
|
0
|
3067
|
|
POST
|
if OWNERNAME is another field in the same feature layer, you should be able to update the SQL query near line 323 of config.js to make sure that searches on that field result in hits. ie: ParcelQuery: "UPPER(PARCELID) LIKE '%${0}%' OR UPPER(SITEADDRESS) LIKE '%${0}%' OR UPPER(CNVYNAME) LIKE '%${0}% OR UPPER(OWNERNAME) LIKE '%${0}%'", with regard to having the basemap in the printout match what is currently displayed in the map, i wrote some hack code for testing current basemap layer visibility and using the information to make the printout more dynamic, but i know the LocalGovernment team is planning on correcting the problem in the app template down the road. in utils.js (near line 1292) if (reportType == 'PropertyMap') {
var visibleBasemapUrl;
if (map._layers.parcelMap.visible == true)
visibleBasemapUrl = map._layers.parcelMap.url
else
visibleBasemapUrl = map._layers.imageryMap.url
..........
"baseMap": {
"title": "Shared Imagery Basemap",
"baseMapLayers": [
{
"url": visibleBasemapUrl
... View more
02-01-2013
01:51 PM
|
0
|
0
|
1320
|
|
POST
|
no problem at all. i see people share links to open web maps directly in the arcgis.com viewer quite a bit. my perception is that it adds quite a bit of unnecessary background noise for a lot of end users. a clean, simple web mapping application is a much better way to present the web map. and if it adds some logic to build a definition query on the fly, all the better 🙂
... View more
02-01-2013
12:19 PM
|
0
|
0
|
1354
|
|
POST
|
you can definitely dig into the layers in the web map in an application written with our API. this sample loops through the webmap layers to add them to a legend. it sounds however like you are currently sharing a link to open the original web map (perhaps in the standard arcgis.com viewer?). in order to build out the functionality you describe you would need to be linking to a configurable web application (that loads a web map based on its id) and similarly pulls additional information out of the Url to write a definition query on the fly.
... View more
02-01-2013
11:58 AM
|
0
|
0
|
1354
|
|
POST
|
i've always found it helpful to debug proxies directly in the browser. if the global mustMatch tag in the proxy.config is set to "false" you should be able to navigate to a page like this directly.. http://[webserver]/proxy/proxy.ashx?http://www.esri.com
... View more
02-01-2013
11:41 AM
|
0
|
0
|
1967
|
|
POST
|
have you seen Sonia's code sample in this forum post? it allows her to fire a spatial query by appending X and Y coordinates to the Url of her app. perhaps you could modify it to use similar information to create a definition query on your layer.
... View more
02-01-2013
11:38 AM
|
0
|
0
|
1354
|
|
POST
|
well... its definitely too late to try and correct misalignment after both services are published in Web Mercator (WKID:102100). in order to troubleshoot it will be necessary to identify which datum transformation was applied when reprojecting out of the local coordinate system and see if there is a more appropriate choice.
... View more
01-28-2013
02:07 PM
|
0
|
0
|
3067
|
|
POST
|
i have logged the following bug related to this issue. thank you for bringing the item to our attention! [NIM088460: It is not possible to control the map extent when a WMTS layer is present in JS API 3.3. Error (Map: Geometry (wkid: "x") cannot be converted to spatial reference of the map (wkid: "x") )]
... View more
01-28-2013
08:14 AM
|
0
|
0
|
3977
|
|
POST
|
i can confirm your results and i would agree that it looks like a bug. i will do some more testing and let you know what i find.
... View more
01-24-2013
07:12 AM
|
0
|
0
|
3977
|
|
POST
|
what do you mean "local" feature layer? have you tried using web developer tools or fiddler to inspect the web traffic which results from your attempts to pass an edit? it sounds like they are probably failing, and your best hope is to take a closer look at what you are attempting to pass.
... View more
01-24-2013
06:44 AM
|
0
|
0
|
2326
|
|
POST
|
since both layers are published in web mercator (wkid:102100), its too late to correct their current alignment. you would have to make changes to the published service (probably with regard to the datum transformation) in order to acheive higher accuracy. what was the original projection of the data you are using for boundaries in your own service? what transformation method was used when reprojecting to Web Mercator? where (city/country) is your screenshot located?
... View more
01-24-2013
06:29 AM
|
0
|
0
|
3067
|
|
POST
|
you can abstract away the JS API from this question and just focus on the REST endpoints for your services. Mygisserver02 has to be exposed to the public internet in order for you to load a map service in REST outside your work network using a url like the following directly in the browser. http://mygisserver02/arcgis/rest/services/amenities/blahblah/MapServer Usually this is accomplished by standing up a reverse proxy which forwards specific requests from the the outside world to an internal machine in a controlled manner.
... View more
01-17-2013
09:19 AM
|
0
|
0
|
676
|
|
POST
|
are you currently working with a FeatureLayer? if you have labels turned on in your map service and load the content as an ArcGISDynamicMapService or ArcGISTiledMapService in a JS API application, your labels will draw. if you need to interact with the features on the client side, you can still draw an ArcGISDynamicMapService layer and work with a FeatureLayer in selection mode at the same time. see this example for more info.
... View more
01-17-2013
09:15 AM
|
0
|
0
|
633
|
| 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
|