Multiple phone numbers should be [separated with `;`][parsing] in OSM `phone` values. This commit adds support for parsing and displaying such phone numbers individually. Example POI with three phone numbers: https://www.openstreetmap.org/way/233417266. Before this change, the phone was displayed as one value and trying to call it would fail because all the digits were concatenated together, resulting in an invalid number. For the POI above, the program tried to call `tel://+150332563111503325879018008756807`. This change fixes the parsing of `FMD_PHONE_NUMBER` into an array of phone numbers. That required updates in a few areas: - the POI details view (`PlacePageInfoViewController`) now displays every phone number as a separate row, each with a clickable link for that number; long-click to copy also works. - the share info preparation (`MWMShareActivityItem`) displays phone numbers separated with `; `, which provides a better phone detection for iOS. - the Call button (`PlacePageInteractor`) now has to ask the user which number to call if there are more than one. I tested this on an iPhone 15 Pro, iOS 17.2 simulator (temporarily commenting the "can make phone call" checks). Note: the Editing screen wasn't updated in order to keep this PR smaller. Fixes https://git.omaps.dev/organicmaps/organicmaps/issues/2458. The corresponding fix for Android was in https://github.com/organicmaps/organicmaps/pull/845. [parsing]: https://wiki.openstreetmap.org/wiki/Key:phone#Parsing_phone_numbers Signed-off-by: Eugene Nikolsky <omaps@egeek.me>
Project Intro | Governance | FAQ | Contribute | Donate | Keep Connected
CoMaps – Hike, Bike, Drive Offline – Easy Map Navigation with Privacy
A community-led free & open source maps app based on OpenStreetMap data and reinforced with commitment to transparency, privacy and being not-for-profit. CoMaps is a fork/spin-off of Organic Maps, which in turn is a fork of Maps.ME.
There are apps for Android and iOS (and ARM macOS). An alpha linux / macOS Qt desktop version, which is also suitable for linux phones.
We're working on getting first app releases out soon, please stay tuned!
Offline-focused: Plan and navigate your trip abroad without the need for cellular service, search waypoints while on a distant hike, etc. All app functions are designed to work offline.
Respecting Privacy: The app is designed with privacy in mind - does not identify people, does not track, and does not collect personal information. Ads-free.
Simple and Polished: essential easy to use features that just work.
Saves Your Battery and Space: Doesn’t drain your battery like other navigation apps. Compact maps save precious space on your phone.
Free and Built by the Community: People like you helped build the app by adding places to OpenStreetMap, testing and giving feedback on features and contributing their development skills and money.
Open and Transparent Decision-making and Financials, Not-for-profit and Fully Open Source.
Main Features
-
Downloadable detailed maps with places which are not available with Google Maps
-
Outdoor mode with highlighted hiking trails, campsites, water sources, peaks, contour lines, etc
-
Walking paths and cycleways
-
Points of interest like restaurants, gas stations, hotels, shops, sightseeings and many more
-
Search by name or an address or by point of interest category
-
Navigation with voice announcements for walking, cycling, or driving
-
Bookmark your favorite places with a single tap
-
Offline Wikipedia articles
-
Subway transit layer and directions
-
Track recording
-
Export and import bookmarks and tracks in KML, KMZ, GPX formats
-
A dark mode to use during the night
-
Improve map data for everyone using a basic built-in editor
-
Android Auto and CarPlay support
Freedom Is Here - Discover your journey, navigate the world with privacy and community at the forefront!
Contributing
You can help by donating, contributing code, translating, or by telling others about it. To build the best maps app there is a need for software development, design, product, community development, and other areas. Reach out to us and let us know how you want to help.
If you want to build the project, check docs/INSTALL.md. If you want to help the project, see docs/CONTRIBUTING.md. You can help in many ways, the ability to code is not necessary.
Some docs might be outdated, contain broken links or old references to Organic Maps, etc. Its a work in progress and help is much appreciated!
There is a dedicated Zulip chat for active contributors: comaps.zulipchat.com
Feedback
- Star our repos on Codeberg
- Report bugs and discuss features at the issue tracker
How is development funded?
The app is free for everyone, so we rely on donations. Please donate to support the CoMaps community and see this open project thrive!
The project's financial information is completely open and transparent at our Open Collective.
License and Copyright
Licensed under the Apache License, Version 2.0. See LICENSE, NOTICE and data/copyright.html for more information.



