How to develop a weather application on android Google Map? - android

I would like to make an Android application using Google Map.
Can I show weather report on that map? If it's possible, which services has needed to get the weather report on map?
mapView = (MapView)findViewById(R.id.myMapView);
mapView.setSatellite(true);
How to show the weather report on map?

To do this you would want to look into overlays. These allow you to position any information over your map and unlock a lot of powerful features for your users. I cant give a specific example since I don't know what data source you are getting weather information from. However I would suggest using the map center as your lat/lng and using a weather API to find the current conditions. Then overlay that on the map.

Related

is it possible to add my customized indoor map using google map sdk for my android app?

I want to develop an app using rssi of ble,wifi to set position of my users in indoor environment, or something else for example when they are near specific location send theme notification.
I have to add my information and markers to google map. and my own simple map.
it is like customized map for my users in my app.
I have this place in map but I want to add walking path and more information.
right now it does not have anything. no walking path for example.no stores information and exact location.
and i want add something like these or much simpler:
Sample indoor map 1
Sample indoor map 2
as I see you mentioned indoor map is just available for certain country.
this link : are available in select locations
and again you mentioned : Display a floor plan as a ground overlay or tile overlay on your map. This will enable only users of your application to view your floor plans.
my country is not the part of your supported list (sanction). but the google maps app is still working here.
I just want using google map to be shown with my customized map and information,markers just for my users in my app not public.
is it possible ?
I place my beacon and the position of the user is set by my algorithm in map. I do not know that I'm in right way or not. where I should start?
thanks a lot.
You can use Google Maps SDK for Android to create a map in your android app. You can customize the map on this sdk like putting markers, info windows, styles etc.
At high zoom levels, the map shows floor plans for indoor spaces which are available in select locations you mentioned.
As stated in the Maps SDK for Android documentation - If floor plan data is not available for a building that you would like to highlight in your application, you can:
Add floor plans to Google Maps directly. This will make your floor plans available to all users of Google Maps.
Display a floor plan as a ground overlay or tile overlay on your map. This will enable only users of your application to view your floor plans.
Hope this helps!

Android Studio : fetching GPS coordinates of the current marker location in Google Maps

I have the following that needs to be included into an Android application, I'm hoping someone could provide some coding samples to illustrate what exactly I'm attempting to achieve here.
The Android App has a Google Maps interface on the screen.
User of the App can browse through the opened Google Map interface and select a particular location.
I want to fetch the GPS coordinates of this location.
Thanks in advance!!

how to display large number of markers on google map using andorid?

I want to display at least 4000 markers on android map but when I run the program the screen become unresponsive and the application get crashes ??
the posible solution may be thread or service but I don't know how to use these for android markers . Please help
You can use google map clustering utility, by clustering your markers, you can put a large number of markers on a map without making the map hard to read.
Please go through the official documentation of Marker Clustering
You can also configure the sample code in your system Marker Clustering - Sample Code
Also make sure that your system have a updated versions of google play services and google play application in your device is updated.

Android Google maps API

I`m creating app with GPS map. Before I start understanding how to use the API in my app I have some questions.
Can I overlay an image on the map, without that the user knowing I use Google maps API?
Can I cut and use only specific area of the map and limit user to that map, lets say show only some amusement park and show the user location, and user cant go outside my map?
I need to show on an image the location of user, without navigation, should I use Google maps API or different approach?
From the looks of it you want the Google Static Maps API.
https://developers.google.com/maps/documentation/staticmaps/
This will generate an image of a map when you give it the latitude, longitude etc. You can then use this in an ImageView.
The advantage is that you don't have to create an expensive MapView, but it will not be interactive

Offline world map with cities granularity

To teach myself how to work with maps I want to make a following application. I want to see a whole world political map with countries borders. When I press somewhere on a country I want to see the name of this country. The same things I want to do with cities.
The main requirement is that this map should be an offline map. Is it possible to find this type of library (such type of map)?
OpenStreetMap offers offline map capability. Whether OSMDroid (OpenStreetMap client library for Android) does or not, I can't say. The Google Maps add-on for Android, notably, does not allow offline maps.

Categories

Resources