Quantcast
Channel: Ionic Framework - Ionic Forum
Viewing all articles
Browse latest Browse all 49186

Help, I use cordova-plugin-googlemaps I want zoom change new icon marker

$
0
0

@maxasus123 wrote:

I use plugin cordova-plugin-googlemaps

My Code

 for(var i = 0; i < total; i++){
            var m = markers[i];
            var locObj = new plugin.google.maps.LatLng(m.latitude, m.longitude);
            var mm = new map.addMarker({
                      'position': locObj,
                      'title': m.title,
                        'icon': {
                          'url': baaniaurl+m.map_marker.medium
                        },
                      markerClick: function(marker) {
                                marker.hideInfoWindow();
                      },function(marker) {

                      });

            currentMarkers.push(mm);
                  }

This code is marker , if zoom map it change new icon.
Help for code . And I want 3 level zoom map 3 icon style.

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 49186

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>