Can I use react-native for developing maps app - android

I have a question regarding possibility to uses react-native library for developing the app (ios/android) which will able to support to works with google/apple maps [put points, measure distance, etc]
So, the main question is react-native good choice for developing the app with this functionality or instead of this I should use native lang such as (swift/java) ? :)

Yes, you can use react-native for developing maps app. I am currently developing a service provider app that uses google maps and I am using all features that you have mentioned above and many more i-e direction api, calculating EAT, drawing routes etc. Every thing works fine with react-native. You can follow this article Integrating Google Maps into React Native App on Android to integrate maps feature in you app.
I am using the following libraries:
react-native-google-places
react-native-maps
react-native-maps-directions

Related

Can you use Apple's mapkit for a hybrid application?

This web application is for Web and Android. I looked into others like Google, but they have limits.
If you can use it can anyone point me to the documentation for it.
Thanks.
2019 Update:
Apple now has a first-party JavaScript framework for using Apple Maps on the web: MapKit JS documentation.
Original Answer:
There is no officially supported way to use Apple Maps or MapKit on any platform but except iOS and macOS.
That said, here is the JS source for implementing Apple Maps on the web. Some people have been able to create working map views using it (see fruitymaps.com)
If you with a hybrid app means one that is built with a html/js-based framework like Ionic or a hybrid framework like Xamarin or React Native, which will all run in a native app and note solely in a browser, you could absolutely create a plugin that lets you use native map views in the hybrid view.
However, you'd probably have to do some heavy work to get the plugin to cover a basic set of features that it would then translate into equivalent MKMapView and Google Maps operations. Also, if you use a html/js-based framework like Ionic, you would have to present the map in a native view.
If you are just out for something better looking than the Google Maps web map, you could have a look at MapBox (https://www.mapbox.com/). They have a bunch of different styles and ways to incorporate their maps into apps of various types.

How can I use native iOS/Android maps in Ionic Application?

I'm developing an Ionic app that allows the user to select a point of interest and edit the data. To do so, I need to display a map. I've tried using Google Maps, Leaflet, Bing Maps and they work fine (some are a little bit laggy) but a co-worker warned me that the performance would get worse if I started showing all the markers. (I know that I can use plugins to cluster, but thats not the point).
My supervisor said that it would be better if I used native mobile maps. When the app is launched in Android, the map shown to the user would be the android native map and the same thing for iOS.
Can someone explain if this is even possible? I googled it already but I couldn't find any good alternatives.
Thanks!
I think a way to achieve this is to detect the platform and use specific code for each :
PhoneGap - Detect device type in phonegap
(Ionic is based on phonegap/cordova)
You can also develop a cordova plugin who use differents API from each platform. There is already a cordova plugin for maps, but who only works on ios and android, and only with google map :
https://github.com/mapsplugin/cordova-plugin-googlemaps
Hope this help

Google Maps API v3 navigation (like Google maps for android)

In our app we do use the Google Maps API a lot. The app (web) is build in Jquery, CSS, HTML.
The app runs in the browser.
But we like to add the navigation functions like the Android Google Maps native in our webapp.
Is that possible with the Google Maps API or do we need to convert to native to realise
something like that?
I just wrote a long winded answer introducing the Directions service, luckily I re-read the question before answering...
No there is no Javascript equivalent of the android navigation services unless I'm very much mistaken. I imagine it would be possible to create a custom solution (I presume you want the route to update as you travel based on your gps coords etc) leveraging the route-parts returned from a directions request but this would be none trivial.
I would have thought the simplest solution would be to pass the start and end points of your route to the native maps app, however I am no expert at Android development (or interaction between a web app and a phone).

Developing inside vs outside of Google SDK

Can anyone explain to me what is meant by:
"...the free use of the Google Maps API for development of a mobile application is permitted if the application is developed using the Google SDK...
If the application is developed outside of the SDK and is publicly available for free to download from app stores..."
What does it mean to develop outside and inside the SDK? If I am using Google Maps SDK to develop a GPS based app for navigation etc. I assume that constitute as using the Google SDK
But I dont know what outside the SDK means?
I believe this means that if you want to use google maps you have to used their SDK and not use a web interface i.e a UIWebView (It is possible to use google maps in your app using the web(maps.google.com) and using the various web APIs etc). I imagine this is because they don't want slow, badly running maps included in apps, which is what you could get if people try to use their maps through the web interface.
By using their SDK, the programmer no interaction with the web APIs, as this is handled by their SDK which is optimised for mobile development.

Is it possible Integrate nokia maps in my Android app?

I have to develop an Android app using the Here/Nokia maps here.com,
In Googlemap/Geocoder class from Android native ressources, I load a map, put how many markers I want, I can draw routes, iterate with the map, and so on.
Now my question is, Is this possible in Nokia maps?
Thanks.
there are two 'android' offering for HERE amps which are available. The one used with Amazon: https://developer.amazon.com/sdk/maps.html
And the one used with Nokia X platform: http://developer.nokia.com/resources/library/nokia-x/here-maps.html
in general all of the functionality you are asking is available with both offerings. However you can not use the HERE maps in other than the specified environments, i.e. apps made for Nokia X using HERE maps, can not use the Maps parts in other platforms.
You cannot create a Native Android app, since the Android SDK is not yet available. From the website:
HERE SDK for Android
The HERE SDK for Android is an offer for OEM customers only.
Developers can access the HERE platform functionalities through OEMs
when they become available.
You can, however, create a web-based app using the javaScript API.
Yes. There is an HERE maps SDK available for both android and ios , download it from https://developer.here.com .

Categories

Resources