Create map using jxmapviewer in java swing
This part create routing street from two point
🚩 Note 1:
- When you first run a project, it has take more time because it need extract the osm.pbf file that we has download and put into folder osm file.
- So the file has extract to folder target/routing-graph-cache. The path has set in RoutingService.java class
- So after extract the application it will work. and you can delete the osm.pbf file from your project.
🚩 Note 2:
- This video just a tutorial. if you want to build the real project java swing with opens-treet-map I do not recommend this way. because it run on high memory (high Ram) base on your osm.pbf file country.
- So it can be error with OutOfMemoryError exception. The best way I recommend you to use API (OpenStreetMap API) but you need to pay to the api service.
- You can search on google to find open street map api service
► Part 1 : [ Ссылка ]
► Part 2 : [ Ссылка ]
► jxmapviewer2 : [ Ссылка ]
🙏🙏🙏 Support me by subscribe 🙏🙏🙏
► Subscribe now : [ Ссылка ]
► Any question comment below
► More : [ Ссылка ]
► Source code : [ Ссылка ]
► For support me join now
[ Ссылка ]
Ещё видео!