Результаты поиска по запросу "google maps api marker change image":

  1. Markers | Google Maps Android API | Google Developers

    Markers indicate single locations on the map. You can customize your markers by changing the default color, or replacing the marker icon with a custom image. Info windows can provide additional context to a marker. Code samples.


  2. Changes the icon of Marker - Google Maps Playground

    • Front's image used from Marker.icon property, backside's image used from Marker.shadow property. You can change these properties, when you make a instance with MarkerOptions or Marker.setIcon()/Marker.setShadow(), then the marker's
    • Google Maps API Programming Guide.


  3. Changing markers icons with Google Maps API | NetManiac

    • Almost year ago I’ve wrote short info about how to change icons in markers placed already on map with Google Maps API.
    • Starting from then GMarker got setImage method, for changing images on already placed on map markers.


  4. Google Static Maps Developer Guide | Google Static Maps API | Google Developers

    • You can additionally label your markers using alphanumeric characters. A Google Static Maps API image is embedded within an <img> tag's src attribute, or its equivalent in other programming languages.
    • This value differs from area to area and can change over time as the data evolves.


  5. Customizing a Google Map: Custom Markers | Google Maps JavaScript API | Google Developers

    • Street View Image API. Products. Google Maps APIs.
    • Customizing a map marker. The image below displays a Google maps marker with the default red icon. You can change this icon to an image of your choice.


  6. Google Maps API 3 - Custom marker color for default (dot) marker - Stack Overflow

    • I even found it to be a bit more straight forward. An example could look like this: var image = { url: place.icon, size: new google.maps.Size(71, 71), origin: new google.maps.Point(0, 0), anchor
    • How to change color of marker in Google Map? 4. How do I change icon colour in Google Maps API V3?


  7. GMSMarker Class Reference | Google Maps SDK for iOS | Google Developers

    • Google Maps APIs.
    • A marker's icon is drawn oriented against the device's screen rather than the map's surface; i.e., it will not necessarily change orientation due to map rotations, tilting, or zooming.
    • Creates a tinted version of the default marker image for use as an icon.


  8. Events | Google Maps JavaScript API | Google Developers

    • Static Maps API. Street View Image API. Products. Google Maps APIs.
    • The following code mixes user events with state change events. We attach an event handler to a marker that zooms the map when clicked.


  9. Change marker size in Google maps V3 - Stack Overflow

    • new google.maps.Size(2, 4)); marker.setIcon(pinIcon); What is the correct use of the scaledSize argument to change the marker size?
    • I find it easiest to let the map API figure out the other arguments, unless I need something other than the bottom/center of the image as the anchor.


  10. How can I change the color of a Google Maps marker? - Stack Overflow

    • I'm using the Google Maps API to build a map full of markers, but I want one marker to stand out from the others. The simplest thing to do, I think, would be to change the color of the marker to blue, instead of red.
    • marker.setImage(getIcon(color).image); } StyledMarker: a library for Google Maps v3.