Commit c6545628 authored by p x's avatar p x
Browse files

修改底图命名

parent e2946046
...@@ -2,14 +2,14 @@ package com.sd.demo.ui ...@@ -2,14 +2,14 @@ package com.sd.demo.ui
import android.os.Bundle import android.os.Bundle
import androidx.appcompat.app.AppCompatActivity import androidx.appcompat.app.AppCompatActivity
import com.sd.api.maps.cdata.MSLatLng import com.cusc.map.maps.cdata.MSLatLng
import com.sd.api.ui.MapReadyView import com.cusc.map.ui.MapReadyView
import com.sd.api.maps.DelDrawInMap import com.cusc.map.maps.DelDrawInMap
import com.sd.api.maps.cdata.MSOverlay import com.cusc.map.maps.cdata.MSOverlay
import com.sd.api.maps.DrawInMap import com.cusc.map.maps.DrawInMap
import com.sd.api.maps.MethodAdv import com.cusc.map.maps.MethodAdv
import com.sd.api.maps.MsPolygonOptions import com.cusc.map.maps.MsPolygonOptions
import com.sd.api.ui.MapMultiView.OnMapReadyLis import com.cusc.map.ui.MapView.OnMapReadyLis
import com.sd.demo.databinding.ActivityTpolygonBinding import com.sd.demo.databinding.ActivityTpolygonBinding
/**绘制一个面***/ /**绘制一个面***/
...@@ -29,7 +29,7 @@ class TPolygonActivity : AppCompatActivity() { ...@@ -29,7 +29,7 @@ class TPolygonActivity : AppCompatActivity() {
binding = ActivityTpolygonBinding.inflate(layoutInflater) binding = ActivityTpolygonBinding.inflate(layoutInflater)
setContentView(binding.root) setContentView(binding.root)
binding.mapMultiView.addMapRenderCallback(object : OnMapReadyLis { binding.MapView.addMapRenderCallback(object : OnMapReadyLis {
override fun onMapReady(mapReadyView: MapReadyView) { override fun onMapReady(mapReadyView: MapReadyView) {
this@TPolygonActivity.mapReadView = mapReadyView this@TPolygonActivity.mapReadView = mapReadyView
// MSMethodAdv.setMapZoom(mapReadView, 9f) // MSMethodAdv.setMapZoom(mapReadView, 9f)
......
...@@ -2,8 +2,8 @@ package com.sd.demo.ui ...@@ -2,8 +2,8 @@ package com.sd.demo.ui
import android.os.Bundle import android.os.Bundle
import androidx.appcompat.app.AppCompatActivity import androidx.appcompat.app.AppCompatActivity
import com.sd.api.maps.cdata.RegeocodeRes import com.cusc.map.maps.cdata.RegeocodeRes
import com.sd.api.maps.MSRegeoCode import com.cusc.map.maps.MSRegeoCode
import com.sd.demo.databinding.ActivityTreGeocodeBinding import com.sd.demo.databinding.ActivityTreGeocodeBinding
...@@ -19,7 +19,7 @@ class TReGeocodeActivity : AppCompatActivity() { ...@@ -19,7 +19,7 @@ class TReGeocodeActivity : AppCompatActivity() {
super.onCreate(savedInstanceState) super.onCreate(savedInstanceState)
binding = ActivityTreGeocodeBinding.inflate(layoutInflater) binding = ActivityTreGeocodeBinding.inflate(layoutInflater)
setContentView(binding.root) setContentView(binding.root)
// binding.mapMultiView.addMapRenderCallback(object : OnMapReadyLis { // binding.MapView.addMapRenderCallback(object : OnMapReadyLis {
// override fun onMapReady(mapReadyView: MapReadyView) { // override fun onMapReady(mapReadyView: MapReadyView) {
// this@TReGeocodeActivity.mapReadView = mapReadyView // this@TReGeocodeActivity.mapReadView = mapReadyView
// } // }
......
...@@ -5,10 +5,10 @@ import androidx.appcompat.app.AppCompatActivity ...@@ -5,10 +5,10 @@ import androidx.appcompat.app.AppCompatActivity
import com.minedata.minenavi.SDKInitializer import com.minedata.minenavi.SDKInitializer
import com.minedata.minenavi.SDKInitializer.InitListener import com.minedata.minenavi.SDKInitializer.InitListener
import com.minedata.minenavi.map.MineMap import com.minedata.minenavi.map.MineMap
import com.sd.api.maps.MethodAdv import com.cusc.map.maps.MethodAdv
import com.sd.api.maps.WmsLayer import com.cusc.map.maps.WmsLayer
import com.sd.api.ui.MapMultiView.OnMapReadyLis import com.cusc.map.ui.MapView.OnMapReadyLis
import com.sd.api.ui.MapReadyView import com.cusc.map.ui.MapReadyView
import com.sd.demo.databinding.ActivityWmtsBinding import com.sd.demo.databinding.ActivityWmtsBinding
/**** /****
...@@ -44,7 +44,7 @@ class WmsActivity : AppCompatActivity() { ...@@ -44,7 +44,7 @@ class WmsActivity : AppCompatActivity() {
binding = ActivityWmtsBinding.inflate(layoutInflater) binding = ActivityWmtsBinding.inflate(layoutInflater)
setContentView(binding.root) setContentView(binding.root)
binding.mapMultiView.addMapRenderCallback(object : OnMapReadyLis { binding.MapView.addMapRenderCallback(object : OnMapReadyLis {
override fun onMapReady(mapReadyView: MapReadyView) { override fun onMapReady(mapReadyView: MapReadyView) {
this@WmsActivity.mapReadView = mapReadyView this@WmsActivity.mapReadView = mapReadyView
// SDKInitializer.setStyleUrl(MineMap.UrlType.satellite, url) // SDKInitializer.setStyleUrl(MineMap.UrlType.satellite, url)
......
...@@ -67,8 +67,8 @@ ...@@ -67,8 +67,8 @@
android:text="计算" /> android:text="计算" />
<com.sd.api.ui.MapMultiView <com.cusc.map.ui.MapView
android:id="@+id/mapMultiView" android:id="@+id/MapView"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" /> android:layout_height="match_parent" />
......
...@@ -57,8 +57,8 @@ ...@@ -57,8 +57,8 @@
<!-- android:text="设置地图边界范围" />--> <!-- android:text="设置地图边界范围" />-->
</LinearLayout> </LinearLayout>
<com.sd.api.ui.MapMultiView <com.cusc.map.ui.MapView
android:id="@+id/mapMultiView" android:id="@+id/MapView"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" /> android:layout_height="match_parent" />
......
...@@ -29,8 +29,8 @@ ...@@ -29,8 +29,8 @@
</LinearLayout> </LinearLayout>
<com.sd.api.ui.MapMultiView <com.cusc.map.ui.MapView
android:id="@+id/mapMultiView" android:id="@+id/MapView"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" /> android:layout_height="match_parent" />
......
...@@ -4,8 +4,8 @@ ...@@ -4,8 +4,8 @@
android:layout_height="match_parent" android:layout_height="match_parent"
android:orientation="vertical"> android:orientation="vertical">
<com.sd.api.ui.MapMultiView <com.cusc.map.ui.MapView
android:id="@+id/mapMultiView" android:id="@+id/MapView"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" /> android:layout_height="match_parent" />
...@@ -13,12 +13,12 @@ ...@@ -13,12 +13,12 @@
<!-- android:layout_width="match_parent"--> <!-- android:layout_width="match_parent"-->
<!-- android:layout_height="10dp"--> <!-- android:layout_height="10dp"-->
<!-- android:src="#784125"/>--> <!-- android:src="#784125"/>-->
<!-- <com.sd.api.ui.MapMultiView--> <!-- <com.cusc.map.ui.MapView-->
<!-- android:id="@+id/mapMultiView2"--> <!-- android:id="@+id/MapView2"-->
<!-- android:layout_width="200dp"--> <!-- android:layout_width="200dp"-->
<!-- android:layout_height="300dp" />--> <!-- android:layout_height="300dp" />-->
<!-- <com.sd.api.ui.MapMultiView--> <!-- <com.cusc.map.ui.MapView-->
<!-- android:id="@+id/mapMultiView3"--> <!-- android:id="@+id/MapView3"-->
<!-- android:layout_width="match_parent"--> <!-- android:layout_width="match_parent"-->
<!-- android:layout_height="300dp" />--> <!-- android:layout_height="300dp" />-->
</LinearLayout> </LinearLayout>
\ No newline at end of file
...@@ -24,8 +24,8 @@ ...@@ -24,8 +24,8 @@
</LinearLayout> </LinearLayout>
<com.sd.api.ui.MapMultiView <com.cusc.map.ui.MapView
android:id="@+id/mapMultiView" android:id="@+id/MapView"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" /> android:layout_height="match_parent" />
......
...@@ -5,8 +5,8 @@ ...@@ -5,8 +5,8 @@
android:layout_height="match_parent"> android:layout_height="match_parent">
<com.sd.api.ui.MapMultiView <com.cusc.map.ui.MapView
android:id="@+id/mapMultiView" android:id="@+id/MapView"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
app:map_child_type="high" /> app:map_child_type="high" />
......
...@@ -33,8 +33,8 @@ ...@@ -33,8 +33,8 @@
android:text="恢复移动" /> android:text="恢复移动" />
</LinearLayout> </LinearLayout>
<com.sd.api.ui.MapMultiView <com.cusc.map.ui.MapView
android:id="@+id/mapMultiView" android:id="@+id/MapView"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" /> android:layout_height="match_parent" />
......
...@@ -90,8 +90,8 @@ ...@@ -90,8 +90,8 @@
</LinearLayout> </LinearLayout>
<com.sd.api.ui.MapMultiView <com.cusc.map.ui.MapView
android:id="@+id/mapMultiView" android:id="@+id/MapView"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
app:map_child_type="road" /> app:map_child_type="road" />
......
...@@ -19,8 +19,8 @@ ...@@ -19,8 +19,8 @@
<com.sd.api.ui.MapMultiView <com.cusc.map.ui.MapView
android:id="@+id/mapMultiView" android:id="@+id/MapView"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
/> />
......
...@@ -8,8 +8,8 @@ ...@@ -8,8 +8,8 @@
tools:context=".ui.ShowMyLocLandian"> tools:context=".ui.ShowMyLocLandian">
<com.sd.api.ui.MapMultiView <com.cusc.map.ui.MapView
android:id="@+id/mapMultiView" android:id="@+id/MapView"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
/> />
......
...@@ -18,8 +18,8 @@ ...@@ -18,8 +18,8 @@
</LinearLayout> </LinearLayout>
<com.sd.api.ui.MapMultiView <com.cusc.map.ui.MapView
android:id="@+id/mapMultiView" android:id="@+id/MapView"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
/> />
......
...@@ -42,8 +42,8 @@ ...@@ -42,8 +42,8 @@
</LinearLayout> </LinearLayout>
<com.sd.api.ui.MapMultiView <com.cusc.map.ui.MapView
android:id="@+id/mapMultiView" android:id="@+id/MapView"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" /> android:layout_height="match_parent" />
......
...@@ -25,8 +25,8 @@ ...@@ -25,8 +25,8 @@
</LinearLayout> </LinearLayout>
<com.sd.api.ui.MapMultiView <com.cusc.map.ui.MapView
android:id="@+id/mapMultiView" android:id="@+id/MapView"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
/> />
......
...@@ -23,8 +23,8 @@ ...@@ -23,8 +23,8 @@
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" /> android:layout_height="wrap_content" />
<com.sd.api.ui.MapMultiView <com.cusc.map.ui.MapView
android:id="@+id/mapMultiView" android:id="@+id/MapView"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
/> />
......
...@@ -31,8 +31,8 @@ ...@@ -31,8 +31,8 @@
</LinearLayout> </LinearLayout>
<com.sd.api.ui.MapMultiView <com.cusc.map.ui.MapView
android:id="@+id/mapMultiView" android:id="@+id/MapView"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" /> android:layout_height="match_parent" />
......
...@@ -30,8 +30,8 @@ ...@@ -30,8 +30,8 @@
</LinearLayout> </LinearLayout>
<com.sd.api.ui.MapMultiView <com.cusc.map.ui.MapView
android:id="@+id/mapMultiView" android:id="@+id/MapView"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
/> />
......
...@@ -19,8 +19,8 @@ ...@@ -19,8 +19,8 @@
</LinearLayout> </LinearLayout>
<com.sd.api.ui.MapMultiView <com.cusc.map.ui.MapView
android:id="@+id/mapMultiView" android:id="@+id/MapView"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
/> />
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment