Questions tagged as 'marker'

2
answers

Removing specific markers from a googlemap

So this app works like this: the user enters a journey 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. Now I need to remove markers by clicking on X....
asked by 12.01.2017 / 16:52
2
answers

Show / Hide Bookmarks as zoom Zoom on Android map

I'm developing an android app that will contain many markers on the map, and to not get too messy I would like that if you were zooming in on the markups going into Hide, I tried the following code: @Override public void onCameraChange(CameraP...
asked by 01.08.2016 / 20:22
1
answer

Is it possible to implement the onLongClickListener method in the marker on the map?

I'm developing an application that works on Google Maps API v2. I have already set the onClickListener() method to open a WindowManager to display the name of the point of interest and the address of that location. Now I want...
asked by 27.08.2015 / 01:23
1
answer

How to group Markers in Google Maps API iOS?

How can I group the markers of an area when the user zooms out the map to reduce the visual pollution of marker's on the map and show only a marker with a number inside to indicate the number of points in that region? p>     
asked by 15.02.2015 / 02:24
1
answer

Remove bookmark 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, point.longit...
asked by 21.11.2016 / 22:21
1
answer

InfoWindow is always the same in the markers all (javascript)

I'm creating the markers as follows: var contentString = '<div id="content">' + '<div id="siteNotice">' + '</div>' + '<h1 id="firstHeading" class="first...
asked by 20.05.2016 / 16:49
2
answers

Method distanceTo (Select the closest distance between markers)

This may be a difficult question, I have a method in my map application that generates a distance between the user and the marker: Thisdistanceismeasuredandupdatedsmoothlyaslongasthereisonly1markeronthemap:privateLocationmarcadorLatLong(){Lo...
asked by 19.08.2016 / 17:53
2
answers

Marker pass id to setOnInfoWindowClickListener

I'm trying to pass the value from the marker to the setOnInfoWindowClickListener, but I'm not sure what the best way for this is, can anyone help me? It even passes a value, but not the loop, that is, it is not passing the value of the marker by...
asked by 10.08.2016 / 14:28
2
answers

How 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: -16.139567, lng: -43.236152 };...
asked by 20.05.2016 / 13:09
1
answer

How to put more information in the window when clicking on a Marker?

When you open the map, in MainActivity, I display some pins on the screen (markerOptions), as shown below: WAPIService.getInstance().getPontosMapeamento(latitude, longitude, new FutureCallback<List<MapPins>>() {...
asked by 16.05.2017 / 00:30