From 0c6395193e3f092f1fa597fe13a408b1f6086b44 Mon Sep 17 00:00:00 2001 From: Gagandeep Singh Date: Fri, 20 May 2016 15:17:01 -0700 Subject: [PATCH 1/2] Find route sample changes - changed stops from Origin and Destination to A and B - using picture marker symbols for the new stop graphics --- .../StopA.imageset/Contents.json | 23 ++++++++++++++++++ .../StopA.imageset/stopA108.png | Bin 0 -> 5456 bytes .../StopA.imageset/stopA36.png | Bin 0 -> 2173 bytes .../StopA.imageset/stopA72.png | Bin 0 -> 3566 bytes .../StopB.imageset/Contents.json | 23 ++++++++++++++++++ .../StopB.imageset/StopB108.png | Bin 0 -> 5298 bytes .../StopB.imageset/StopB36.png | Bin 0 -> 2134 bytes .../StopB.imageset/StopB72.png | Bin 0 -> 3539 bytes .../Find route/FindRoute.storyboard | 4 +-- .../Find route/FindRouteViewController.swift | 23 +++++++++++------- 10 files changed, 62 insertions(+), 11 deletions(-) create mode 100644 arcgis-ios-sdk-samples/Images.xcassets/StopA.imageset/Contents.json create mode 100644 arcgis-ios-sdk-samples/Images.xcassets/StopA.imageset/stopA108.png create mode 100644 arcgis-ios-sdk-samples/Images.xcassets/StopA.imageset/stopA36.png create mode 100644 arcgis-ios-sdk-samples/Images.xcassets/StopA.imageset/stopA72.png create mode 100644 arcgis-ios-sdk-samples/Images.xcassets/StopB.imageset/Contents.json create mode 100644 arcgis-ios-sdk-samples/Images.xcassets/StopB.imageset/StopB108.png create mode 100644 arcgis-ios-sdk-samples/Images.xcassets/StopB.imageset/StopB36.png create mode 100644 arcgis-ios-sdk-samples/Images.xcassets/StopB.imageset/StopB72.png diff --git a/arcgis-ios-sdk-samples/Images.xcassets/StopA.imageset/Contents.json b/arcgis-ios-sdk-samples/Images.xcassets/StopA.imageset/Contents.json new file mode 100644 index 000000000..d4a3190bf --- /dev/null +++ b/arcgis-ios-sdk-samples/Images.xcassets/StopA.imageset/Contents.json @@ -0,0 +1,23 @@ +{ + "images" : [ + { + "idiom" : "universal", + "filename" : "stopA36.png", + "scale" : "1x" + }, + { + "idiom" : "universal", + "filename" : "stopA72.png", + "scale" : "2x" + }, + { + "idiom" : "universal", + "filename" : "stopA108.png", + "scale" : "3x" + } + ], + "info" : { + "version" : 1, + "author" : "xcode" + } +} \ No newline at end of file diff --git a/arcgis-ios-sdk-samples/Images.xcassets/StopA.imageset/stopA108.png b/arcgis-ios-sdk-samples/Images.xcassets/StopA.imageset/stopA108.png new file mode 100644 index 0000000000000000000000000000000000000000..cb47f010ce509e4ebf56ba5e19b25e80f406f86a GIT binary patch literal 5456 zcmaJ_cQ{{R{DC1 zPB@G>@;64@4}(8v0|3gZet4vlJBkQ)M7g4|DtzBwxA1|{&MJJCvicBxygJGatrb8( znFbh`IR&^oDLC_~-UKWADV_^pP(&oy595LLQuI^d`%_o(eEvHu!3X{mLUdQ*`*%@R z`bJ=N903KE6_*xsf=Eh&p-^#28CfV)QWPu&k(82voZnC}Nf||1sG^h{_^*raJR8B; zMbQMV@mH?%l?tC5k%(86knr{O759}E#}Qm5Bo!1CerrfciJc?Fy!^35q@Nhp>)PK6 zaFmx50gWf3aaizgMWiFno2bHfUg^KLfWiMGi}m`eP3H}h@I&GyB*h`WxAZqqU;qDy zVle-py@)2L|J3_mg}u!D@hAxslo!sM;B0!%PYXuG~}Uba2Z)Sxcc8*IL^r%gTfO3<~sj}EB8OSzs-QbpJ#@n2xuRavjzc& z0spyaMf88E1*##fAf=(9@jvzc;yVAAT7Gk-ArQ#_H)3w)0{~3z+Hf^9Khj2yEuLj8v%96a|D^B}E2UN#Kh)8 zqzw5a5%U{@*0@bwsNqE8c#_0~Zkpt@@E3Oz|8br2u&L-OQe#!sxF@U?MW~JM%-DDb zbns-lES0b1CjR;Mar2DtD@{-*9ZiD9RAKUpTG3YK>dltZ=I^R!UZvU6`pj%~2?+_U zAJRm=k&eZV*KA^ljaWdJA9-GN$H|>u&l-x*J0TTgUsHa}tMd$aE^i;i-@c`+cof|> zx0l!b?L#v?BV$J#s|Z{DO$6R=j`Aw$s_hqs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J m8Y(P*)7?Dr6K^f_Yc+^*u}-s)C}OBC1XOolN{w4g+J6C%vzhJy literal 0 HcmV?d00001 diff --git a/arcgis-ios-sdk-samples/Images.xcassets/StopA.imageset/stopA72.png b/arcgis-ios-sdk-samples/Images.xcassets/StopA.imageset/stopA72.png new file mode 100644 index 0000000000000000000000000000000000000000..b6a3a5378001b3f47752a852a66d623b0a3af0cf GIT binary patch literal 3566 zcmaJ^c|4Tu*B@kwY#9<_8YJr&#t35{!<3O^S1}mPG|ggWtVxy-O4fP|)nIHBo@B|E zH6dh4wifY7WNRf--tqjNp5Ob&+k1cR`@XJoKHu;6oa>zP&z0!tU@IytCky}pMA3Fg zC+=#u^9c!X|1Qf_w%lbu!^WL)k`llO!P0O5OMi+l4umFQ&*GeLSpTrV9vlJy;8P(u zyEEJ|_Qrk`k`8tUqZ3M^a@ha?!aS6U^&{dKAYa^B0@)P2+SmdH5&TWTZUz`#4AmNk zC)kD4a3{kZoc+Ryen$Rab2AVk)R-$k!ZEO*P||ra-8j?~{I{+#cfaF?fI)vl7(`R> zf0A;?ID)JxG#to4M_=1d7YYTz;W|*50UQq10_o{O^&q<37p@J385_Wj^$bD(JYa4# znty1lHj+Vn6o0~@MMrYrwa zK;r0rGy;`DppZd3idbJt5W^JA&GbJY6SrWHP%IS!)zRHK(k~ze^Z!Fh zq<_(Lh7<0;`Tn26bmuTC4&sEPQ-WxI+{Ohc?}VZnThnk@28HHKp`8C!MMpe^L80R* zRFL&aIOs42>qj8(IMn}UU@*pLGM#}X`{B??Q!rOUhd}T*hNJY2^iU`y6ppfjLT%ti z$RkEbOVkm#B@$*}h_wF2MN<5NNH{X%7uWy4T$|r=cZPvPQSp8P-AFluJbFuy{7s5>jveVlC)#_g^?)>a*{~cVe@$cy4$lQ6SaR8$ z2xksbb%c|(Iou3$lHT0ATk&o)@|;T?C&rOo(k5`qo~rKip|I%Sgh9aS`YqysVPi0& zxm9NMX~jOXjf}pfzLma#cUuG75hi?v1i3O?uIU9ChukA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}8Uc z&53V=+zQ4M#PDU4llte7>6$hz!ji!J6#uwmC9t3N>U;82t~1$r?wNU8r{=m@`^1xW z$26O`ewdr;9a*7%_=&Q2{#Xe}(+c}+DNOpO8)?e8EGsD$X6MYj*c+QyrhmpvO$@!UPdaQ6>`k>QY}4dS$QO{FpTZ= zObc!sb1(CYo|WQxg8W(={PEcOWe;acL1nWVb&fcq?xSU>yK(LFQ#n7q!<21Ai!;*0 zH0GMl$!6tQgy4p*`7-QkR!c<=43%bwRHm`BJ=+-y1L}S7e|Jf51aKvgS#$NO_Sxhw zGKcz2bW0ap1=wa4hKtVT?%%gxDHigICqMD(oq6FT&|CmXo-f*EEsZ%n1AG&9)waA> zP1+8A-CIM5Ag(8L=wvioTJnJ&SJ~ICbi&eIM|+sJfAuA12`S~RoJ2r2t&qxGpJ2B? zNSI|##HxAo58GMB-E!@*Yw955*Cr>&;%_o}!&+Qkr{yCvCSu|E`nfmX9Y_1s{NH4( zfI|E4t-<=w-)htc4u)=hS)M!8GXsfLo^ZHQWHVe>aHK)>{Qiq*VqgI+*K>{jAA50- A(EtDd literal 0 HcmV?d00001 diff --git a/arcgis-ios-sdk-samples/Images.xcassets/StopB.imageset/StopB36.png b/arcgis-ios-sdk-samples/Images.xcassets/StopB.imageset/StopB36.png new file mode 100644 index 0000000000000000000000000000000000000000..07ce52b7d44845dc406f8494c96b5309d4fcee96 GIT binary patch literal 2134 zcmaJ?eK=HU8=nn>M78PlSv$=rYc*e(F=m_9m_w*xnCZ>dZp@rH#^B7E=7aIMsimE= z3Ki9>Y`jF+v{Eh6m#@M~Ayl?}M6aleT?*?xQ)%Bn>OI#v=Xsv{x_`g>cYj>hqviQ+ zGF@!F7=yu>`gj9@=xV3?jIikcF(x}3U941|K`K5Hs)`mWAPifKh#;H~ER;ZjkWd`6 zs|nhG!RXmZ1wpDH?iMD9z$Bs0hoph!C>n#=;I5Gi!3ao&6G0NGjD;Vss>S1^VitZI zjZ5LmIZ&9?J5~YlWBmkRYy{{g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Hi8cQql4P!A_N(roG4nf zKcoU1xGoe7bJ@4Kzx#1;D1TFeAuVUFH29aHkm={&A*5;SlV<+F_V~ne-+S|t_HpKx4mn+0!d+(;pgtVP2=0Z(+1iZ2+duuQ zB9DBzD8IR`Nj!d9TKMefzOp(CU*Gcnxhi#Jn#O*6VQ~iml3A}-2ulPBD?lrOL&31v z5r3G%5jAmdSlF*f==i)p?&5dLo)Pzi+x@$Bu4bSBKq|48eS@2feH%Z;<}n+N?C5qh zzdCn-c757it>JxE{HaM~X9tTDosp0jVmsr%`xDGY__b-n@&=0TruXsm1Ij!?_WTzy Ckazq5 literal 0 HcmV?d00001 diff --git a/arcgis-ios-sdk-samples/Images.xcassets/StopB.imageset/StopB72.png b/arcgis-ios-sdk-samples/Images.xcassets/StopB.imageset/StopB72.png new file mode 100644 index 0000000000000000000000000000000000000000..f4fb54decfedaf279f0270d727bb1ed1fd0fc423 GIT binary patch literal 3539 zcmaJ^XH-+!8VyB2qzVE`F@|1436W3&fdGlp3`G!>mOvtDBtbe#6VZSakxm$jAXoqq zqzM)}3|&SLupwonh)P#qm^aRQKc4Tdd+#~tTYK-XuDjMvbg;7)000EhC?tlx zqV^s>9`@UL>47zSIn1zhWjIp&7{T5&8~}l(_~3wOlD9t&gY(9Q26p3&0RS!qf|D!5 z)z-$)mqOC=-ot2xkf>}n0AOqyLiP3yz%hV6IDZ1!1hmrB3IYt~2TTK(;deKG;z84Ri+7#tiNtQD-MMWOkFbzm^qo`$ZjCL5ti4<$3aLo~^B`JW0% z9Nm{jpfU&)GH_4P+lLawFafb6{dWo^>OZn%`rl<@7YrQYO$F;{Y44@<6KHGu|Dhz( zKWI7wgZods|5KRm6iUT`F*rIUh~~>~oS*!jE2^Od4d>0E(3~g~;?F8N;3*6W9Z#VG zEgYdh6@+Uz7vbD2XinOw6ahjSet}BwFz0S}#jCp>xXY^|LvtwcxD-Cw(iEAUnJ>wj`8eH6 zyT3H``?99ZTJO}-GS(md*?4AdXE#c(Q>OC?wr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B}d?md@KRx+bhkmrC;<+e0s`lcfib||NWNS*G!PFq;Q1POvJr7f<9xX6~G0sFqb?F|HIF3?>7r= LX@|UL?iKSdZtW7? literal 0 HcmV?d00001 diff --git a/arcgis-ios-sdk-samples/Route & Navigation/Find route/FindRoute.storyboard b/arcgis-ios-sdk-samples/Route & Navigation/Find route/FindRoute.storyboard index 6777a77e1..543842594 100644 --- a/arcgis-ios-sdk-samples/Route & Navigation/Find route/FindRoute.storyboard +++ b/arcgis-ios-sdk-samples/Route & Navigation/Find route/FindRoute.storyboard @@ -1,8 +1,8 @@ - + - + diff --git a/arcgis-ios-sdk-samples/Route & Navigation/Find route/FindRouteViewController.swift b/arcgis-ios-sdk-samples/Route & Navigation/Find route/FindRouteViewController.swift index 1e9514ab3..8a370c1c5 100644 --- a/arcgis-ios-sdk-samples/Route & Navigation/Find route/FindRouteViewController.swift +++ b/arcgis-ios-sdk-samples/Route & Navigation/Find route/FindRouteViewController.swift @@ -67,17 +67,22 @@ class FindRouteViewController: UIViewController { self.stop1Geometry = AGSPoint(x: -13041171.537945, y: 3860988.271378, spatialReference: AGSSpatialReference(WKID: 3857)) self.stop2Geometry = AGSPoint(x: -13041693.562570, y: 3856006.859684, spatialReference: AGSSpatialReference(WKID: 3857)) - let startStopGraphic = AGSGraphic(geometry: self.stop1Geometry, symbol: self.stopSymbol("Origin", textColor: UIColor.blueColor())) - let endStopGraphic = AGSGraphic(geometry: self.stop2Geometry, symbol: self.stopSymbol("Destination", textColor: UIColor.redColor())) + //picture marker symbols for the graphics + let startImage = UIImage(named: "StopA")! + let startSymbol = AGSPictureMarkerSymbol(image: startImage) + startSymbol.offsetY = startImage.size.height/2 + + let endImage = UIImage(named: "StopB")! + let endSymbol = AGSPictureMarkerSymbol(image: UIImage(named: "StopB")!) + endSymbol.offsetY = endImage.size.height/2 + + //create graphics for start and end + let startStopGraphic = AGSGraphic(geometry: self.stop1Geometry, symbol: startSymbol) + let endStopGraphic = AGSGraphic(geometry: self.stop2Geometry, symbol: endSymbol) self.stopGraphicsOverlay.graphics.addObjectsFromArray([startStopGraphic, endStopGraphic]) } - //method provides a text symbol for stop with specified parameters - func stopSymbol(stopName:String, textColor:UIColor) -> AGSTextSymbol { - return AGSTextSymbol(text: stopName, color: textColor, size: 20, horizontalAlignment: .Center, verticalAlignment: .Middle) - } - //method provides a line symbol for the route graphic func routeSymbol() -> AGSSimpleLineSymbol { let symbol = AGSSimpleLineSymbol(style: .Solid, color: UIColor.yellowColor(), width: 5) @@ -134,9 +139,9 @@ class FindRouteViewController: UIViewController { //set the stops let stop1 = AGSStop(point: self.stop1Geometry) - stop1.name = "Origin" + stop1.name = "A" let stop2 = AGSStop(point: self.stop2Geometry) - stop2.name = "Destination" + stop2.name = "B" self.routeParameters.setStops([stop1, stop2]) self.routeTask.solveRouteWithParameters(self.routeParameters) { (routeResult: AGSRouteResult?, error: NSError?) -> Void in From 5d464853cea29e6e6c38142ea71cedcc0e438bf9 Mon Sep 17 00:00:00 2001 From: Gagandeep Singh Date: Fri, 20 May 2016 15:25:47 -0700 Subject: [PATCH 2/2] Find address sample - now zooming in to the extent in geocode result instead of the geometry's extent --- .../Search/Find address/FindAddressViewController.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arcgis-ios-sdk-samples/Search/Find address/FindAddressViewController.swift b/arcgis-ios-sdk-samples/Search/Find address/FindAddressViewController.swift index 1dd334fa9..c54821274 100644 --- a/arcgis-ios-sdk-samples/Search/Find address/FindAddressViewController.swift +++ b/arcgis-ios-sdk-samples/Search/Find address/FindAddressViewController.swift @@ -86,7 +86,7 @@ class FindAddressViewController: UIViewController, AGSMapViewTouchDelegate, UISe let graphic = self?.graphicForPoint(results[0].displayLocation!, attributes: results[0].attributes) self?.graphicsOverlay.graphics.addObject(graphic!) //zoom to the extent of the graphic to highlight the result - self?.mapView.setViewpointGeometry(results[0].displayLocation!.extent, completion: nil) + self?.mapView.setViewpointGeometry(results[0].extent!, completion: nil) } else { //provide feedback in case of failure