May I know how to add numbering label to google map marker using google map api? Just add label, not trying to change the icon. Thank you.
相关问题
- How do you change the color of the dotted line on
- How do you change the color of the dotted line on
- draw polylines with different colors on v2 maps
- Add HTML class/ID to Google Maps Marker (API V3)
- Cannot resolve method “getMapAsync”
相关文章
- Updating a map marker in android
- Avoiding “Sorry, we have no imagery here” with Goo
- Custom Marker performance iOS, crash with result “
- Google Map Gradient Polylines for Android?
- Angular 6 - @types/googlemaps/index.d.ts' is n
- Google Maps - Get Polygon border of zones/neighbor
- Google Map Marker Clickable Area
- getSupportFragmentManager().findFragmentById retur
Check out the example at http://www.geocodezip.com/basic8j.asp?filename=example_number.xml (for V2 of the API). There was also a question here about something similar - How can I create numbered map markers in Google Maps V3?.
If you don't want to use custom icons for each marker then I suggest looking into creating a label class with the OverlayView and then binding the position to the marker.
Or you could look at using something like: http://github.com/nmccready/google-maps-utility-library-v3-infobox
I think a better solution is to use a infoWindow. Something like this: