POST
|
Hi all, I try test this routine with my tile installed in local, and set like below, -- dojo.extend(esri.layers.ArcGISTiledMapServiceLayer, { //extend ArcGISTiledMapServiceLayer to use localStorage if available, else use worker to request tile and store in local storage. getTileUrl : function(level, row, col) { var url = "C:/inetpub/wwwroot/tile/" + level + "/" + row + "/" + col; -- i Try with 3 types of tiles OSM Tile, Google Tile and ArcGIS Server Tile( explodeaded type ) but not working like sample. Could some one help me out on this ? I'm not yet debuging it with such as 'firebug'. Thanks - Tommy
... View more
05-03-2012
11:48 PM
|
0
|
0
|
404
|
POST
|
Just for sharing, The solution is, by putting action script code ---- var attparamsval:AttributeParameterValue = new AttributeParameterValue(); attparamsval.attributeName = "TravelTime"; attparamsval.parameterName = "vSpeed"; attparamsval.parameterValue = "16"; var attrParamVal:Array = new Array(); attrParamVal.push(attparamsval); saParams.attributeParameterValues = attrParamVal; ---- Thanks
... View more
11-14-2011
06:06 PM
|
0
|
0
|
188
|
POST
|
Hi Robert, I put in complete code like this
<esri:ServiceAreaParameters id="saParams"
defaultBreaks="{[30]}"
outSpatialReference="{myMap.spatialReference}"
outputPolygons="esriNAOutputPolygonDetailed"
returnFacilities="false"
splitPolygonsAtBreaks="false">
<esri:attributeParameterValues>
<esri:AttributeParameterValue attributeName="TravelTime" parameterName="vSpeed" parameterValue="15" />
</esri:attributeParameterValues>
</esri:ServiceAreaParameters>
Flash Builder pass it, and flash player debugger pass it, but the error comes out like this ----------- Service Area Error 400 Unable to complete operation. 'attributeParameterValues' parameter is invalid ---------- Parameters could not be transfered to the services. I should try other way. Anyway Thank You for this reply.
... View more
11-14-2011
05:23 PM
|
0
|
0
|
188
|
POST
|
Hi All, I have problem on passing attribute parameters in network service, Refer to REST info like this : ---------------------- Network Layer: Define_Standby_Areas Layer Type: esriNAServerServiceAreaLayer Impedance: TravelTime Restrictions: vGroup Accumulate Attribute Names: Attribute Parameter Values: Attribute Name: TravelTime Parameter Name: vSpeed Parameter Value: 15 ------------------------ I try to pass some value for traveltime.vspeed ( for example default value 15 ) ------------------------------- private var Apv:Array = new Array([{AttributeName: "TravelTime", ParameterName: "vSpeed", ParameterValue: 15}]); ]]> </fx:Script> <fx:Declarations> <esri:ServiceAreaTask id="saTask" concurrency="last" fault="faultHandler(event)" requestTimeout="30" showBusyCursor="true" solveComplete="solveCompleteHandler(event)" url="http://server/ArcGIS/rest/services/VRN_ND2/NAServer/Define_Standby_Areas"/> <!--attributeParameterValues="{['TravelTime','vSpeed',15]}"--> <!--attributeParameterValues="{['TravelTime','vSpeed','15']}"--> <esri:ServiceAreaParameters id="saParams" attributeParameterValues="{[Apv]}" defaultBreaks="{[30]}" outSpatialReference="{myMap.spatialReference}" ----------------------- I already try several methods, and still not applicable. Could someone give advice for this ? Thanks,
... View more
11-12-2011
04:11 AM
|
0
|
3
|
1614
|
POST
|
Hi all, I try to parsing attributeParameterValues to esriNAServerServiceAreaLayer, in javascript API --------- params = new esri.tasks.ServiceAreaParameters(); params.attributeParameterValues=(["atrname","paramname","15"]);//<-- not acceptable params.defaultBreaks= [30]; params.outSpatialReference = map.spatialReference; params.returnFacilities = false; ---------- Could someone give me advices on this, since i have no experience on this. More than one parameter to be submitted. Thanks
... View more
11-09-2011
06:14 PM
|
0
|
0
|
533
|
POST
|
Sorry, sets of data base on line formation ..:) Again sorry...
... View more
03-13-2011
10:22 PM
|
0
|
0
|
93
|
POST
|
Hi All, I'm using this widget to identify object which the field contents has character '<'. The contents wont display after character '<'. I trace and search through MXML code for IdentifyWidget.mxml and InfoPopUp.mxml, no part of code filtering this.. Perhaps someone has similar problems, and can give me advice on this. Thank You.
... View more
07-21-2010
11:24 PM
|
0
|
0
|
382
|
POST
|
Diameter is an attribute for your graphics, correct? If so, when you have access to your graphic, do this: var dia = graphic.attributes.Diameter; Derek Swingley , Thank you for reponse, i've just found the solution. by adding the code for accessing the attributes value. var featureAttributes = featureSet.features[0].attributes;
diam=featureAttributes['Diameter'];
... View more
05-22-2010
05:03 AM
|
0
|
0
|
276
|
POST
|
I'm try to use field value, from searching result for another javascript calculation. Could someone help me, on how to transfer those field value from code like below, var infoTemplate = new esri.InfoTemplate("Info:${Desc}","${Diameter}"); I need to use the value of ${Diameter}, into javascript variable. Thank you.
... View more
05-20-2010
02:35 AM
|
0
|
2
|
646
|
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:23 AM
|