All Questions
Tagged with google-maps-markers java
389
questions
-2
votes
0
answers
29
views
Showing multiple markers wher provide only one marker coordinates
`Showing 2 marker one with exact coordinates given and one marker at another location where coordinates may be of previous location not specified in current condition.The marker moves according to the ...
0
votes
0
answers
47
views
When Click on marker in Google Map, App crashes
public class MainActivity extends FragmentActivity implements OnMapReadyCallback,
GoogleApiClient.OnConnectionFailedListener {
//google map object
private GoogleMap mMap;
@...
0
votes
0
answers
98
views
I am facing an issue while achieving collision behavior in android it was working few days ago
I am using 'com.google.android.gms:play-services-maps:18.2.0'
and using advance marker for achieving collision behavior
this is my code block
int collisionBehavior = AdvancedMarkerOptions....
0
votes
1
answer
43
views
Putting icons on top of another image at a relative position like markers
I want to show a large image (like a map) and on top if it put icons at different locations of interest.
I am trying to create something similar to how markers work at Google Maps.
All in all my ...
1
vote
1
answer
23
views
How can I remove the current marker if another place is selected?
I have a autocomplete search fragment and a marker is added when there is a selected place, now what I want to do is to make the first marker to be remove if another place is selected. Tried doing ...
0
votes
1
answer
86
views
Table is empty when trying to access the database using RoomDB in Android Studio
getAllLandmarks() returns nothing because table is empty as shown in database inspector.
I am trying to set up roomDB in Android Studio and creates googlemap marker by extracting the lang and ...
0
votes
1
answer
96
views
Using Unfolding Maps library on Processing editor - Red Marker will not appear on the map
How can I make a very basic red marker (i.e., Red Ellipse) appear on the map (which integrates unfolding library) at the provided location (coordinates) for the shelter in this case.
Here's the code ...
0
votes
0
answers
118
views
How can I fix 'Invalid key' error & retrieve JSON data of specific places from Maps API?
So I am trying to use the Places API for an android app. I've used the correct URL to query for the JSON results of places however when I run the app I receive this error in my logcat: data: { "...
0
votes
1
answer
55
views
Making Map Markers Clickable Android Java
I'm working on creating an app which contains various markers on a map. These markers should be clickable, and when clicked a new activity should be started. I can't for the life of me figure out why ...
-1
votes
1
answer
88
views
my app is crashing when there is no internet and i want my markers or my map to refresh each second
i made a googlemap app where my markers are displyed.
the problem is when there no internet, the app is crashing. The code under onResume does not solve the problem.
also i want to refresh the map or ...
0
votes
1
answer
332
views
Icon on top of another icon in Android
I'm coding an android app (using java) maps-like and I use two kind of markers from Google Maps SKD: one for my current position, the other one indicates me places of intereset.
I set two different ...
0
votes
0
answers
247
views
App getting hang and crash while loading thousands of marker, Please help to get this fix
After updating google map to 18.0.2, map screen getting hanged and crash with ANR while loading thousands of marker cluster on map.
Basically, What's happening is, an api is get call every time when ...
1
vote
0
answers
747
views
Google Maps android - title doesn't appear on markers
I am building an app using google maps, that will display information/photos about points of interest when a user clicks on a marker. The main activity has two fragments, both are visible (the screen ...
0
votes
1
answer
63
views
How to count markers within the user radius using geofire query in android?
Here is my code I add marker to the location within the radius
GeoQuery geoQuery = geoFire.queryAtLocation( new GeoLocation( latitude, longitude ), 1 );
HashMap<String, Marker> markers = new ...
0
votes
0
answers
166
views
Set marker to place id in Android-iOS Google Maps SDK
I use google maps in my apps for Android-iOS-WebJS.
In web version I can load the map inside an iframe using only the place id:
<iframe
width="100%"
height="199px"
style=...