How to build MAPS.ME for Mac OS X - an offline OpenStreetMaps browser
October 21, 2015 , revised November 19, 2023 in SoftwareUpdated for 2023: Maps.me really went downhill in the recent years. A free and uncomplicated fork of Maps.me is Organic Maps.if you have an Apple Silicon Mac, you can install the iPad version with no extra effort.
You can still build the executable for yourself following the instructions, but I have troubles with bundling it, and downloading maps. If you get it working please share your solution. There’s still no official or supported method to building the app for macOS.
A couple of weeks ago MAPS.ME, one of the best offline map applications for mobile (for advertising parity, the other one I use is Skobbler), has gone open source, and as part of the release, now the app has an OS X version. Before this there was no native Mac OS X application for browsing OpenStreetMaps offline, so I was really excited to get this running.
MAPS.ME for Mac OS X
At the present moment, it lets you browse the map and search for features. There is no routing or favorites or any other fancy stuff, but it’ll be useful in a pinch.
As the app is clearly not up to release standards in terms of features, you’ll have to build it yourself.
-
Install Homebrew if you haven’t yet. In the process you’ll make sure the Xcode toolchain is set up.
-
Install dependencies:
brew install boost qt5
-
Link qt5 build tools:
brew link --force qt5
If you had
qt
(version 4) installed, brew will complain and then you should dobrew unlink qt
first and rollback after this build, just to be safe. -
Check out the omim repo:
git clone --depth 1 git@github.com:mapsme/omim.git cd omim
-
Check out the submodules:
git submodule init git submodule update
-
Run the configuration script
./configure.sh
When it asks you for a private repo, just hit ENTER.
-
Actually build the software
tools/unix/build_omim.sh -r cd ../omim-build-release/out/release macdeployqt MAPS.ME.app mv ../../data/* MAPS.ME.app/Contents/Resources
-
If the previous step had succeeded, you now have a working build
open MAPS.ME.app
-
If the application works, install it in the Applications directory
mv MAPS.ME.app /Applications open /Applications/MAPS.ME.app
These steps no longer work:
-
The app has a map download feature, but it doesn’t work because of keys or something. In any case, you can download the latest maps manually from the official distribution site. The maps are organized by country, so download
yourcountry.mwm
andyourcountry.mwm.routing
. -
Move the downloaded files to
~/Library/Application Support/MapsWithMe
. Restart the app.
Done! You should now have a working build of MAPS.ME for your desktop.
Liked the post? Treat me to a coffee