Skip to content

Releases: asennikov/ember-g-map

Eslint, Latest Ember Support

15 Apr 09:58
Compare
Choose a tag to compare

We're now up to date with the latest Ember-cli and ember versions, including eslint and updated ember-try test scenarios. This also means we are no longer testing against 1.13.

Also, some new features have been merged.

  • g-map-infowindow now has an onOpen hook - thanks @bschaufler
  • g-map-address-* components no longer error if the component is destroyed before the placesService results resolve - thanks @c-brooks
  • g-map-address-marker now uses the placesService results viewport to provide an optimal map viewport for the marker. View port can also be manually added to any marker. - thanks @thoresuenert
  • g-map-address-marker now support the onClick and onDrag marker actions - thanks @sebastian-misiewicz
  • The google maps api script config now supports the channel param.

And huge thanks to @steveszc for making all this happen!

Fixed Deprecation Warnings

14 Nov 23:17
Compare
Choose a tag to compare

Draggable Markers

01 Aug 16:42
Compare
Choose a tag to compare

Thanks to @Mithrilhall we now have draggable setting for markers.
One can easily add draggable=true and onDrag=(action "someHandler") to the marker component to make it draggable and receive drag events back into the application.

Also,

  • markers now have zIndex property - thx @bschaufler,
  • custom icons setup is now documented - thx @steveszc.

Ember CLI 2.6.2 and New Configuration Options

23 Jul 11:13
Compare
Choose a tag to compare

New configuration parameters for Google Maps API script:

  • exclude – config option that allows an add-on consumer to exclude the google maps api script tag from the index.html;
  • client – config option that is an alternative to the key parameter for applications that need to provide a client ID instead of an API key;
  • version – config option that allows an add-on consumer to ask for a specific version of the Google Maps API, rather than the default Release version.

Ember CLI was updated to v2.6.2, which now includes ember-try. This fixes deprecation warning when using this addon in projects built around latest ember-cli.

Thx to @hbrysiewicz and @steveszc!

More Polyline Options

28 Jun 18:53
Compare
Choose a tag to compare

Thanks to @bonroyage you can now use missing Polyline options:

  • clickable
  • draggable
  • geodesic
  • visible

Also, new callback action was added for a dragend event of polyline, check out example in docs.

Language localization support

16 Jun 19:20
Compare
Choose a tag to compare

By default, the Google Maps uses the user's preferred language setting as specified in the browser, but now you can force this setting to any language with addition to your config/environment.js:

ENV['g-map'] = {
  ...
  language: 'ar'
}

See https://developers.google.com/maps/documentation/javascript/localization#Language for details.

Fastboot support and Polylines

16 May 12:27
Compare
Choose a tag to compare

Fastboot

Thanks @mike-north for upgrading ember-cli and Fastboot support!
See details in #48

Polylines

Thanks @moeabm, @AndrewMoore10 for addition of {{g-map-polyline}} and {{g-map-polyline-ccordinate}} components.
See example https://github.com/asennikov/ember-g-map#map-with-polylines

Route Waypoints

25 Apr 20:08
Compare
Choose a tag to compare

Support for waypoints to both {{g-map-route}} and {{g-map-address-route}}:

  • {{g-map-route-waypoint}} component to add waypoints using lat/lng pairs;
  • {{g-map-route-address-waypoint}} component to add waypoints by address queries.

Thanks @ivanjolic95 for this awesome feature! 👍

Polyline options for {{g-map-route}} component

26 Mar 09:38
Compare
Choose a tag to compare

Available options:

  • strokeColor
  • strokeWeight
  • strokeOpacity
  • zIndex

Works for {{g-map-address-route}} as well.

GMapAddressRouteComponent component

15 Mar 16:34
Compare
Choose a tag to compare

Adds {{g-map-address-route}} component which could be bound to 2 address strings.