Skip to content

Latest commit

 

History

History
318 lines (196 loc) · 17.7 KB

CHANGELOG.md

File metadata and controls

318 lines (196 loc) · 17.7 KB

Bug Fixes

  • LazyMapsAPILoader: use OpaqueTokens for globs (78daae0), closes #436 #441

Features

Bug Fixes

  • SebmGoogleMap: remove event listeners on destroy (223d0de), closes #425
  • tests: fix path in unit tests (f03f04f)

Code Refactoring

  • GoogleMapsAPIWrapper: rename getMap method (f2084dd), closes #407

Features

BREAKING CHANGES

  • SebmGoogleMap:

The latitude, longitude and zoom inputs of must be of type number now. Strings are not supported any more.

Example:

Old (now unsupported way):

<sebm-google-map latitude="33" longitude="22" zoom="8">...

New:

<sebm-google-map [latitude]="33" [longitude]="22" [zoom]="8">...
  • GoogleMapsAPIWrapper: getMap() is now called getNativeMap().

  • ANGULAR2_GOOGLE_MAPS_PROVIDERS is now called GOOGLE_MAPS_PROVIDERS.

  • ANGULAR2_GOOGLE_MAPS_DIRECTIVES is now called GOOGLE_MAPS_DIRECTIVES.

The SystemJS based bundle located in the bundles/ dir is gone! Please use the new UMD bundle located under core/core.umd.js.

SystemJS example:

SystemJS.config({
	packages: {
		'angular2-google-maps/core': { main:  'core.umd.js', defaultExtension: 'js' }
	}
})

Features

0.9.0 icy-lama (2016-03-22)

Bug Fixes

  • LazyMapsAPILoader: use default API version 3 (426da66), closes #195

Features

  • Expose GoogleMapsAPIWrapper (8999da2)
  • Expose InfoWindowManager (7c95e55)
  • Expose MarkerManager (0726ddb)
  • GoogleMapsAPIWrapper: expose map instance (69e3c0e), closes #161
  • LazyMapsAPILoaderConfig: add clientId (652b711), closes #198
  • SebmGoogleMap: support backgroundColor opt (bda7ca8), closes #233
  • SebmGoogleMap: support centerChange event (20ad62b), closes #212
  • SebmGoogleMap: support draggableCursor opt (00d26e5), closes #234
  • SebmGoogleMap: support draggingCursor opt (553842a), closes #235
  • SebmGoogleMap: support keyboardShortcuts opt (1a14570), closes #236
  • SebmGoogleMap: support scrollwheel mapOption (e19d99b), closes #232 #159 #211
  • SebmGoogleMap: support zoomControl opt (a5b909a), closes #237
  • SebmGoogleMap: triggering resize events (b27ae46), closes #166 #188
  • SebmGoogleMapInfoWindow: Basic support (a3df794), closes #150 #238
  • support angular2.0.0-beta.11 (e187ae6)
  • SebmGoogleMapMarker: add custom icon support (13ec2a1), closes #123 #224

0.8.1 (2016-02-28)

Bug Fixes

0.8.0 clean-phantom (2016-02-21)

Bug Fixes

  • SebmGogleMapMarker: label updates (e2b9923)

Features

  • rename MapMouseEvent to MouseEvent (978e881), closes #148
  • support angular beta.7 (66ccfe7), closes #144
  • LazyMapsAPILoader: support libraries query param (a94662f), closes #114
  • LazyMapsAPILoader: support region & language (a127a79), closes #102 #125
  • SebmGoogleMap: support disableDefaultUI MapOption (a5c9002), closes #103 #113
  • SebmGoogleMapMarker: add draggable option (a8ba736), closes #70 #147
  • SebmGoogleMapMarker: support dragend event (8f60c54), closes #71 #149

BREAKING CHANGES

  • MapMouseEvent is now called MouseEvent. Please update your imports:

before:

import {MapMouseEvent} from 'angular2-google-maps/core';

after:

import {MouseEvent} from 'angular2-google-maps/core';

This release was incorrect; replaced with 0.8.0

0.6.1 shiny-neutron (2016-01-30)

Bug Fixes

  • SebmGoogleMap: show map when zoom is not set (b975c76), closes #81
  • SebmGoogleMapMarker: run click event in zone (2a3e390)
  • SebMGoogleMapMarker: 0 value for lat/lng (e65568e), closes #82 #101

Features

  • angular2: support angular2-beta.2 (592648c)

Bug Fixes

  • SebmGoogleMap: use ngOnInit to support angular 2.0.0-beta.1 (1c25cb9), closes #79 #76

Features

  • LazyMapsAPILoader: make Google Maps API version configurable (728960d)

Bug Fixes

  • package: align peer & JSPM dependencies with ng2 beta.0 (4fcd9af)

Features

  • change file naming convention (5a1ac76)
  • packaging: change package structure (77d634e)
  • SebmGoogleMap: support map click event (c18640c)
  • SebmGoogleMap: support disableDoubleClickZoom mapOption (fff0a29)
  • SebmGoogleMap: support double-click event (5f1ae68)
  • SebmGoogleMap: support right click event (eab715e)

BREAKING CHANGES

  • When you import a directive directly, you have to change the import path:

Old:

import {SebmGoogleMap} from 'angular2-google-maps/directives/google_map';

New:

import {SebmGoogleMap} from 'angular2-google-maps/directives/google-map';
  • The module name has changed. So you have to change your import path.
    old: angular2_google_maps/angular2_google_maps
    new: angular2-google-maps/core
  • ES5 files that can be consumed using CommonJS are now in the root directory (old path was /cjs/angular2_google_maps)
  • The ES6 files directory has changed: Old dir: /es6/angular2_google_maps
    New dir: /es6
  • The TypeScript files directory has changed:
    Old dir: /ts/angular2_google_maps
    New dir: /ts
  • The /typings directory with bundled typings was deleted.
    (Typings are now in the root directory seperated by file)

0.4.0 (2015-12-17)

Features

  • export ANGULAR2_GOOGLE_MAPS_DIRECTIVES (83bcd9f)
  • angular2: support 2.0.0-beta.0 (0bae421), closes #51
  • SebmGoogleMapMarker: support click event (2926de7)

BREAKING CHANGES

  • angular2_google_maps/components module renamed to angular2_google_maps/directives

0.3.0 (2015-12-10)

Features

  • angular2: add angular2.0.0-alpha.52 support (8a1d813)

0.2.0 (2015-11-19)

Features

  • GoogleMapsAPILoading: lazy load mechanism (d05e6d3)
  • sebmGoogleMapMarker: support basic label (f2e1257)

BREAKING CHANGES

  • GoogleMapsAPILoading:
    • You have to add the ANGULAR2_GOOGLE_MAPS_PROVIDERS to your bootstrap() method:
import {ANGULAR2_GOOGLE_MAPS_PROVIDERS} from 'angular2_google_maps/angular2_google_maps';
bootstrap(myComponent, [ANGULAR2_GOOGLE_MAPS_PROVIDERS]);
  • Google Maps API v3 gets loaded automatically now by default. So you can remove the Google Maps API script tag from your page. Alternatively, you can tell angular2-google-maps that the Google Maps API is already loaded on the page with this configuration:
bootstrap(App, [
  ANGULAR2_GOOGLE_MAPS_PROVIDERS,
  // If you don't want to let angular2-google-maps load the Google Maps API script,
  // you can use the NoOpMapsAPILoader like this:
  provide(MapsAPILoader, {useClass: NoOpMapsAPILoader})
])

0.1.0 (2015-11-07)

Features

  • components: add sebm-google-map component (120a5df)
  • marker: add basic marker support (ec644a4)