arcgis api for javascript打印地图的2个问题,求大神帮助!!!

有2个问题:
1. 比例尺小于1:250后(比如1:500),就不能导出底图,只有设施,这个也是很神奇的问题。

2. 打印后线设施消失,只有点设施出来。

D光00111.JPG


不知道应该从哪里入手查找原因。
reason.png
已邀请:

潘德

赞同来自:

这个是Web_Map_as_JSON:
 
{"mapOptions":{"showAttribution":false,"extent":{"xmin":4378.632969973329,"ymin":4862.208309756369,"xmax":4488.435272911269,"ymax":4929.412610831639,"spatialReference":{"wkid":102100}},"spatialReference":{"wkid":102100}},"operationalLayers":[{"id":"layer2","title":"layer2","opacity":1,"minScale":0,"maxScale":0,"url":"http://10.144.100.49:6080/arcg ... ot%3B},{"id":"30812","opacity":1,"minScale":10000000,"maxScale":0,"featureCollection":{"layers":[{"layerDefinition":{"name":"30812","geometryType":"esriGeometryPolyline"},"featureSet":{"geometryType":"esriGeometryPolyline","features":[{"geometry":{"paths":[[[4251.26577523697,4796.46908319162],[4241.36979924394,4796.46908319162],[4241.36979924394,4822.42750499143],[4219.38965054152,4822.42750499143]],[[4219.3896526139415,4822.427509089006],[4219.568034580185,4822.444342291742],[4219.733129118375,4822.5234194579325],[4219.868762895139,4822.656993866306],[4219.961648673283,4822.831980023782],[4220.002686983665,4823.031235573676],[4219.987857546255,4823.235240630771],[4219.918613113143,4823.424010028784],[4219.801737151019,4823.5790511486475],[4219.648679305157,4823.6851755307935],[4219.474433745528,4823.7319867985125],[4219.296070276835,4823.7148991293625]],[[4219.29607109496,4823.71490567682],[4219.29607109496,4837.55327921343],[4264.96036171721,4837.55327921343],[4264.96036171721,4835.4530358519],[4287.29215301365,4835.4530358519],[4287.29215301365,4828.52095501341]]],"spatialReference":{"wkid":{"wkid":102100}}},"symbol":{"color":[255,0,255,255],"width":0.75,"type":"esriSLS","style":"esriSLSSolid"}},{"geometry":{"paths":[[[4238.38246162751,4990.24366307327],[4238.38246162751,4994.59236637237],[4231.69637007584,4994.59236637237],[4231.69637007584,5003.13014911047],[4196.34440936316,5003.13014911047],[4196.34440936316,4995.39683959252],[4204.19101550593,4995.39683959252],[4204.19101550593,4953.59763134315],[4235.95930061851,4953.59763134315],[4240.52968056242,4946.67897668274],[4240.62511251508,4939.71244413836],[4270.87704150917,4939.80787609102],[4270.88903809418,4936.00495864079]]],"spatialReference":{"wkid":102100}},"symbol":{"color":[255,0,255,255],"width":0.75,"type":"esriSLS","style":"esriSLSSolid"}},{"geometry":{"paths":[[[4346.36371606537,4899.24929620937],[4355.28507251408,4899.24929620937],[4355.28507251408,4876.77502390209],[4283.52177523696,4876.77502390209],[4283.52177523696,4858.30676929697]],[[4283.521769460359,4858.306761365061],[4283.572877033669,4858.477805108954],[4283.648296736536,4858.636651585025],[4283.745900418916,4858.778818554249],[4283.862933955912,4858.900294430386],[4283.9960949621045,4858.9976514766295],[4284.141625976368,4859.068142527523],[4284.295420487766,4859.109778506903],[4284.453138810722,4859.1213845545135],[4284.61033053979,4859.102633177538],[4284.762560128651,4859.054053491611],[4284.905532049819,4858.977016290529]],[[4284.90553855058,4858.9770121857],[4284.90553855058,4866.04300559905],[4303.70664338472,4866.04300559905],[4303.70664338472,4863.2093366289],[4305.28032630579,4863.2093366289]]],"spatialReference":{"wkid":{"wkid":102100}}},"symbol":{"color":[255,0,255,255],"width":0.75,"type":"esriSLS","style":"esriSLSSolid"}},{"geometry":{"paths":[[[4305.28026044407,4863.93947372416],[4304.24332958856,4863.93947372416],[4304.24332958856,4866.50039141045],[4284.74954292278,4866.50039141045]],[[4283.951221645688,4866.158266194419],[4283.995925195685,4866.008563978134],[4284.079538545446,4865.882548368549],[4284.193570279449,4865.793016974014],[4284.326439820686,4865.749062221459],[4284.464653504711,4865.75514796826],[4284.594174938713,4865.810656171904],[4284.7018504777525,4865.909949655753],[4284.776745052895,4866.042944596682],[4284.8112526902205,4866.196134595188],[4284.80186894112,4866.353962327776],[4284.749546779169,4866.500399482435]],[[4283.95121902395,4866.15826662357],[4283.95121902395,4857.28309502594],[4283.95121902395,4857.28309502594]],[[4284.046657096904,4855.851610190587],[4284.312833696207,4855.770359581951],[4284.5863224906925,4855.80830571224],[4284.827790952193,4855.9599912564445],[4285.002511643043,4856.203601149156],[4285.085356636131,4856.504099977009],[4285.064411355467,4856.818270691082],[4284.942688103048,4857.100929983289],[4284.737692836524,4857.3114264456135],[4284.478907502714,4857.419486961938],[4284.203550011951,4857.409570517829],[4283.951221643993,4857.2831032734275]],[[4284.04665097661,4855.851615736],[4254.36716027133,4855.851615736],[4265.62828411271,4844.5906453218],[4265.62828411271,4836.00176958215],[4287.95166193889,4836.00176958215],[4287.95166193889,4828.45749952015]]],"spatialReference":{"wkid":{"wkid":102100}}},"symbol":{"color":[255,0,255,255],"width":0.75,"type":"esriSLS","style":"esriSLSSolid"}},{"geometry":{"paths":[[[4305.49361513886,4870.9998381698],[4303.47430282951,4870.9998381698],[4303.49816081768,4869.50115138284],[4284.35680482277,4869.45066899043],[4284.42837878727,4857.80797076558],[4293.57895698296,4863.56661486919],[4303.08912869278,4857.45294787598],[4399.64642546051,4857.64702793168],[4399.56455247571,4898.36898240397],[4441.37538029881,4898.45301321706]],[[4441.375390975666,4898.453007848224],[4441.468668087728,4898.624583589805],[4441.58991152078,4898.771521589762],[4441.73427955304,4898.887954042332],[4441.896007007546,4898.96923134689],[4442.068635478102,4899.012107784588],[4442.245271238543,4899.014871132525],[4442.418860536039,4898.977411039473],[4442.58247127487,4898.901223432624],[4442.729569841971,4898.789350779406],[4442.854282019507,4898.646260589923],[4442.951627565239,4898.477667011903]],[[4442.95163236552,4898.47766225556],[4496.78596239535,4898.42915261581],[4496.78596239535,4876.64309578311],[4474.27209497957,4876.55043365688],[4465.29565379712,4878.24428736522],[4450.88484656477,4878.24428736522],[4450.88484656477,4889.11306096169],[4456.02811327945,4889.11306096169]]],"spatialReference":{"wkid":{"wkid":102100}}},"symbol":{"color":[255,0,255,255],"width":0.75,"type":"esriSLS","style":"esriSLSSolid"}},{"geometry":{"paths":[[[4294.30558588786,4891.04214828038],[4266.95765351778,4891.04214828038],[4266.95765351778,4877.3454670589],[4354.8826647721,4877.3454670589],[4354.8826647721,4898.71424688162],[4346.36065465108,4898.71424688162]]],"spatialReference":{"wkid":102100}},"symbol":{"color":[255,0,255,255],"width":0.75,"type":"esriSLS","style":"esriSLSSolid"}},{"geometry":{"paths":[[[4250.02515985236,4830.29971041055],[4242.24613850965,4830.29971041055],[4242.24613850965,4796.89429572723],[4251.08138824734,4796.89429572723]]],"spatialReference":{"wkid":102100}},"symbol":{"color":[255,0,255,255],"width":0.75,"type":"esriSLS","style":"esriSLSSolid"}},{"geometry":{"paths":[[[4294.2101539352,4892.23504768866],[4266.19173243636,4892.23504768866],[4266.19173243636,4876.39261155119],[4282.56772953053,4876.39261155119],[4282.56772953053,4856.82926752076],[4203.35892030961,4856.82926752076],[4203.35892030961,4994.7292620704],[4195.81539932221,4994.7292620704],[4195.81539932221,5003.80327230244],[4232.19212285844,5003.80327230244],[4232.19212285844,4995.0823118076],[4238.9073973406,4995.0823118076],[4238.9073973406,4989.91402073874]]],"spatialReference":{"wkid":102100}},"symbol":{"color":[255,0,255,255],"width":0.75,"type":"esriSLS","style":"esriSLSSolid"}},{"geometry":{"paths":[[[4180.5506983139,4992.05687017386],[4180.5506983139,4993.85367923865],[4202.88993964877,4993.85367923865],[4202.88993964877,4929.02339671486],[4185.9978599533,4929.02339671486],[4185.9978599533,4924.96186001393]]],"spatialReference":{"wkid":102100}},"symbol":{"color":[255,0,255,255],"width":0.75,"type":"esriSLS","style":"esriSLSSolid"}},{"geometry":{"paths":[[[4179.88267464526,4992.05687017386],[4179.88267464526,5004.80672172532],[4232.83274495255,5004.80672172532],[4232.83274495255,4995.49236182507],[4249.0265681499,4995.49236182507],[4249.0265681499,4990.14640538774]]],"spatialReference":{"wkid":102100}},"symbol":{"color":[255,0,255,255],"width":0.75,"type":"esriSLS","style":"esriSLSSolid"}},{"geometry":{"paths":[[[4294.06700600622,4891.56702402002],[4266.60622657959,4891.66230397417],[4266.55142123381,4876.84503734571],[4283.09206897356,4876.81985824324],[4283.0983530624,4856.91598430615],[4400.49132866659,4856.7796652689],[4400.49132866659,4897.70045929348],[4436.17762310325,4897.70045929348],[4442.17627790205,4890.06400224583],[4442.30383038034,4924.08370374603],[4458.22416121584,4924.16490077823]]],"spatialReference":{"wkid":102100}},"symbol":{"color":[255,0,255,255],"width":0.75,"type":"esriSLS","style":"esriSLSSolid"}},{"geometry":{"paths":[[[4305.47955898481,4870.66043426201],[4303.81699702765,4870.66043426201],[4303.81699702765,4869.17220808358],[4284.69646530432,4869.17220808358],[4284.69646530432,4866.91508146244]],[[4285.252182322353,4865.6935771942735],[4285.16881917975,4865.77961639793],[4285.091033178444,4865.87223582281],[4285.019220421635,4865.970963830704],[4284.953746595461,4866.075297677173],[4284.894945106855,4866.184706071628],[4284.8431153857555,4866.298631882785],[4284.798521360351,4866.416494975692],[4284.7613901130935,4866.537695165903],[4284.731910724353,4866.661615275748],[4284.710233309574,4866.78762427714],[4284.696468254855,4866.915080504898]],[[4285.25218238518,4865.69356954537],[4285.25218238518,4858.82774111715],[4293.53029024624,4864.03794797316],[4303.12809646196,4857.8953519951],[4305.45556446927,4857.8953519951],[4349.76147802068,4857.89535199512],[4349.76147802068,4857.83075985524]],[[4349.761430255169,4856.299713964076],[4349.8386743317515,4856.421845744667],[4349.901974560713,4856.55405617338],[4349.950339392488,4856.694274275192],[4349.98301122906,4856.840303641018],[4349.9994782911535,4856.989856832779],[4349.999482634862,4857.140591214361],[4349.983024192146,4857.290145647219],[4349.950360771893,4857.436177475798],[4349.902004021546,4857.576399223442],[4349.838711412532,4857.7086144239565],[4349.761474375055,4857.830752027572]],[[4349.7614374126,4856.29971671174],[4349.7614374126,4845.40406638723],[4340.09114986492,4845.40406638723],[4340.09114986492,4828.4748106597],[4357.94529911463,4828.4748106597],[4357.94529911463,4819.49163547336],[4348.24549370079,4819.49163547336],[4348.24549370079,4810.46546040866],[4372.43922616803,4810.46546040866],[4372.43922616803,4813.45910549989],[4376.37288149523,4813.45910549989]]],"spatialReference":{"wkid":{"wkid":102100}}},"symbol":{"color":[255,0,255,255],"width":0.75,"type":"esriSLS","style":"esriSLSSolid"}},{"geometry":{"paths":[[[4293.87614210089,4892.71220745197],[4284.95274421022,4892.71220745197],[4284.95274421022,4914.94913780158],[4266.46259432689,4914.94913780158],[4266.46259432689,4913.11586762741]]],"spatialReference":{"wkid":102100}},"symbol":{"color":[255,0,255,255],"width":0.75,"type":"esriSLS","style":"esriSLSSolid"}},{"geometry":{"paths":[[[4186.32433144999,4924.96820745197],[4186.32433144999,4928.64264746043],[4202.83412911259,4928.64264746043],[4202.83412911259,4856.44792366138],[4252.98375428274,4856.44792366138],[4264.96026044407,4844.47135538097],[4264.96026044407,4837.9819825999],[4218.86030512771,4837.9819825999],[4218.86030512771,4823.01585332693],[4241.6751394906,4823.01585332693],[4241.6751394906,4830.98938583417],[4249.98968970671,4830.98938583417]]],"spatialReference":{"wkid":102100}},"symbol":{"color":[255,0,255,255],"width":0.75,"type":"esriSLS","style":"esriSLSSolid"}}]}}]}}],"exportOptions":{"outputSize":[4960,3507],"dpi":300},"layoutOptions":{"titleText":"D光00111","authorText":"","copyrightText":"","scaleBarOptions":{"metricUnit":"esriMeters","metricLabel":"m","nonMetricUnit":"esriFeet","nonMetricLabel":"ft"},"legendOptions":{"operationalLayers":[]}}}

谢军

赞同来自:

1.底图是切片图层吗?切片是否已经全部创建完成?浏览存在问题吗?如果都没有问题,可以把服务发布到公网站点吗,比如ArcGIS Online,我们可以访问一下服务测试。
2.JSON文件中包含了两个图层,没有单独的点要素类,问题2中的点设施是指底图中的点吗?
另外,102100坐标系下的xy坐标都是4000多,正确吗,这个区域是在非洲吗

要回复问题请先登录注册