How to increase performance on google map for Android - android

I wonder if we can get the same behavior and performance in own Andorid app with Google map? If you are using SDK (native development) the performance is diff to what you can experience while using last Google map from Android market. Are there any tips on it? I really like this smooth maps display while scroll up\down and labeling of street names, etc.

No you cannot get same performance while displaying maps in your own application. There are a couple of reasons for it:
Firstly, the code that google uses is different and they are google if you know what I mean.
Your application uses google play services while google maps by google doesnot.

I wonder if we can get the same behavior and performance in own Andorid app with Google map?
Probably not. The Google Maps application does not use the same code base as does the Google Maps add-on for Android.
#Urban's point is very valid -- the more stuff you do in overlays, the slower things will be. An ItemizedOverlay with 100+ points, for example, will definitely be felt.
But if you create an app using the Google Maps add-on without any overlays, the experience you see there is as fast as you are going to get. Overlays of any sort will only make things slower.

Related

Is using google maps for android SDK in China working? Any Solution for android?

Is using google maps for android SDK in China working?
I've been trying by VPN and it's not working.
Is there some SDK setting I'm missing?
Like the javascript api allows change the url to
http://maps.google.cn/
If not, can anyone give me some suggestion?
I've been trying the Skobbler OSM Maps, the speed of randomly loading when loading the world wide map area is so slow.
Does it works by using the webview (Google map javascript API) ?
Our app need to show the global countries map, including China area.
Many Thanks
you can change the google maps to GaoDe (amap).
First because Google maps need the googles services, which are not available on Chinese phones.
Then because if there is a way with JavaScript to get to the Chinese google map ( see the following link: developers.google.com/maps/faq?hl=en#china_ws_access ), for android with java it is still not reliable.

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?

Application Development with Offline Maps

Is it possible to develop an application for Android and iOS that uses offline maps with routes and use GPS to navigate on them? (On foot and vehicle)
I found another answers but the question that is still in my head is, is it possible to user Google Maps or Apple Maps for this?
I also tried to search for a good 3rd party service that gives me what i want, but still nothing.
Regards,Elkas
You can't use Google Map for offline usage. It's against TOS (Terms Of Service)
(any caching or downloading of google maps is against Google Map TOS)
and is illegal.
You can use OpenStreetMaps(OSM) and a map serving service like Mapbox. OSM uses open mapping data that has been provided by users and other contributors and is free to use. With mapbox you can host your maps online but you can also store maps offline. With Mapbox Studio you can custom design your maps to create the kinds of visual hierarchy, affordances, and brand standards that your app needs.
Check out these links for more details:
http://mapbox.com and
http://openstreetmap.org
Also Mapbox uses a pretty straight forward API and lots of documentation. Implementation into IOS is also very easy and you can almost just copy/paste to Xcode (almost).

3D maps library for android

Does anybody know any free of charge android maps library that has 3D capabilities?
I know for sure that google maps doesn't support 3d when using the sdk library.
The provider is not a problem. I'm not married with google maps, nor any other.
The following are apps that can be used as example of what i'm trying to accomplish.
Waze
https://play.google.com/store/apps/details?id=com.waze
Route 66
https://play.google.com/store/apps/details?id=com.route66.maps5
Example
I want to mention this solution:
http://www.eegeo.com
It is crossplatform service with 3D modelling, routes tracking, traffic visualizing and a lot of other cool stuff.
I guess this question becomes obsolete now that we have the Google Maps Api V2 is out in the wild. Thanks everyone for taking your time to answer it.
Here's a quick release changelog
The API is now distributed as part of the Google Play services SDK, which you can download with the Android SDK Manager. To learn how to install the package, see Installing the Maps API SDK.
Maps are now encapsulated in the MapFragment class, an extension of Android's Fragment class. Now you can add a map as a piece of a larger Activity. With a MapFragment object, you can show a map by itself on smaller screens, such as mobile phones, or as a part of a more complex UI on larger-screen devices, such as tablets.
Because maps are encapsulated in the MapFragment class, you can implement them by extending the Android standard Activity class, rather than extending the MapActivity used in version 1.
The Maps API now uses vector tiles. Their data representation is smaller, so maps appear in your apps faster, and use less bandwidth.
Caching is improved, so users will typically see a map without empty areas.
Maps are now 3D. By moving the user's viewpoint, you can show the map with perspective.
Here's the new API documentation
Here's the Android Developers blog spot announcing the new API
And here's a screenshot of one of the new API early adopters Trulia
If you are looking for a 3D globe visualisation, you can use Gesium. Here is Hello World example.
We do provide one: Nutiteq 3D Maps SDK. This is SDK, not an application.

Caching maps within an android app

I am looking to create an app where users can download a map to their phone before they go to a specific place (in case there is no 3G signal there) and then use GPS to take specific routes that will have been marked on the maps.
I have noticed GoogleMaps 5 has just been released that enables caching.
Is this something I would be able to use or can you not incorporate google maps 5 into another app.
I am very new to Android and am not quite sure what can and can't be done as yet so 'm sorry if
this is a really silly question?
Thanks for any help!
Bex
Is this something I would be able to use or can you not incorporate google maps 5 into another app.
Google Maps (the app) does not use the same Google Maps (the SDK add-on) that the rest of us use. Hence, right now, offline caching is not available to us.
You might consider looking at OpenStreetMap, which has some Android integration and supports offline maps.

Categories

Resources