Skip to content
This repository was archived by the owner on Jun 25, 2019. It is now read-only.

Conversation

LJaraCastillo
Copy link
Contributor

@LJaraCastillo LJaraCastillo commented Jun 18, 2018

Changes:

  • Added Location attributes to receive a most complete location update from Android and iOS.
  • Attributes: time (in millisecond), speed (meter/second), bearing/course (degree) altitude (meter), horizontalAccuracy (meter), verticalAccuracy (meter).
  • Added MapOptions attributes to improve configuration of the map visualized.
  • Attributes: showMyLocationButton (bool), showCompassButton (bool), hideToolbar (bool)
  • Fix: Fixed problem in iOS that avoided the correct display of certain mapview "uisettings". In short, some setting was being set before initializing the GMSMapView.
  • Added draggable Attribute for Marker class and listeners for drag events (Drag, DragStarted, DragEnd).
  • Added custom icon support for Marker class.
  • Added marker rotation support.
  • Camera position update to support bearing and tilt.

* Added extra attributes to location class
* Extra attributes for location update added to Android invokeMethod in MapViewPlugin.kt
* Added iOS version of extra data for Location updates.
* Added extra MapOptions attributes.
- showMyLocationButton = show/hide button to center map on user location.
- showCompassButton = show/hide button to change orientation of map.
- hideToolbar = show/hide toolbar on Map Activity/View.
* Added iOS controls for MapOptions Attributes listed above.
* FIX: Fixed iOS bug that avoided the location updates and button to show properly.
* Added Android MapOptions attributes controls.
* Updated Kotlin version to 1.2.50
Flutter

* Added drag event support for markers
* Added custom icon support for markers
* Updated example to display marker drag usage and custom icon.
* Added image to use as marker icon in example.

Android

* Added marker drag controls
* Added methods to get the bitmap from an Flutter asset to be set a custom icon in a marker
Flutter

* Added MarkerIcon class to set the image and size of the marker icon.
* Updated example to match the changes of the marker class regarding the icon.

iOS

* Added marker drag controls.
* Added methods to set the image asset as the marker icon.
* Added MarkerIcon class to match the Flutter plugin changes.
Android

* Added MarkerIcon class to match the Flutter plugin changes.
* Added resize functionality for custom marker icon.
/// - Android Maps API
/// - iOS Maps API
const API_KEY = "<your-api-key>";
const API_KEY = "AIzaSyDv2UaDTnfXOO5owAG1Vg49ceYAfAYW3xU";
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This never happened :) . I changed this key, so it doesn't exist anymore.

/// - Static Maps API
/// - Android Maps API
/// - iOS Maps API
const API_KEY = "AIzaSyDv2UaDTnfXOO5owAG1Vg49ceYAfAYW3xU";
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Key was removed.

@LJaraCastillo LJaraCastillo changed the title Improved Location and MapOptions Improved Location, MapOptions & Marker. Jun 22, 2018
Flutter

* Bearing added to Location class.
* Rotation added to Marker class.
* Fix: Clear methods now also clean the flutter reference of the map elements.

Android

* Added rotation support for Marker.
* Bearing added to returned map in "locationUpdated" method callback.

iOS

* Added rotation support for Marker.
* Bearing (course) added to returned map in "locationUpdated" method callback.
Flutter

* Added bearing and tilt for camera position.
* cameraPositionChanged will now bring bearing and tilt in the returned object.

Android

* Added bearing and tilt when setting the camera for the map.
* Added bearing and tilt to the returned map in the callback (cameraPositionChanged) when the camera is updated.

iOS

* Incomplete changes regarding camera position update.
iOS

* Added camera position changes to use the bearing and tilt sent from flutter.
@jurabek
Copy link

jurabek commented Jul 6, 2018

Hi @matthewtsmith any chance to merge it?

@matthewtsmith matthewtsmith merged commit de4a6a0 into apptreesoftware:master Jul 6, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants