Most voted "marker" questions
23 questions
Sort by count of
-
3
votes2
answers2999
viewsShow/Hide Bookmarks as Zoom on Android map
I’m developing an android app that will contain many bookmarks on the map, and in order not to get too messy I wish that if I was zooming out the markups would go into Hide, I tried the following…
-
3
votes1
answer67
viewsIs it possible to implement the onLongClickListener method on the map?
I am developing an application that works on Google Maps API v2. I’ve already defined the method onClickListener() to open a WindowManager in order to display the name of the point of interest and…
-
3
votes2
answers1315
viewsHow to remove specific markers from a Googlemap
So, this app works like this: the user inserts a journey that goes from point C (collection) to point E (delivery). These points are shown on the map, in the form of markers, as in the figure below.…
-
2
votes1
answer374
viewsHow to group Markers in Google Maps iOS API?
How can I group the markers of an area when the user zooms the map, to reduce the visual pollution of Marker’s on the map and show only one Marker, with a number inside to indicate the amount of…
-
2
votes1
answer210
viewsRemove marker when adding a new one
googleMap.setOnMapClickListener(new GoogleMap.OnMapClickListener() { @Override public void onMapClick(LatLng point) { MarkerOptions marker = new MarkerOptions().position( new LatLng(point.latitude,…
-
2
votes1
answer154
viewsInfowindow is always the same in all markers(javascript)
I’m creating the markers as follows: var contentString = '<div id="content">' + '<div id="siteNotice">' + '</div>' + '<h1 id="firstHeading"…
-
1
votes0
answers123
viewsGoogle map pops when I push markers
My function to add markers to the map is as follows:: function setMarkers(map, locations) { var i for (i = 0; i < locations.length; i++) { var loan = locations[i][0] var lat = locations[i][1] var…
-
1
votes2
answers303
viewsHow to remove Markers one by one(javascript)
I have the following code to add my markers: function setParking(map) { var pointA = { lat: -16.113700, lng: -45.825545 }; var pointB = { lat: -15.284216, lng: -44.658747 }; var poinC = { lat:…
-
1
votes1
answer140
viewsHow to center my location by clicking on a Marker?
Hi! I am developing an application that works on Google Maps API v2 and I have defined the method mMap.setMyLocationEnabed(true) to obtain the user’s location. My question is: how do I, when…
-
1
votes2
answers144
viewsDistanceTo method (Select the nearest distance between markers)
This may be a difficult question, I have a method in my maps application that generates a distance between the user and the marker: this distance is measured and updated smoothly as long as there is…
-
1
votes0
answers13
viewsidentify map marker of third-party websites
Is there any method of 'tracking' the map marker (google maps) of the third party site? For example: on this website Is there any way you could track down this marker on the map? It would be a style…
-
1
votes0
answers69
viewsHow to delete Markers from Google Maps
Hi, I’m creating a map that reads the data from Google Places and returns to the nearest stores within a 50,000-meter radius. It works perfectly, however, when I search another location in the…
google-maps google-maps-api-3 marker maps maps-javascript-apiasked 5 years, 3 months ago Karoline Arias 11 -
1
votes2
answers157
viewsMarker id pass to setOnInfoWindowClickListener
I’m trying to pass the value of the Marketer to the setOnInfoWindowClickListener, but I’m not sure what is the best way to do this, can anyone help me? It even passes a value, but not the loop, IE,…
-
1
votes1
answer166
viewsHow to put more information in the window by clicking a Marker?
When opening the map, in Mainactivity, I display some pins on the screen (markerOptions), as codes below: WAPIService.getInstance().getPontosMapeamento(latitude, longitude, new…
-
1
votes0
answers69
viewsHow to make an infowindow with different content for each marker in a loop
I’m trying to make each marker in this loop have an infowindow with different content, the arrays are the same size and are being taken from the database, the problem is that by creating new…
-
0
votes1
answer380
viewsView Route Google Maps button automatically
I have the following method for creating the Marker in the App: private void createMarker() { MarkerOptions mo = new MarkerOptions(); LatLng latLng = new LatLng(mObjetoResumo.getLatitude(),…
-
0
votes1
answer360
viewsMarker Google Maps pulls only 1 address between several
I’m using the Google Maps API to make a map with markers on top of the address I report and also an auto complete on input. The problem is that if I put for example my home address in the input and…
-
0
votes1
answer38
viewsCanvas: Density Pixels to draw images
Good afternoon ! I’m creating a custom Marker for the map: final Bitmap markerIcon = Bitmap.createBitmap(275, 275, Bitmap.Config.ARGB_8888); final Paint paint = new Paint(); final Canvas canvas =…
-
0
votes0
answers208
viewsProblem - Add Google Maps bookmarks from JSON
I have a problem that is the following: I have to make a call from a JSON that contains latitude and longitude of several locations and then add them to a Google Maps map as markers. I can upload…
-
0
votes1
answer223
viewsMarkerclusterer on Map with PHP echo XML
Hello, I am developing a map looking at the google api and the first step is completed, bring all establishments within the map, to be able to do this I looked at the google reference How to use…
-
0
votes1
answer422
viewsChanging position of a Marker
I have a Mapsactivity class, where it starts at a fixed point set on the map. I’m calling a Thread, where the Map is only fully loaded, when the return is true. (I will do a search in a comic book…
-
0
votes1
answer211
viewsRun image from google maps not working
Well I need to run the icon image according to the header that comes for me. I’m trying to make several but none of them worked, let’s go to the codes. FIRST ATTEMPT [PATH OF THE ICON] this.marker =…
-
0
votes1
answer68
viewsReplace google maps maker A and B in the "Place autocomplete and Directions" example
I’m studying the google maps api, and I’m trying to personalize this example from google itself, but I’ve already read the documentation on Google marketing but without success when trying to…