|
POST
|
Cheers, I'll try that tomorrow. Any idea if the online help will be updated?
... View more
04-02-2014
11:54 AM
|
0
|
0
|
3037
|
|
POST
|
Ok I decided (why I don't know) to have yet another go at securing my services (about the tenth attempt I think) First off, the help that was in the 9.x versions (http://resources.esri.com/help/9.3/arcgisserver/apis/javascript/ve/help/Working with ArcGIS Server services/ProxyPage.htm) seems to have vanished from the 10.2 help. I cannot see any mention of "proxy.ashx" anywhere in the Help. Secondly, I have a proxy page, it works, I can see the requests in Fiddler going via it. However even though I have the token="jhkjghkjhkjhkjhkjhkjh" bit, it isn't passing this token. Next, which leads me to believe it is all different in 10.2.1, despite the service being secured, and despite not seeing the token in Fiddler, and despite the logs saying it is using anonymous access, maps ARE displayed in my app. It fails when I try an Id, find or query task. I simply want a secure service and the API to pass the credentials, yet every time I try I end up bashing my head on brick walls. Giving up for now ACM
... View more
04-02-2014
04:56 AM
|
0
|
14
|
10179
|
|
POST
|
Indeed - I wish someone else had found this out first. I did my upgrade to 10.2.1 at the weekend - I looked at what was coming in 10.2.2 and decided to go for it as the Help seems to indicate this feature is for 10.2.1 - but the server online notes already includes stuff for 10.2.2! Plus, when you go to 10.2.1 you do actually get the option to allow "sync" in the Feature Access setting of the service - so what is all that about if you can't do it from the Esri supplied app until 10.2.2!
... View more
03-24-2014
08:01 AM
|
0
|
0
|
1810
|
|
POST
|
Yep - "One or more feature layers that are sync-enabled. These can be hosted feature layers or ArcGIS 10.2.2 Server or later feature services. " I got offline working today by adding a feature layer to my ArcGIS.com account and using their basemaps, but to get it all the way back to your server and your SDE your need 10.2.2 - which isn't out yet!
... View more
03-24-2014
07:41 AM
|
0
|
0
|
1810
|
|
POST
|
How are you getting 10.2.2? By waiting until April when it is released 😞
... View more
03-24-2014
07:36 AM
|
0
|
0
|
1810
|
|
POST
|
So, with excitement I downloaded and tested - Doh! Disconnected editing isn't yet available for my data, in my SDE, published by my ArcGIS server as this isn't supported until server 10.2.2 http://doc.arcgis.com/en/collector/android/create-maps/offline-map-prep.htm <face palm>:confused:
... View more
03-24-2014
01:23 AM
|
0
|
0
|
2824
|
|
POST
|
Hi I'm using the basic printTask with a few MXD based templates - all is good, especially now I've worked out the customText feature. Has anyone inserted logic into these? For example I HATE north arrows, but for some printouts they are mandatory (even through it is always straight up) so would like to give the users an option to switch it on or off (plus scale bars and maybe a few other things). Cheers ACM
... View more
03-11-2014
01:25 AM
|
0
|
0
|
702
|
|
POST
|
After failing to write my own measure widget, I'm returning to this one, although it does have one main shortcoming (which mine didn't) and that is it fails to return the area measurement until the drawing is finished. Is there an even I can hook into that intercepts the mouse clicks as the drawing is made and then returns the polygon at that point (or attributes of the polygon)? Cheers ACM PS the other failing is it doesn't spell metres the way we do.;)
... View more
02-19-2014
06:54 AM
|
0
|
0
|
1968
|
|
POST
|
Ah I need a esriSRUnit2Type - so International Yard http://resources.esri.com/help/9.3/ArcGISDesktop/ArcObjects/esriGeometry/esriSRUnit2Type.htm
... View more
02-11-2014
07:59 AM
|
0
|
0
|
1379
|
|
POST
|
So many yards - who knew? 😉 So which of the 8 yards iis the good old fashioned British yard?
... View more
02-11-2014
07:56 AM
|
0
|
0
|
1379
|
|
POST
|
Hi i'm trying to finish my custom measure tool (the esri widget isn't up to the job) and trying to allow users to change units. I have code, not dis-similar to https://developers.arcgis.com/javascript/jssamples/util_buffergraphic.html However, whilst I can happily change to UNIT_FOOT, UNIT_METER even UNIT_US_NAUTICAL_MILE I can't seem to get UNIT_YARD to work. Looking at the DistanceParameters - it appears to store these as valies - so UNIT_METER is returned in the console as 9001. However UNIT_YARD returns UNDEFINED - surely that is a valid unit? Cheers ACM
... View more
02-11-2014
07:09 AM
|
0
|
4
|
1638
|
|
POST
|
True - but for my internal application it is just right - I know exactly what my users use (currently XP, IE8 with Google Chrome Frame, monitors, keyboards and mice) - I'm not sure I'd ever want anyone doing this sort of stuff on a mobile device - I'd use Collector or the green app for that. One difference between my test (on fiddle) and prod system, is the text isn't in the default map.graphics, but in a new graphics layer.
... View more
02-04-2014
11:12 PM
|
0
|
0
|
2509
|
|
POST
|
Hi - I sent the Selected object to console in the working and non-working version - all I can see different is the projection Working object
_extent: Object
_graphicsLayer: Object
_offsets: Array[1]
_shape: Object
attributes: undefined
geometry: Object
spatialReference: Object
wkid: 4326
__proto__: Object
type: "point"
x: -40
y: 35
__proto__: Object
infoTemplate: undefined
symbol: Object
_fill: null
_stroke: null
align: "middle"
color: b.Color
font: Object
horizontalAlignment: "center"
kerning: true
rotated: false
text: "Editable Text"
type: "textsymbol"
x: 0
xoffset: 0
y: 0
yoffset: 0
Failing object
_extent: Object
_graphicsLayer: Object
_offsets: Array[1]
_shape: Object
attributes: Object
geometry: Object
spatialReference: Object
wkid: 27700
__proto__: Object
type: "point"
x: 315910.97257876315
y: 85021.0373395566
__proto__: Object
infoTemplate: undefined
symbol: Object
_inherited: Object
align: "middle"
angle: 0
color: b.Color
font: Object
horizontalAlignment: "center"
kerning: true
rotated: false
text: "FAILING"
type: "textsymbol"
x: 0
xoffset: 0
y: 0
yoffset: 0
End of day here. So off home 🙂 ACM
... View more
02-03-2014
07:03 AM
|
0
|
0
|
2509
|
|
POST
|
Odd - I created my own version(I have never got to frips with jsfiddle) and it worked OK -copied to jsfiddle http://jsfiddle.net/EqVX6/2/ - right click the text and selct rotate on the text. So, I guess there is something about how I add the text in my production site - I'll look at that next week.
... View more
02-02-2014
04:38 AM
|
0
|
0
|
2509
|
|
POST
|
Mmm nearly there I think I tweaked your code into mine, to give if (selected.symbol.declaredClass === "esri.symbol.TextSymbol") {
var tool = 0;
tool = tool | esri.toolbars.Edit.MOVE;
tool = tool | esri.toolbars.Edit.SCALE;
tool = tool | esri.toolbars.Edit.ROTATE;
tool = tool | esri.toolbars.Edit.EDIT_TEXT;
//specify toolbar options
var options = {
//uniformScaling: false
};
editToolbar.activate(tool, selected, options);
}
This doesn't produce any errors, but it doesn't give any resized or rotate handles - it doesm however allow a drag of the textsymbol. Cheers Adrian
... View more
01-31-2014
02:24 AM
|
0
|
0
|
2509
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 06-19-2026 12:29 AM | |
| 1 | 08-28-2025 01:14 AM | |
| 1 | 12-01-2023 06:07 AM | |
| 2 | 11-29-2024 04:32 AM | |
| 1 | 05-28-2024 12:50 AM |
| Online Status |
Offline
|
| Date Last Visited |
Tuesday
|