Skip to content

Latest commit

 

History

History
174 lines (107 loc) · 4.68 KB

File metadata and controls

174 lines (107 loc) · 4.68 KB

Release notes v2.1.0

Feature points

Add plugin.google.maps.geometry.poly namespace

There are two static methods:

  • containsLocation Return true if the position is in a polygon path
  • isLocationOnEdge Return true if the position is on the line path
containsLocation (Doc)
isLocationOnEdge (Doc)

HTMLInfoWindow follows the marker smoothly

v2.0.11 (before)

anchorDiv.style.left = x + "px";
anchorDiv.style.top = y + "px";

v2.1.0 (now)

anchorDiv.style.setProperty("-webkit-transform", "translate3d(" + x + "px, " + y + "px, 0)");
anchorDiv.style.setProperty("transform", "translate3d(" + x + "px, " + y + "px, 0)");

No longer external service

The External Service is no longer available. Please use Launch Navigator Cordova/Phonegap Plugin.

@ionic-native/google-maps 4.3.3 (more details)

The wrapper plugin waits the page view is fully loaded if you specify the map div ID. This helps you leave from setTimeout

Before (v2.0.11)

ionViewLoaded() {
  setTimeout(this.loadMap.bind(this), 1000);
}

loadMap() {
  var mapDiv = document.getElementById('map_canvas');
  this.map = this.googleMaps.create(mapDiv);
}

Now (v2.1.0)

ionViewLoaded() {
  this.loadMap();
}

loadMap() {
  this.map = this.googleMaps.create('map_canvas');
}

Working logs

Oct/31/2017

  • (JS) Bug fix: Error in console on HtmlInfoWindow setBackgroundColor #1850

Oct/30/2017

  • Bug fix: HTMLInfoWindow position is incorrect on some devices Add: the cssOptions to HTMLInfoWindow.setContent() Update: use transition CSS for positioning of HTMLInfoWindow

Oct/28/2017

Oct/27/2017

  • (JS) Bug fix: can not click upon the overlay menu on the map

Oct/26/2017

  • (JS) Add: plugin.google.maps.geometry.poly name space #1441

Oct/25/2017

  • (JS) update: Prevent executing the remove method after the instance is removed

  • (Android) Bug fix: Bug fix: Handled cases where we have only one line address. #1839

Oct/24/2017

  • (Android) Bug fix: groundOverlay.setImage() doesn't work properly on Android #1834

Oct/20/2017

  • (iOS) Bug fix: can not load image file if application name contains the space characters

  • (JS) Bug fix: variable self is undefined in the remove method #1804

Oct/19/2017

  • (JS) update: Change the backbutton event handling. The callback function must handle everything by itself

Oct/18/2017

  • (JS) Bug fix: The infoWindowAnchor option does not work for HtmlnfoWindow #1801

Oct/12/2017

  • (js) Use self instead of this as much as possible (except short code) #1804

  • (js) Bug fix: $ionicPlatform.registerBackButtonAction not pass event when install latest version of plugin #1808

Oct/6/2017

  • (iOS) Bug fix: MarkerCluster (and other methods) stops when map.clear() executes multiple times #1785

  • (Android) Bug fix: Prevent null pointer crash #1797

Oct/5/2017

  • (js) Bug fix: the remove() method of the marker generated by marker cluster does not work

  • (Android/iOS) The external service is removed.

Oct/4/2017

  • (iOS) Bug fix: overlays click not working in iOS #1794

Oct/2/2017

  • (iOS) Bug fix: overlays click not working in iOS #1794

Sep/29/2017

  • (iOS) Bug fix: OS Map Clustering #1785

Sep/27/2017

  • (android) Bug fix: addTileOverlay getTile function not always working as expected. #1743

Sep/25/2017

  • (js/iOS) map.setDiv(...) does not work well on iOS simulator #1768

Sep/22/2017

  • (js) Bug fix: HTMLInfoWindow does not close using the marker.hideInfoWindow() method.