Adding a new layer of roads to google maps - android

I'm working on a project to build a geo-location based information system for an institute and i'm supossed to use google maps API as a part for that. In this system we have to specify all possible roads and paths which are inside the institute(which are not visible as roads in google maps).
Is there any way to add new road layer (which has all features same as roads already marked on google maps)to my maps in google maps??

Related

Can I use Google map tiles with osmdroid?

I am developing an app which support Google Map tiles osmdroid. It is possible to use Google map tiles with osmdroid?
Indeed, there are restrictions in Terms of Service.
https://developers.google.com/maps/terms#10-license-restrictions
Have a look at paragraph 10.4 d,e.
No use of Content without a Google map. Unless the Maps APIs Documentation expressly permits you to do so, you will not use the Content in a Maps API Implementation without a corresponding Google map. For example, you may display Street View imagery without a corresponding Google map because the Maps APIs Documentation expressly permits this use.
No use of Content with a non-Google map. You must not use the Content in a Maps API Implementation that contains a non-Google map

Android - Using Google Maps API - Is it possible to link some sort of google navigation service to any polylines?

I am new to the Google Maps API for android, and recently encountered a problem with a project I'm making. I'm trying to make a network of polylines that represent walking paths on Google maps, but I was wondering, is it possible to get the typical google directions for navigating those polylines? For example, if you are in a park and there are several paths to get to the parking lot, would google maps be able to tell you the fastest path if the paths are represented by polylines?

Google Maps coordinates different than apple maps

I am converting an Android app which uses Google Maps and the given longitude and latitude. I want to port the app to iOS and was thinking which maps system was better, either the native from Apple or the Google SDK. Apart from that I have some POI in Google which I would like to show also on the iOS equivalent.
Question is: Are the two coordinate system equal? So if I would put them on a map they would show the same location either on MapKit or Google Maps SDK.
sounds like the China GPS shift problem to me... otherwise, both Google Maps and Apple Maps (Tom Tom) should be in WGS84.

Choosing the right Google API (Maps Vs Places)

I am fairly new to Google APIs.
My business purpose is to get a list of hotels in my area.
From the Google API list, I figured that either Google Map Engine API or Google Places API would be ideal.
Google MAP Engine API - was chosen because in the documentation it said that we can access public data.
Google Places API - was chosen because in the documentation it said that we can access places in a locality.
Could anyone help on whether I have chosen the right API? And can my business purpose be achieved using Google APIs?
As far as i know google api v3
if you need to make a web based applicaton to do anything with google map you first need to include javascript api v3.
other apis/libraries sit on top of that
like : Places library (or you say api) , drawing library , overlays , weather etc
https://developers.google.com/maps/documentation/javascript/reference
if you scroll down a bit on contents you will see all the extra libraries there (including the place library which you need) As google says: "The Places API is integrated into the Google Maps JavaScript API as a JavaScript library."
so JUST inlude google javascritp api v3 and you get everything.
https://developers.google.com/maps/documentation/javascript/examples/place-search
use example above and change the type from ['store'] to ['lodging'] to get all the hotels near the lat,lon specified.

GoogleMaps v2 route in real time?

here is now researching how best to draw a path in real time. Get coordinates and draws up earlier and so forth ..
Materials in the network is. But I can not understand the following.
There are many examples of inheritance Overlay then implement the draw () method and draw. But this we will have a one-time, and I need to constantly draw.
Received a starting position, went to finish the position has changed to its original position and so forth.
How?
Examples.
Drawing a line/path on Google Maps
How can I parse out points and draw a route on a Google Map in Android?
Thanks.
First of all from your tags you are pointing to Google Maps API V2 while the links you are
posting are for Google Maps API V1. That's said it's means that you do not have the Overlay object to work with and neither is the GeoPoint is the object you should use to show you direction positions.
In Google maps API V2 what you could do is to add/remove Polylines to show you directions.
Those Polyline will connect LatLng Points.
Now to find you directions you can use the Google Direction API.
Here is a post on how to find directions and show them on Google Map API V2:
Draw driving route between 2 GeoPoints on GoogleMap SupportMapFragment
Now from that how you will implement the your location updates and your desired destination updates it's up to you:
Something important to consider:
It's not officially allowed by Google Maps APIs Terms of Service to use Google Maps API for driving directions:
Google Maps/Google Earth APIs Terms of Service
Last updated: May 27, 2009
...
10. License Restrictions. Except as expressly permitted under the Terms, or unless you
have received prior written authorization from Google (or, as applicable, from the
provider of particular Content), Google's licenses above are subject to your adherence
to all of the restrictions below. Except as explicitly permitted in Section 7 or the
Maps APIs Documentation, you must not (nor may you permit anyone else to):
...
10.9 use the Service or Content with any products, systems, or applications for or in
connection with:
(a) real time navigation or route guidance, including but not limited to turn-by-turn
route guidance that is synchronized to the position of a user's sensor-enabled device;
and may be disabled for certain apps (somehow, at least on Android)... FromGeocode
scraping in .NET conversation:
This is not allowed by the API terms of use. You should not scrape Google Maps to
generate geocodes. We will block services that do automated queries of our servers.
Bret Taylor
Product Manager, Google Maps

Categories

Resources