Opened 5 years ago

Closed 5 years ago

#12180 closed defect (needinfo)

offline maps

Reported by: anonymous Owned by: anonymous
Priority: normal Milestone:
Component: JMapViewer Version:
Keywords: Cc: wiktorn


i have developed java application with jmapviewer.i have loaded the map in my jframe...but if disconnecting hte net mp is going off.I need an offline map for my further developmnet. Please let me know the details?

Attachments (0)

Change History (5)

comment:1 Changed 5 years ago by cmuelle8

Did you have a look in the wiki?
Did you ensure that no app exists that already fulfills your requirement?
If you just need an app that downloads tile or vector data for offline usage,
plenty of applications exist for various platforms. No need to dev your own.

Have a look at the popular OsmAnd and its offline data, for instance.

should also help. Be aware that excessive tile downloading at high speeds
will probably get you banned or throttled, so use sensible connection
parameters while downloading.

comment:2 Changed 5 years ago by bastiK

Cc: wiktorn added

comment:3 Changed 5 years ago by wiktorn

Can you describe better your use case?

Do you want to:

  1. download some tiles and work with them offline (while disconnected from network)? You can always provide file:/// URL to JMapViewer, and work with tiles on your local drive
  2. download some tiles online, but be resilent to network outages and cache downloaded tiles, so when they are evicted from memory, have the ability to load them from disk? You would need then to include some code from Apache JCS and JOSM and adapt TMSCachedTileLoader class for your needs

Or something else?

comment:4 Changed 5 years ago by wiktorn

Owner: changed from The111 to anonymous
Status: newneedinfo

comment:5 Changed 5 years ago by Don-vip

Resolution: needinfo
Status: needinfoclosed

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain anonymous.
as The resolution will be set.
The resolution will be deleted.

Add Comment

E-mail address and name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.