All Questions
Tagged with google-maps-android-api-2 infowindow
48
questions
2
votes
0
answers
237
views
Why don't Cardview rounded corners work in a Google Maps Infowindow on Android?
My Android app has a custom InfoWindow layout for Google Maps.
<?xml version="1.0" encoding="utf-8"?>
<androidx.cardview.widget.CardView
xmlns:android="http://...
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 ...
1
vote
0
answers
98
views
custom info window showing duplicate data from json android studio
I'm really new to android programming.
Can i ask a question, why my data is all same. I'm getting data from json and put it in custom info window, why it's all duplicate but the markers are not.
I'm ...
0
votes
1
answer
128
views
How to move GoogleMap camera to display completly a long marker InfoWindow when opened?
When using GoogleMap.InfoWindowAdapter to display a custom dialog, if the dialog has too much text, when it's openned, the map doesn't leave to see all the dialog text.
Is there an automatic way to ...
0
votes
1
answer
489
views
How to get the current data of the marker that is in array list?
I am currently working with the google map. I already show the markers and the title and snippet of the marker.
Now my problem is when I click the info window it will be redirected to a new activity ...
0
votes
1
answer
110
views
Marker CustomInfoWindow Imageview overrides all other images
I'm trying to do a map with some markers, which should have an infolabel with an image and textview. I already solved that the text of every infolabel is different but i'm struggling with the ...
1
vote
2
answers
1k
views
Sending data through InfoWindow to another activity Android
I have a for loop which populate markers on my map. The for loop also contains an OnInfoWindowClickListener so that an activity opens when clicking of the InfoWindow. This activity should display ...
1
vote
1
answer
637
views
change image in the info window of google maps marker based on variable
For a project i want to use a CSV file to add markers. The content in the info window is based on a CSV file like this:
x_coordinate y_coordinate title description
52....
0
votes
1
answer
937
views
how to change textview's text in info window, from list of Strings
When my MapActivity opens, I request some info from my Firebase database that contains these data for certain hotel and after that it creates markers with loaded data.. I tried with snippet, but if my ...
1
vote
0
answers
480
views
Default google maps marker InfoWindow background resource
I want to create InfoWindow with custom margins. It's possible when I override getInfoWindow() from InfoWindowAdapter, but I have to maintain tooltip background by myself. I'd like to use original, ...
1
vote
1
answer
797
views
Dialog Fragment for each Map Marker in Google Maps?
I have a dialog fragment that is opened through an InfoWindowClickListener in google maps. I need a unique dialog fragment for each marker on the map. The dialog fragments are created as follows, for ...
1
vote
1
answer
1k
views
How to make Android interactive InfoWindow over Google Maps API2 Transparent
I implemented perfect answer of chose007 to make InfoWindow over Google Maps API2 clickable in my app. The only problem is, that I would like to make InfoWindow transparent (to make it bubble shaped). ...
4
votes
2
answers
4k
views
How to pass more than just title and snippet to getInfoContents in custom InfoWindow for Android
I have a InfoWindowAdapter class in my Android app that refers to an xml layout containing three TextViews. I add a new marker using the code below within an addMarker() method:
mapView....
1
vote
1
answer
288
views
Custom InfoWindow for Android google maps issue
I've created a custom infoWindowAdapter class in my Android app that uses google maps.The class uses GetInfoContents and an xml file to create the contents of the infoWindow The xml contains an ...
0
votes
1
answer
804
views
Rendering a RatingBar within an InfoWindow on Lollipop
I have a RatingBar in a layout that is rendered inside an InfoWindow.
On KitKat and below, it renders fine.
On Lollipop, the InfoWindow renders with an empty space for the RatingBar:
Layout:
<...