Code Monkey home page Code Monkey logo

api-android's People

Contributors

bananeweizen avatar biodranik avatar kundzi avatar kw217 avatar theel0ja avatar vng avatar zverik avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

api-android's Issues

Multiple points with same coordinates

Calling showPointsOnMap() with multiple points that have the same coordinates results in only one indicator spot shown on the map and only one point name in the information box. There seems to be no way to tell that there are several points at that spot.

It would be nice if a list of point names was shown in the information box when distinct points can't be shown on the map.

Allow to display ways on maps.

I want to use maps in my application. But i need to draw polyline over map
images-1
to display trajectory like this:
images

propose scheme:
Intent i; // Intent.ACTION_VIEW
//Waypoints
double[] lat = {33.4,8.3,22.2};
double [] lng = {33.4,8.3,22.3};
i.putExtra("lat", lat);
i.putExtra("lng", lng);
startActivity(i);

Перевод

В каком файле хранятся данные о словах в карточках для объектов? Для карточки здания building=garages в русской версии сейчас стоит имя "гараж", хотя по смыслу это тег именно для здания со множеством гаражей. Итого я бы хотел посмотреть что сейчас для всех объектов, возможно найду другие ошибки

Start navigation using an address from other apps

It is possible to open route navigation from the current location to an address?

in Waze and GoogleMaps we can do it this way:

GoogleMaps

val uri = Uri.parse("google.navigation:q=Kruisstraat 77, Einhoven")
val intent = Intent(Intent.ACTION_VIEW, uri)
intent.setPackage("com.google.android.apps.maps")
startActivity(intent)

Waze

val uri = Uri.parse("https://waze.com/ul?q=Kruisstraat 77, Einhoven&navigate=yes")
val intent = Intent(Intent.ACTION_VIEW, uri)
intent.setPackage("com.waze")
startActivity(intent)

Is there a way to achieve this in Maps.me?

where is "more info" button ?

Please help me guys, i read this line :

MapsWithMe will send back to your application when user press "More Info" button

I already install Maps.Me application from google play store, but when i open it, and select some point, i can't find More Info button.

Anybody got the same issue, or is it just me.

Thank You

Improve display of locations

It would be nice if there was a way to choose the image/color that is used for the location. That way, we could chose different colors to indicate different types of objects.

Installation

I have problems to add api-android into my app.

You said:

When your are done you find two folders: lib and sample-app-capitals. First one is a library project that you should add to your project.

But could you include a little more of detail? Thanks.

i can't see my point

i did run this function
MapsWithMeApi.showPointOnMap(........)

no error and then my app run success.

but i can see my points in map.

my app is created by android

sample program has same problem.

plz check.

API deeplinks no longer work

Problem with app detection

We recently included the mapswithme api in our geocaching application c:geo, and got the following error report from a user (see cgeo/cgeo#3804):
(citation)
In the latest release the option to navigate using "MapsWithMe" has been added.

On my device, selecting MapsWithMe from the navigate menu pops-up an option to install MapsWithMe even though it's already installed on my system. Clicking on one of those options takes me to the GooglePlayStore page for MapsWithMe.

I suspect the problem is because I didn't purchase MapsWithMe from GooglePlayStore, I bought it from AndroidPit on a special offer.

There is a workaround: if I select "Ext. map" from the Navigate menu, one of the options is MapsWithMe and if I select it there it works fine.

Sorry, I bought it from Amazon, not AndroidPIt.
(citation end)

Route to point API call

To integrate with maps.me as navigation application, we need a call that will build a route to a given location, and go back to our application as soon as this location is reached.

How can I get location that is selected by user?

When I want to show the map on my activity, immediately maps.me application is opened,and how can I get information about user's selected location/point ?

I want to get that "clicked location" information on my activity...

Maps.me version 14.071363 released on 9th July is not launching from another android app using current git hub implementation

We have integrated maps.me app into our Android app for showing points on map.
But with a new release this July it stopped working as Maps. me changed maps.me/get URL is changed, we have changed the URL to download the apk from the google play store but now we are facing issues with the current implementation.
New apk has removed many classes including intent which was responsible for creating intent and showing points on the map and it always returns null.
As maps.me removed request "com.mapswithme.maps.api.request" I see maps.me added file provider to access the app from another android app but no implementation is yet updated on git hub.
So, if anyone has a solution to this fixes the issue, and supports the new app, help is highly appreciated.

Thanks

This repository is not maintained

Just as a warning for everyone coming along: This repository seems to be abandoned by mapsme. Their Android API has changed at least 2 times in incompatible ways when the maps.me app was updated. So don't rely on what you find here.

Point title on map

There is an issue when showing a point on map where the title I set via the API is not displayed but it displays another title instead.

MAPS.ME API URI not working in Android

Hello guys,

I'm calling the API in IOS with the following URL and all works fine:
'mapswithme://map?v=1&ll=' + lat + ',' + long;

Regarding android i cant seem to understand why it does not open.
'mapswithme://map?v=1&ll=' + lat + ',' + long; // first attempted failed
com.mapswithme.maps.pro://map?v=1&ll=' + lat + ',' + long; // second attempted failed
com.mapswithme.api://map?v=1&ll=' + lat + ',' + long; // third attempted failed

can you clarify this? what should be the specific URL for Android.

Regards

Pass info about traffic accidents, closed roads, jams etc to Maps.ME?

Hi, I would like to feed traffic information into Maps.ME so the routing could avoid bad roads. Would it be possible to add?

I am relatively lucky, my local source apparently gives me lots of TMC Information ("tmcLocationFrom":12834,"tmcLocationTo":31768,"tmcPath":null,debugInfoTMC":"923) as well as coordinates (which I found imprecise) and plenty of other info.

Port to Sailfish OS

Hello !
Do you plan to build a port to Sailfish OS ? It lakes of a good offline GPS. I know that there is Android support on Sailfish OS, but it's only with less than 10 devices, and the performances are bad.
Regards

EDIT : oups, didn't see I wasn't in the good repository. I was looking for the one about the app ... sorry for this useless issu here.

MapsMe android app not reacted to intent router parameter

In my task, i want to start maps me app with passing router parameter, but app is opening with last selection route type.
In my observations, i look what it's happen when i not pass lat_from anf lng_from parameters to android intent.
If my intent has lat_from anf lng_from parameters app has react to router paramter and open it with nedded route type.

    private const val PACKAGE = "com.mapswithme.maps.pro"
    private val INTENT = Intent(ACTION)
        .setPackage(PACKAGE)
    private const val VEHICLE = "vehicle"
    private const val PEDESTRIAN = "pedestrian"
    private const val PUBLIC_TRANSPORT = "transit"

    override fun intent(lat: Double, lng: Double, deliveryMethodType: RouteType): Intent {
        val mode = when(deliveryMethodType) {
            WALK -> PEDESTRIAN
            TRANSIT -> PUBLIC_TRANSPORT
            AUTO -> VEHICLE
        }


        return INTENT.apply {
            putExtra(LAT_TO, lat)
            putExtra(LNG_TO, lng)
            putExtra("router", mode);
        }
    }```

This is my code to build intent for starActivity method

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.