Skip to main content

All Questions

0 votes
2 answers
53 views

Cannot zoom in to current location in Android Studio

public class Game_Activity extends FragmentActivity implements OnMapReadyCallback { private Location currentLocation; private FusedLocationProviderClient fusedClient; private static final ...
Jonathan Kalush's user avatar
1 vote
0 answers
149 views

getting error with Google maps API in FLutter

I enabled Google maps api, and I added the api to AndroidManifest.xml and AppDelegate.swift. And I added to AndroidManifest.xml <meta-data android:name="com.google.android.geo.API_KEY" ...
Iman Alabid's user avatar
0 votes
0 answers
160 views

Is there a way to display locations without Google Maps? - android

I want to display locations but not necessarily on a map. I just need a widget with a white background that can display Location objects. Is there anything like that available?
Bence's user avatar
  • 109
1 vote
0 answers
47 views

show a map with the current location of the user and the stations downloaded from the server

good morning everyone i have a problem with a fragment class. Specifically, I want to show the user's current location and the location of different train stations downloaded from the server. My code ...
Elly's user avatar
  • 339
0 votes
1 answer
655 views

Add toolbar and drawer menu to Android Google Maps Activity

I have created a standard Google Maps Activity in my app in Android Studio and the map works as expected. My Activity is called 'NativeMap' and then the activity starts I see a ToolBar/AppBar at the ...
Fat Monk's user avatar
  • 2,225
1 vote
2 answers
121 views

remove integrated toolbar from googleMap fragment in Android Studio (Kotlin)

I'm trying to build a simple app with GoogleMap API and I have custom tool bar. The problem: I want to remove the default toolbar from the fragment. activity .xml: <LinearLayout xmlns:android="...
Guy Sadoun's user avatar
1 vote
0 answers
2k views

Downloading Custom Map Tiles for Offline Use? (Android Google Map)

Goal Download custom tiles via URLs to an Android device and view them using Google Maps. Note that I am not trying to store/cache Google's tiles. My tiles create a heat-map for conveying data and ...
Matt N.'s user avatar
  • 63
1 vote
1 answer
173 views

Google Map not running on android

I'm trying to run google map on android application I have used Debug certificate fingerprint and my package name to get API KEY when I run the application on emulator I got this error Google Maps ...
Ahmed K Madani's user avatar
-1 votes
1 answer
1k views

can't get location in android studio

It gives me this error (double android.location.Location.getLatitude()' on a null object reference) I tried many many different solutions but all of the same, I know that fusedLocationClient....
user avatar
0 votes
1 answer
655 views

How can I create a custom InfoWindow layout/background for Google Maps on with a 'stalk'

I have managed to define and use a custom InfoWindow in my Google Maps app on Android, but I can't figure out how to create a similar custom layout to that shown on the right in these examples on ...
Fat Monk's user avatar
  • 2,225
0 votes
0 answers
79 views

Showing multiple markers on google mapfragment via an array list

I have an arraylist of latitude and longitude and I am trying to put a marker at different places using the values of my array list; but nothing is showing on map when I run the below code. for(int x =...
VN Gamer's user avatar
0 votes
1 answer
2k views

Getting error in Fetching news api from newsapi.org

I am making News App using Newsapi.org API key I have written all the code and compiled successfully but app is not fetching any data through that key. This is my MainActivity.java file package ...
YASH 18cs85's user avatar
-1 votes
1 answer
181 views

I'm having problems with the geolocation in my android app

I'm trying to create an app using android studio, i'm having a problem with geolocation specifically i'm trying to use a button to get the device location, but it doesn't work. This is the code that i'...
Alessandro kikl's user avatar
0 votes
1 answer
527 views

Why setOnMapClickListener is not working in Kotlin?

I wanna log a message when touch on Map.But when I click nothing happen. My kotlin code is below: class MainActivity : FragmentActivity(),OnMapReadyCallback,GoogleMap.OnMapClickListener{ lateinit ...
Paraboy_toxic's user avatar
1 vote
1 answer
810 views

How to get View from google maps Marker?

I want to add showcaseview to a marker on android maps!? the showcase library takes view as argument. How do i get View from Marker? I am trying this code new GuideView.Builder(this) .setTitle(&...
Haseeb Khan's user avatar

15 30 50 per page
1
2 3 4 5
8