开发者

fast map loading issue with multiple markers in android?

开发者 https://www.devze.com 2023-02-02 22:49 出处:网络
I have problem in loading map with multip开发者_StackOverflowle marker in samsung epic.map will display after some time.pls give me the solution.

I have problem in loading map with multip开发者_StackOverflowle marker in samsung epic.map will display after some time.pls give me the solution.

Thanks.


Google maps are dynamically loaded from internet. This is where the delay comes from. Check you internet connection.


If you are using map only for marker display purpose use lite map special feature by google map Lite Mode

<fragment xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:map="http://schemas.android.com/apk/res-auto"
android:name="com.google.android.gms.maps.MapFragment"
android:id="@+id/map"
android:layout_width="match_parent"
android:layout_height="match_parent"
map:cameraZoom="13"
map:mapType="normal"
map:liteMode="true"/>

map:liteMode="true" it will make map in lite mode with some limitation
AND
For too many marker go with clustering of marker google link
clustering will increase readability of map BEFORE CLUSTER

fast map loading issue with multiple markers in android?


AFTER CLUSTER

fast map loading issue with multiple markers in android?

0

精彩评论

暂无评论...
验证码 换一张
取 消