NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum

0
1

In my app all thing work properly but map not loading.I have try both way offline and online but map not loading.

This is my android code :-

MapView map = (MapView) findViewById(R.id.mapView); 
map.setMultiTouchControls(true);
map.setClickable(true);
map.setMinZoomLevel(4);
map.getController().setZoom(13);
map.setUseDataConnection(false);
map.setTileSource(TileSourceFactory.MAPQUESTOSM);

I have used osmdroid-android-4.2.jar, slf4j-android-1.5.8.jar, and OSMBonusPack. for creating map and map functionality.

And also the tile loading is very 'blocky' and not load

How to load fast map or tile in my android project ?

asked 02 Mar '15, 09:16

nehalkumar's gravatar image

nehalkumar
31337
accept rate: 0%

edited 03 Mar '15, 06:38

SimonPoole's gravatar image

SimonPoole ♦
44.7k13326701

1

Does the problem persist when switching to a different tile provider? At the moment you seem to be using MapQuest Open.

(02 Mar '15, 11:46) scai ♦

Hello there! Wrong party. Try the issue queue for OSMdroid https://github.com/osmdroid/osmdroid/issues

This help forum is all about the OpenStreetMap.org mapping project but not any software you might use to create maps.

permanent link

answered 06 Mar '15, 16:43

lxbarth's gravatar image

lxbarth
252
accept rate: 0%

edited 06 Mar '15, 16:50

SomeoneElse's gravatar image

SomeoneElse ♦
36.9k71370866

-3

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

permanent link

answered 07 Nov '15, 11:16

tiwari9773's gravatar image

tiwari9773
-2
accept rate: 0%

edited 07 Nov '15, 12:46

aseerel4c26's gravatar image

aseerel4c26 ♦
32.6k18248554

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×710
×535
×181
×28

question asked: 02 Mar '15, 09:16

question was seen: 11,420 times

last updated: 07 Nov '15, 12:46

NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum