Implementing other maps than Google or Mapbox - nativescript

As in title. Is it possible to implement maps other than Google Maps or Mapbox (they are expensive)? I would aim into Open Street Maps or other free solution as I would like to use it in my commercial app.

You should be able to use open street maps fine in a NativeScript application.
https://wiki.openstreetmap.org/wiki/Apple_iOS & https://wiki.openstreetmap.org/wiki/Android
You would just need to call into the OSM maps API. You can check out several blogs from nsbloggers.com as several bloggers have written posts on how to take a native component and make it into a NativeScript plugin.

Related

Here maps with Xamarin Forms

I plan to use here api to reduce my costs compared to google maps.
Is there a way to use the here map in Xamarin forms?
I have already designed the search combo suggestion to find places. Now I would like to show the places on the here map.
Thanks,
You can use android studio. The Xamarin bindings still need to be created in the SDK, as the are not on our roadmap yet.
But you can either create the bindings yourself.

Is there any way use gluon map for navigation or direction?

I'm integrating gluon maps in my application. I'm able to find location of two different users on the map. However, what I need is a direction/navigation - feature like google map in gluon mobile. Is there any to obtain it?

Atmostphere and From Menu Photos Tabs In Google Maps

I was using Google Maps on my iPhone today and noticed that if you browse the photos there are two tabs at the top called "FROM MENU" and "ATMOSPHERE". These don't seem to appear on the the desktop version or iOS Google Maps app but only for me on the iOS Chrome browser.
Is there a way to access these lists of photos? I don't see anything in the Places API. The only way I could replicate this is by using Google Cloud Vision and parsing the tags of the images but it's an expensive service to subscribe to.

Google Drive-Picker custom for mobile

I see that google drive picker have a minimum size frame, it can't be responsive on mobile web view. But I saw an extension google drive on slack and it's responsive.
Anybody know how to build google drive picker like extension on slack? Is drive picker actually able to modify to make it responsive or is it customize by Google Drive API?
Any tutorial reference is apreciate. Thanks
There is currently no specific tutorial with regard to mobile support of Picker API for mobile devices. I believe that the Slack team has written their own implementation for the interface and just makes calls to Drive REST API. So if you like the same functionality, it is expected that you also write your own.
This SO thread seems to confirm this also.

How to get current location of the user on Google maps in Windows Phone

When the user opens my Windows Phone app, he should be shown his current position - either using Google maps or Bing maps.
I tried to integrate Bing maps in my app, but the question is:
How do I locate the exact or nearby location of the user?
The map is just a control, on which you can show your position if you got it from the GeoCoordinateWatcher. You can look for good examples (e.g. http://blogs.msdn.com/b/dragoman/archive/2010/09/21/wp7-code-using-the-geolocation-api.aspx ) on the web but if you need I can help to implement it too.

Resources