POST
|
How can I set min scale of MapView? When the program starts up, the MapView always shows full extent of the 1st map service in MapView. Due to the small size of iPhone screen, the scale always force to very small (1:1,10x,xxx), but I just want to show in min 1:250,000 even users zoom out the map.
... View more
10-18-2013
09:08 AM
|
0
|
1
|
682
|
POST
|
I have a AGSMapView in ViewController1. When I use ViewController2 to show ViewController1 by "ViewController2 presentViewController:animated:completion", after "ViewController2 dismissViewControllerAnimated:completion", the memory can be released. But, if ViewController1 is included in NavigationController, I use ViewController2 to show NavigationController by "ViewController2 presentViewController:animated:completion", after "ViewController2 dismissViewControllerAnimated:completion", the memory seems cannot be released. Anyone can help?
... View more
10-17-2013
02:08 AM
|
0
|
0
|
540
|
POST
|
I want to integrate video streaming (VideoStream SDK for iOS) to ArcGIS. But there are compiling error: duplicate symbol _ff_inverse in: /Users/geossd/Clement/GInfoMap/VideoStreamSDK/3rd-party/ffmpeg/lib/libavcodec.a(inverse.o) /Users/geossd/Clement/GInfoMap/VideoStreamSDK/3rd-party/ffmpeg/lib/libavutil.a(inverse.o) duplicate symbol _OBJC_IVAR_$_VSReachability.reachabilityRef in: /Users/geossd/Library/Developer/Xcode/DerivedData/GInfoMap-ftddshucruzuhsdknuhapqqgagfo/Build/Intermediates/GInfoMap.build/Debug-iphonesimulator/GInfoMap.build/Objects-normal/i386/VSReachability.o /Users/geossd/Clement/GInfoMap/VideoStreamSDK/VideoStreamSDK.a(VSReachability.o) duplicate symbol _OBJC_IVAR_$_VSReachability.localWiFiRef in: /Users/geossd/Library/Developer/Xcode/DerivedData/GInfoMap-ftddshucruzuhsdknuhapqqgagfo/Build/Intermediates/GInfoMap.build/Debug-iphonesimulator/GInfoMap.build/Objects-normal/i386/VSReachability.o /Users/geossd/Clement/GInfoMap/VideoStreamSDK/VideoStreamSDK.a(VSReachability.o) duplicate symbol _OBJC_CLASS_$_VSReachability in: /Users/geossd/Library/Developer/Xcode/DerivedData/GInfoMap-ftddshucruzuhsdknuhapqqgagfo/Build/Intermediates/GInfoMap.build/Debug-iphonesimulator/GInfoMap.build/Objects-normal/i386/VSReachability.o /Users/geossd/Clement/GInfoMap/VideoStreamSDK/VideoStreamSDK.a(VSReachability.o) duplicate symbol _OBJC_METACLASS_$_VSReachability in: /Users/geossd/Library/Developer/Xcode/DerivedData/GInfoMap-ftddshucruzuhsdknuhapqqgagfo/Build/Intermediates/GInfoMap.build/Debug-iphonesimulator/GInfoMap.build/Objects-normal/i386/VSReachability.o /Users/geossd/Clement/GInfoMap/VideoStreamSDK/VideoStreamSDK.a(VSReachability.o) ld: 5 duplicate symbols for architecture i386 clang: error: linker command failed with exit code 1 (use -v to see invocation) When I remove "-all_load -ObjC" in Other Linker Flags, it can be compiled. But failure in runtime, it cannot find ArcGIS Class. How can I solve this problem?
... View more
09-30-2013
02:21 AM
|
0
|
3
|
2631
|
POST
|
I have a QueryTask with proxy page to query street name. if query.text = [english street name], can find street name without problem. if query.text = [chinese character street name], error occur "[RPC Fault faultString="Error #2032" faultCode="null" faultDetail="null"]". On the other hand, when i remove proxyURL property from QueryTask, both english and chinese can find. But in my situation, i must user proxyURL property for security issue. Anyone can help?
... View more
04-15-2012
11:27 PM
|
0
|
1
|
517
|
POST
|
How can I set alpha to ArcGISTiledMapServiceLayer or ArcGISDynamicMapServiceLayer?
... View more
01-12-2012
04:06 PM
|
0
|
2
|
2004
|
POST
|
ESRI_DEV2011, The sample can help you to spot out the problem? Clement
... View more
01-04-2012
03:15 PM
|
0
|
0
|
556
|
POST
|
I am using Samsung Galaxy Tab 10.1 (android 3.1). You can try the following code. DynamicMapServiceLayer - http://sampleserver1.arcgisonline.com/ArcGIS/rest/services/PublicSafety/PublicSafetyOperationalLayers/MapServer <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent"> <LinearLayout android:orientation="horizontal" android:layout_width="fill_parent" android:layout_height="wrap_content"> <Button android:id="@+id/btn0" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="0"/> <Button android:id="@+id/btn1" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="1"/> <Button android:id="@+id/btn2" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="2"/> <Button android:id="@+id/btn3" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="3"/> <Button android:id="@+id/btn4" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="4"/> <Button android:id="@+id/btn5" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="5"/> <Button android:id="@+id/btn6" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="6"/> <Button android:id="@+id/btn7" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="7"/> <Button android:id="@+id/btn8" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="8"/> </LinearLayout> <!-- MapView layout and initial extent --> <com.esri.android.map.MapView android:id="@+id/mMapView" android:layout_width="fill_parent" android:layout_height="fill_parent" initExtent="-1.3296373526814876E7 3930962.41823043 -1.2807176545789773E7 4201243.7502468005"> </com.esri.android.map.MapView> </LinearLayout> public class HelloWorldActivity extends Activity implements OnClickListener { MapView mMapView; ArcGISDynamicMapServiceLayer mArcGISDynamicMapServiceLayer; /** Called when the activity is first created. */ @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main); mMapView = (MapView)findViewById(R.id.mMapView); mMapView.addLayer(new ArcGISTiledMapServiceLayer("http://services.arcgisonline.com/ArcGIS/rest/services/World_Street_Map/MapServer")); mArcGISDynamicMapServiceLayer = new ArcGISDynamicMapServiceLayer("http://sampleserver1.arcgisonline.com/ArcGIS/rest/services/PublicSafety/PublicSafetyOperationalLayers/MapServer"); mMapView.addLayer(mArcGISDynamicMapServiceLayer); Button btn0 = (Button)findViewById(R.id.btn0); Button btn1 = (Button)findViewById(R.id.btn1); Button btn2 = (Button)findViewById(R.id.btn2); Button btn3 = (Button)findViewById(R.id.btn3); Button btn4 = (Button)findViewById(R.id.btn4); Button btn5 = (Button)findViewById(R.id.btn5); Button btn6 = (Button)findViewById(R.id.btn6); Button btn7 = (Button)findViewById(R.id.btn7); Button btn8 = (Button)findViewById(R.id.btn8); btn0.setOnClickListener(this); btn1.setOnClickListener(this); btn2.setOnClickListener(this); btn3.setOnClickListener(this); btn4.setOnClickListener(this); btn5.setOnClickListener(this); btn6.setOnClickListener(this); btn7.setOnClickListener(this); btn8.setOnClickListener(this); } @Override public void onClick(View v) { if (v.getId() == R.id.btn0) { mArcGISDynamicMapServiceLayer.getAllLayers()[0].setVisible(!mArcGISDynamicMapServiceLayer.getAllLayers()[0].isVisible()); } if (v.getId() == R.id.btn1) { mArcGISDynamicMapServiceLayer.getAllLayers()[1].setVisible(!mArcGISDynamicMapServiceLayer.getAllLayers()[1].isVisible()); } if (v.getId() == R.id.btn2) { mArcGISDynamicMapServiceLayer.getAllLayers()[2].setVisible(!mArcGISDynamicMapServiceLayer.getAllLayers()[2].isVisible()); } if (v.getId() == R.id.btn3) { mArcGISDynamicMapServiceLayer.getAllLayers()[3].setVisible(!mArcGISDynamicMapServiceLayer.getAllLayers()[3].isVisible()); } if (v.getId() == R.id.btn4) { mArcGISDynamicMapServiceLayer.getAllLayers()[4].setVisible(!mArcGISDynamicMapServiceLayer.getAllLayers()[4].isVisible()); } if (v.getId() == R.id.btn5) { mArcGISDynamicMapServiceLayer.getAllLayers()[5].setVisible(!mArcGISDynamicMapServiceLayer.getAllLayers()[5].isVisible()); } if (v.getId() == R.id.btn6) { mArcGISDynamicMapServiceLayer.getAllLayers()[6].setVisible(!mArcGISDynamicMapServiceLayer.getAllLayers()[6].isVisible()); } if (v.getId() == R.id.btn7) { mArcGISDynamicMapServiceLayer.getAllLayers()[7].setVisible(!mArcGISDynamicMapServiceLayer.getAllLayers()[7].isVisible()); } if (v.getId() == R.id.btn8) { mArcGISDynamicMapServiceLayer.getAllLayers()[8].setVisible(!mArcGISDynamicMapServiceLayer.getAllLayers()[8].isVisible()); } } @Override protected void onDestroy() { super.onDestroy(); } @Override protected void onPause() { super.onPause(); mMapView.pause(); } @Override protected void onResume() { super.onResume(); mMapView.unpause(); } }
... View more
01-02-2012
05:21 PM
|
0
|
0
|
556
|
POST
|
Thank you fengyunshen, I had done this. I had try: ArcGISDynamicMapServiceLayer.getAllLayers()[0].setVisible(true); ArcGISDynamicMapServiceLayer.getAllLayers()[1].setVisible(false); ArcGISDynamicMapServiceLayer.getAllLayers()[2].setVisible(true); ArcGISDynamicMapServiceLayer.getAllLayers()[3].setVisible(false); -> three sub-layers are shown in MapView. ArcGISDynamicMapServiceLayer.getAllLayers()[0].setVisible(false); ArcGISDynamicMapServiceLayer.getAllLayers()[1].setVisible(false); ArcGISDynamicMapServiceLayer.getAllLayers()[2].setVisible(true); ArcGISDynamicMapServiceLayer.getAllLayers()[3].setVisible(false); -> three sub-layers are not shown in MapView.
... View more
12-22-2011
04:28 PM
|
0
|
0
|
556
|
POST
|
I have a DynamicMapServiceLayer as follow Group Layer Name (0) Individual Layer Name1 (1) Individual Layer Name2 (2) Individual Layer Name3 (3) When I turn Group Layer Name (0) on, all Individual Layers are on (shown in MapView). When I turn Group Layer Name (0) off, all Individual Layers are off. How can I only display an Individual layer?
... View more
12-22-2011
03:30 PM
|
0
|
9
|
935
|
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:23 AM
|