Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to get declared possibilities #11

Open
Alexarm09 opened this issue Apr 2, 2024 · 3 comments
Open

How to get declared possibilities #11

Alexarm09 opened this issue Apr 2, 2024 · 3 comments

Comments

@Alexarm09
Copy link

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

@rtsisyk
Copy link
Member

rtsisyk commented Apr 4, 2024

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.

@rtsisyk
Copy link
Member

rtsisyk commented Apr 4, 2024

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).

@Alexarm09
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants