Anand
Anand

Reputation: 1325

fast map loading issue with multiple markers in android?

I have problem in loading map with multiple marker in samsung epic.map will display after some time.pls give me the solution.

Thanks.

Upvotes: 0

Views: 952

Answers (2)

Lokesh Tiwari
Lokesh Tiwari

Reputation: 10586

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

enter image description here
AFTER CLUSTER enter image description here

Upvotes: -1

Peter Knego
Peter Knego

Reputation: 80340

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

Upvotes: 2

Related Questions