POST
|
Hi Naeem, You could do this with the PictureFillSymbol class. Just set its source property to the image you want to use for the fill. HTH, Mark Lewin Apps With Maps Ltd http://www.appswithmaps.net
... View more
03-05-2015
03:17 AM
|
1
|
0
|
650
|
POST
|
Hello Omar, You need to use the PrintTask class, which is documented here. HTH, Mark Lewin Apps With Maps Ltd http://www.appswithmaps.net
... View more
03-05-2015
03:11 AM
|
2
|
1
|
517
|
POST
|
Hi, I've been playing with the Clip and Ship GP tool in my ArcGIS Server API for JavaScript application and it's exactly what I'm looking for with one important caveat: it does not appear to accept multiple map services as inputs. Has anyone been able to modify the tool to do this? Is the python code available anywhere? Thanks! Mark
... View more
09-17-2014
02:41 AM
|
0
|
2
|
2129
|
POST
|
That's fantastic John! Just what I needed. Thank you very much. And thanks to Tim for his offers of assistance too. Mark
... View more
08-19-2014
11:52 AM
|
0
|
0
|
169
|
POST
|
Hi Tim, Yes! That's just it! Ideally I'd like to be able to retrieve any features within the tile space too, but let's start with that. If there was an event that got fired when a tile loads, I could use that to hook up a click event handler, but I can't seem to find any such event, so I'm at a loss. Thank you. Mark
... View more
08-19-2014
10:29 AM
|
0
|
2
|
1198
|
POST
|
Thanks Tim, I really appreciate your efforts, but does this tell me how to access the map tile? I apologize if I'm missing something. Basically, I want to be able to click on a tile and see the individual tile URL. Mark
... View more
08-19-2014
09:51 AM
|
0
|
2
|
1198
|
POST
|
Thanks Tim ... but would that help me identify individual map tiles?
... View more
08-19-2014
07:05 AM
|
0
|
4
|
1198
|
POST
|
Hi, I'm building an application where users can click on the map to download a map tile. I can see that the ArcGISTiledMapServiceLayer has a getTileUrl() method, but has anyone got any idea about how I can identify a particular tile beneath a user's map click? The Silverlight API has a TileLoading event, but I can't find anything similar in the ArcGIS Server API for JavaScript. My idea was to attach a click event handler to each tile as it loads, and then use getTileUrl(coords) to locate the required tile. What would also be great to do is add a feature layer graticule to identify the individual tiles, but I can't figure out a good way to do this. I would really appreciate any suggestions. Thanks, Mark
... View more
08-19-2014
06:44 AM
|
0
|
10
|
1864
|
POST
|
I don't know if it's related, but my scalebar is returning ridiculous figures too. I'm adding the scalebar after all my layers have loaded as instructed, but the values it's showing are orders of magnitude higher than they should be. I've triple-checked my map's SR, and it's 102100. Please help! Thanks in advance, Mark
... View more
06-04-2014
12:08 PM
|
0
|
0
|
905
|
POST
|
Hi Marla and Ujjwal, Thanks for your suggestions. I fixed the CSS issue and have verified that my container is "position: absolute;", but I still experience the same issues. I include an updated screenshot and a link to a JSFiddle that contains the page source and CSS. Thanks again, Mark JSFiddle: http://jsfiddle.net/xlbloke/R7a3t/ [ATTACH=CONFIG]34313[/ATTACH]
... View more
06-03-2014
11:32 AM
|
0
|
0
|
905
|
POST
|
Hi Marla, I wish I could, but I suspect that my problems stem from the projection of my operational layers, which are hosted by a local ArcGIS Server instance. We're using Alaska State Plane:
Map: Geometry (wkid:
PROJCS["NAD_1983_2011_StatePlane_Alaska_1_US_Feet",GEOGCS["GCS_NAD_1983_2011",DATUM["D_NAD_1983_2011",SPHEROID["GRS_1980",6378137.0,298.257222101]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Hotine_Oblique_Mercator_Azimuth_Natural_Origin"],PARAMETER["false_easting",16404166.66666666],PARAMETER["false_northing",-16404166.66666666],PARAMETER["scale_factor",0.9999],PARAMETER["azimuth",-36.86989764583333],PARAMETER["longitude_of_center",-133.6666666666667],PARAMETER["latitude_of_center",57.0],UNIT["Foot_US",0.3048006096012192]]) But my basemaps are in Web Mercator (102100), and therefore my map is too, so I find it hard to see how this can be the case? However, when I remove the operational layers, the measurement tool works fine. Basically, every time I click on the map to mark a measurement point, I get the little flag, but a line heading due South instead of to the next marker. It's driving me crazy, so anything you could do to help would be greatly appreciated! 🙂 Thanks, Mark
... View more
06-02-2014
01:00 PM
|
0
|
0
|
905
|
POST
|
Hi all, I'm having problems with the Measurement widget. When I attempt to use it, the lines aren't drawn between the markers, but vertically downwards instead. Hard to describe, so I attach a screenshot: [ATTACH=CONFIG]34242[/ATTACH] I'm use Alaska state plane coordinates for my operational layers, but a web mercator base map, so my map's spatial reference is web mercator too. I know I need to instantiate a Geometry service in esri/config/defaults, which I have done, and when I step through my code in Firebug I can see that the Measurement widget's _geometryService property is populated correctly. The code I use to instantiate the widget is simple enough: this.measure = new Measurement({
map : this.map,
defaultAreaUnit : (this.configOptions.units === "metric") ? "esriSquareKilometers" : "esriSquareMiles",
defaultLengthUnit : (this.configOptions.units === "metric") ? "esriKilometers" : "esriMiles",
id : 'measureTool'
}, 'measureDiv');
this.measure.startup(); I'm using the ArcGIS Server API for JavaScript v3.9. Any suggestions would be greatly appreciated as I'm stuck and past deadline! 😮 Mark
... View more
06-01-2014
03:12 AM
|
0
|
8
|
3170
|
POST
|
This line: <!doctype html> at the top of the page says the page should be rendered using HTML5. IE7 does not support HTML5. Switch to IE9, or put this declaration in its place: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> HTH, Mark Lewin www.marklewin.com
... View more
04-11-2012
04:52 AM
|
0
|
0
|
282
|
Title | Kudos | Posted |
---|---|---|
1 | 03-05-2015 03:17 AM | |
2 | 03-05-2015 03:11 AM |
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:23 AM
|