开发者

fast map loading issue with multiple markers in android?

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜