mapsme / api-android Goto Github PK
View Code? Open in Web Editor NEWOffline Maps API for Android
Offline Maps API for Android
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)
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.
How to implement offline map using android studio without open MAPS.ME application.
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.
How to integrate maps.me in my android app without navigate mapsme app ?
please provide any sdk or library for integrating mapsme.
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
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
It is possible to open route navigation from the current location to an address?
in Waze
and GoogleMaps
we can do it this way:
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)
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
?
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.
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.
From what repository I must get this library? or compiled .jar
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
How to implement offline map without open MAPS.ME application.
I need offline routing in my application.
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...
The Links described on https://github.com/mapsme/api-android/wiki/Deeplinks no longer work:
Examples documented in the wiki:
The App will be opened but without source or destination input.
If you open such links directly in the browser, a Not Found (#404) is returned. Example:
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
How to load map with Mapswith me in my android app using this library ?
В каком файле хранятся данные о словах в карточках для объектов? Для карточки здания building=garages в русской версии сейчас стоит имя "гараж", хотя по смыслу это тег именно для здания со множеством гаражей. Итого я бы хотел посмотреть что сейчас для всех объектов, возможно найду другие ошибки
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.
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.
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.
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.
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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.