organicmaps/api-android

How to get declared possibilities

Opened this issue · 3 comments

REAME describes possibilities of Organic Maps Android API:
• Come back to the client application after selecting specific point on the map, by sending PendingIntent with point data when user asks for more information by pressing "More Info" button in Organic Maps app
• Map screen branding : your application's icon and name (or custom title) will be placed at the top.
But current version of library doesn’t have them.
Sample application (demo) also doesn’t have them.
The current version of function showPointsOnMap doesn’t have pendingIntent variable, also points with ID and without them are displayed identically on the map. There is no any “More Info” button when selecting any point (with ID). Also string variable name in showPointsOnMap function not shown anywhere on the map
How to get the last version of library that has possibilities described in README

It looks like that README.md is not up to date. We don't have any PendingIntent code here anymore. README.md will be updated. Generally, the entire library is just a thin wrapper on the top if system's Intents. I recommend using this repository as an example rather than as a library. Just copy relevant parts of https://github.com/organicmaps/api-android/tree/master/lib/src/main/java/app/organicmaps/api into your app and use.

Basically, all this API just incpasulates https://omaps.app/test.html. Please feel free to use URLs from that page directly, with or without wrappers in this repository. I will try to actualize documentation in this repository and for API in general (see organicmaps/organicmaps.github.io#227).

But there are no deep links with activation of "More Info" button and callback in ponits. How to activate such possibility of point?