Skip to main content

Questions tagged [google-maps-markers]

Markers identify locations on the map. By default, they use a standard icon, though you can set a custom icon. Markers are designed to be interactive and are often used within event listeners to bring up info windows.

google-maps-markers
642 votes
7 answers
1.9m views

pyplot scatter plot marker size

In the pyplot document for scatter plot: matplotlib.pyplot.scatter(x, y, s=20, c='b', marker='o', cmap=None, norm=None, vmin=None, vmax=None, alpha=None, linewidths=None, ...
LWZ's user avatar
  • 12k
192 votes
4 answers
204k views

How to create a custom-shaped bitmap marker with Android map API v2 [duplicate]

I am developing an Android Application where I'm using Google Map API v2. I need to show the user location on a map with custom markers. Each marker will show the picture of the user from an URL. The ...
Jitendra Nath's user avatar
83 votes
4 answers
106k views

Draw path between two points using Google Maps Android API v2

Google changed its map API for Android and introduced API V2. The previous codes for drawing path are not working with API V2. I have managed to draw a path with API V2. I had searched a lot for the ...
Zeeshan Mirza's user avatar
6 votes
2 answers
11k views

Google Maps API - Getting closest points to zipcode

I'm in the process of adding a map to a website using Google Maps API v3 and javascript. I have a list of addresses and have successfully plotted them on the map. When the user types in a zip code, ...
JCSickmeyer's user avatar
57 votes
5 answers
59k views

Large dataset of markers or dots in Leaflet [closed]

I want to render about 10.000 markers or dots on a leaflet map. I already did it the regular way and I found it is way slower compared to Google Maps. I'm looking for a way to render multiple elements ...
AFP_555's user avatar
  • 2,518
22 votes
6 answers
70k views

How to show multiple markers on MapFragment in Google Map API v2?

I am using Google Map API v2 in my application to show Maps. I have followed all the steps, that is to be followed to enable Google Map in my application. public class PinLocationOnMapView extends ...
Shrikant Ballal's user avatar
791 votes
13 answers
1.4m views

Selecting last element in JavaScript array [duplicate]

I'm making an application that updates a user's location and path in real time and displays this on a Google Map. I have functionality that allows multiple users to be tracked at the same time using ...
mkyong's user avatar
  • 12.8k
35 votes
2 answers
42k views

How to get screen coordinates from marker in google maps v2 android

I have a small android problem (google maps v2 api) This is my code: GoogleMaps mMap; Marker marker = mMap.addMarker(new MarkerOptions().position(new LatLng(20, 20))); I am trying to find a way to ...
mangotasche's user avatar
2 votes
2 answers
2k views

How do I use the markers parameter of a sympy plot?

The sympy plot command has a markers parameter: markers : A list of dictionaries specifying the type the markers required. The keys in the dictionary should be equivalent to the arguments of the ...
Jörg J. Buchholz's user avatar
188 votes
7 answers
308k views

Resize Google Maps marker icon image

When I load an image into the icon property of a marker it displays with its original size, which is a lot bigger than it should be. I want to resize to the standard to a smaller size. What is the ...
Golan_trevize's user avatar
29 votes
1 answer
19k views

Marker mouse click event in R leaflet for shiny

How can I receive a mouse click event on a marker in a leaflet map in R? I'm using the RStudio/leaflet and running through Shiny. I'd like to get the value of a marker (e.g., ID) and use that to ...
RCG's user avatar
  • 291
59 votes
2 answers
87k views

How to place multiple evenly-spaced arrowheads along an SVG line?

I am new to SVG and I am trying to draw a straight line between two points. I managed so far by using this command: <line x1="50" y1="50" x2="150" y2="150" style="stroke:rgb(255,255,0); stroke-...
Osprey's user avatar
  • 1,543
52 votes
9 answers
62k views

Using Icon Fonts as Markers in Google Maps V3

I was wondering whether it is possible to use icon font icons (e.g. Font Awesome) as markers in Google Maps V3 to replace the default marker. To show/insert them in a HTML or PHP document the code for ...
gfaw's user avatar
  • 715
46 votes
6 answers
84k views

Is it possible to write custom text on Google Maps API v3?

Is it possible to write a custom text on Google Maps API v3 next to the marker, or I can use only the info window to do that?
user198003's user avatar
  • 11.1k
36 votes
3 answers
52k views

Change Google map marker orientation according path direction

I'd like to know if it possible to change the marker orientation according the path drawn on the map. Here is a example: As you can see the marker is a car (with front bumper and tail lights). I'd ...
maxwell2022's user avatar
  • 2,847

15 30 50 per page
1
2 3 4 5
64