I want to create an app that show the route between the current location and the user input location, so I want to show two option, the first the google maps route and the another waze maps, the google maps it's ok, I got. But the waze I didn't get find any thing about it. So my ask is, Have one plugin or something that make the waze maps show inside of my ionic?
Launch Navigator is helping you to open map using multiple maps app.check out this https://github.com/dpa99c/phonegap-launch-navigator-example.
Now ionic 2 onwards support plugin to open other navigator app from ionic app. Please refer to answer at this thread.
Related
What I want to do is
Use Case - let suppose I have shared my current location with anyone on whatsapp or some share their current location on whats app with. So when I tap on that location it shows me few apps to open with Google Maps, Uber, Ola, Rapido (As i have installed these app and I am in India)
But we have created a taxi app like Uber and ola so I also want to show my app in open with. Please help me to achieve this in flutter.
Below is the screenshot I want to achieve
https://imgur.com/a/ut0dpDh
You can use receive_sharing_intent package, and look for map.google.com urls
I have an IONIC app that gets a certain location as lat, long from a service call. I want to give a functionality in my app where the user can click on a button and google maps should open with the location already marked.
I have tried
https://ionicframework.com/docs/native/launch-navigator
but its somehow when the google maps opens I cant find a way there message.
This is probably because the location does not exactly point to somewhere on a road (i guess), but even if it's not how can I get navigation to the nearest road
This Plugin Only works on actual devices and not on a browser
I'm new to Ionic, and I'd like to know if you can give me some guidance. I am using Ionic 1. I have seen tutorials, and they use Google or one signal. But they are always basic tutorials and I have many doubts. I hope to do this for both iOS and Android.
My application has some coordinates in the database, I get them with a web service. I would like that when I'm near a place I get a push notification. I am currently using the Google Maps plugin cordova-plugin-googlemaps and the geolocation plugin cordova-plugin-geolocation.
I would like you to give me advice or if you have had the experience of doing something like this.
I also want to know if doing this has any cost.
I am using Ionic 1 and the database is built in MySQL using PHP. I think the push notification is generated from the back-end?
When I tap on the notification, can it contain an iconor redirect to a specific place in my app?
In conclusion:
What is the best alternative? I was thinking of some plugin that detects in the background when my location changes and when this happens (does the cordova-plugin-geolocation do it?) verify if I'm close to a certain place and send a local notification. For example, and when I tap on this notification I can get the id of that place and redirect to a place in my app.
I think you should try geofence
repo link
example links:
https://github.com/cowbell/ionic-geofence built with Ionic framework
https://github.com/tsubik/ionic2-geofence built with Ionic 2 framework
I'm trying to build a simple android app with Ionic native. I'd like to add a search bar to my google map. I'd like users to be able to type an address (or just a city), autocomplete would help them choose and when they click on one of the offered adresses, the map would show the city.
I googled how to do it, but only found Ionic2 and java solutions. I only want to Could someone give me any pointers on how to do it?
I have been able to Display a map with corodinates using Codenameone and Netbeans, now i want to add 2 points and map a direction/route similar to google maps directions.
Does anyone have a sample code for this using the MapComponent with google maps api?
Mike
That's not supported by maps within your application, however you can launch the devices turn by turn navigation app using the Display.openNativeNavigationApp(lat,lon) API.