Jaimin Patel
Jaimin Patel

Reputation: 161

How to get circle markerimage google map in sencha touch

var markerImage = new google.maps.MarkerImage( images/beachflag.png );

var marker = new google.maps.Marker ({ map: googleMapComp, position: storeResult_coords, icon: markerImage, title: title, animation: google.maps.Animation.DROP });

Upvotes: 0

Views: 424

Answers (2)

Jaimin Patel
Jaimin Patel

Reputation: 161

Cutomize Google Map marker with Rounded shape

According to this example,

I was able to implement this successfully https://jsfiddle.net/uaxb76f8/12/

  .gm-style img {
     max-width: none;
     border-radius: 25px !important;
    }

Upvotes: 4

Baidaly
Baidaly

Reputation: 1849

According to this example https://developers.google.com/maps/documentation/javascript/examples/marker-symbol-predefined your icon should be like this:

icon: {
  path: google.maps.SymbolPath.CIRCLE,
  scale: 10
}

Did I understand your problem correctly?

Upvotes: 0

Related Questions