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

HI Iam use osm for my new app but this is the first time i use osm any one can help me to get tutorial , or any resource of how to change the style and how to add kml , json to osm and how to save the county image inside the app ?

asked 02 Jun '18, 15:19

alsudane's gravatar image

alsudane
11112
accept rate: 0%

1

With Android there are lots of development choices - you'd need to tell use what you're developing in first - Java? JS? Something else? What have you managed to do so far?

(02 Jun '18, 15:39) SomeoneElse ♦
1

sure iam using java , and i had implemint the osm in my app now i want to show single country on my app and delete all othere country data how i can acheve this , and i would like to change the style to dark

(02 Jun '18, 16:12) alsudane
1

Which library are you using?

(02 Jun '18, 16:15) scai ♦

osmdroid-android-4.2 this library , could i edit on the information on the map ?

(03 Jun '18, 09:02) alsudane

I would suggest using mapsforge if you want offline support and just a limited extract of the data.

(03 Jun '18, 16:14) SimonPoole ♦

thank you , what about the style dose mapsforge support dark theme ?

(03 Jun '18, 16:45) alsudane

and how i could clear the data in mapsfoge ?

(03 Jun '18, 17:46) alsudane
showing 5 of 8 show 3 more comments

See Offline Map Tiles from the osmdroid documentation. There are various ways to use offline tiles with osmdroid. Quoting from the documentation:

osmdroid provides out of the box support for several different types of offline map tile caches.

  • osmdroid's flavor of a sqlite database (recommended)
  • osmdroid ZIP
  • MBTiles
  • GEMF
  • GeoPackage (still under development)
permanent link

answered 03 Jun '18, 20:59

scai's gravatar image

scai ♦
33.3k21309459
accept rate: 23%

Aehhh, any of the options would require @alsudane to render the tiles themselves to just show "one country" which obviously doesn't really make any sense.

(03 Jun '18, 21:30) SimonPoole ♦

Alternatively he could download tiles from https://openmaptiles.org/ I guess? Or not since they seem to offer only vector tiles but no raster tiles :(

(04 Jun '18, 07:31) scai ♦

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:

×181

question asked: 02 Jun '18, 15:19

question was seen: 2,817 times

last updated: 04 Jun '18, 07:45

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