Questions tagged [osmdroid]

osmdroid provides Tools / Views to interact with OpenStreetMap-Data, as a close to drop in replacement for the MapView class, with additions.

osmdroid provides Tools / Views to interact with OpenStreetMap-Data.

The OpenStreetMapView is a (almost) full/free replacement for Android's MapView (v1 API) class, usable with Android API v7 and above.

However it goes further than that, also including a modular tile provider system with support for numerous online and offline tile sources and overlay support with built-in overlays for plotting icons, tracking location, and drawing shapes.

See the project home page for more information.

1224 questions
8
votes
2 answers

Does OpenStreetMap has Point(Source) to Point(Destination) direction URI to use in Android?

In my App I've integrated the OpenStreetMap, in which I've fetched both source and destination coordinates. I need to pass those coordinates to OpenStreetMap App using Intent class, for that I need Uri. After searching 2 days long I got this…
Zakir Hussain
  • 414
  • 3
  • 13
8
votes
1 answer

Detect OSMDroid map loading completed

Is there some way to detect when OSMDroid MapView have completed map loading ? I want to know, when OSMDroid ends drawing tiles and overlays on view. Greetings.
Pawel Urban
  • 1,316
  • 1
  • 12
  • 28
8
votes
3 answers

android.view.WindowLeaked: Activity has leaked window android.widget.ZoomButtonsController$Container that was originally added here

Working with maps i have an activity which is launched when no connection is available and uses offline maps (MapQuest). The activity runs fine, map is shown, and all overlays, markers and so on. When the user clicks on one of the markers info…
8
votes
1 answer

Osmdroid vs Mapsforge

I will develop a new Android application, in the past I developed an a application and I used Mapsforge, but now I see their web and they havent got release since Mar 2013... What do you recommend me to use, Osmdroid or Mapsforge? Thanks in advance
RoberV
  • 587
  • 5
  • 22
8
votes
4 answers

Detect if the OSM Mapview is still loading or not in android

I have included Open Street Maps in my android application. In the mapview, user should be able to capture the screen after the map is fully loaded. But currently user can capture the image even when the mapview is still loading. Can someone tell me…
TharakaNirmana
  • 10,237
  • 8
  • 50
  • 69
8
votes
1 answer

OSMdroid add custom icons to ItemizedOverlay

I am using ItemizedIconOverlay class and I'm currently displaying events on the map along with the user's position with the same default icon. How do I change the icon set for each overlay? Is there something similar to the google.maps example: …
bubbly
  • 495
  • 1
  • 10
  • 22
7
votes
3 answers

Using osmdroid without getting access to external storage

In my app I am using osmdroid for working with map. Map tiles are downloaded and kept in /storage/osmdroid. The application requires permissions WRITE_EXTERNAL_STORAGE and READ_EXTERNAL_STORAGE. If I deny access to storage, map is not shown. Is any…
estique
  • 73
  • 1
  • 4
7
votes
1 answer

How to close infoWindow when i touch map android Osm

I do not know how i can close the InfoWindow in OSMDroid when i click anywhere on the map . I tried to check setMapListener but this way is bad and did not work. Have any idea?
Muzzik
  • 105
  • 6
7
votes
4 answers

Download maps for osmdroid

I am developing an application in which I need to use maps offline. I'm using osmdroid and osmbonuspack To download the maps I've tried: MobileAtlasCreator but Mapnik maps are locked. osmdroid-packager. It works, but only download 9 me to…
user3292741
  • 73
  • 1
  • 1
  • 4
7
votes
4 answers

RoadManager for osmdroid error

I am following a tutorial here https://code.google.com/p/osmbonuspack/wiki/Tutorial_1 but I have encountered an error that it doesn't show the correct route correctly. It just shows a straight line from Point A to Point B. What I want to achieve is…
user3211403
  • 169
  • 1
  • 8
7
votes
4 answers

Osmdroid and Mapnik tile provider no longer working

I have a developed, deployed and previously successful application which uses Osmdroid to load tiles from the default tile provider which is…
NickT
  • 23,844
  • 11
  • 78
  • 121
7
votes
3 answers

get coordinates by clicking on map (openstreetmaps)

How can we get the coordinates of a point by clicking on it in open street maps? tried: public void onClick(View v) { Projection proj = mapView.getProjection(); IGeoPoint p = proj.fromPixels(v.getX(), v.getY()); System.out.println("x: "+…
thanasio2
  • 151
  • 2
  • 6
7
votes
2 answers

osmdroid displays an empty grid

I wanted to try out having OpenStreetMap integration by osmdroid, but I got stuck at an issue where I have no idea what is missing. The scenario is as follows: Symptom: Map widget gets displayed but only with an empty grid. This is in my Activity…
Peter
  • 715
  • 1
  • 12
  • 23
6
votes
2 answers

Osmdroid: How I can create and load a map from my own bitmaps(tiles)?

I am starting to use Osmdroid and I would like to use this technology for showing a map about an F1 circuit. I have a big picture and I can cut it up to divide it into smaller tiles. Can I modify the osmdroid library for the upload of these…
Juan Pedro
  • 269
  • 4
  • 11
6
votes
8 answers

osmdroid - display tiles bigger

I'm using osmdroid and maps downloaded from OSM up to level 16. I was wondering if there is any way I could make the osmdroid use the tile from that zoom level but draw it bigger. The thing is that tiles on that level have enough detail for me, but…
Filip Kis
  • 1,650
  • 2
  • 14
  • 18
1
2
3
81 82