mirror of
https://github.com/Iconica-Development/flutter_google_track_and_trace.git
synced 2025-05-19 13:13:44 +02:00
Merge pull request #5 from Iconica-Development/bugfix/web_error
fix: Added web part to the README that explains what to do to resolve the following error: "TypeError: Cannot read properties of undefined (reading 'maps')"
This commit is contained in:
commit
641a28288d
3 changed files with 17 additions and 1 deletions
|
@ -1,3 +1,6 @@
|
|||
2.0.1
|
||||
* Fix: Updated the README.md to show how to properly set up the index.html for use in web
|
||||
|
||||
1.1.0
|
||||
* Feature: Optional parameter `retrieveDirections` to disable directions api calls
|
||||
* Fix: Issue with json conversion google map theme.
|
||||
|
|
13
README.md
13
README.md
|
@ -106,6 +106,19 @@ import GoogleMaps
|
|||
}
|
||||
}
|
||||
```
|
||||
|
||||
### WEB
|
||||
Add the following code in the 'head' of 'web/index.html':
|
||||
|
||||
```html
|
||||
<head>
|
||||
|
||||
<!-- // Other stuff -->
|
||||
|
||||
<script src="https://maps.googleapis.com/maps/api/js?key=YOUR_API_KEY"></script>
|
||||
</head>
|
||||
```
|
||||
|
||||
## Usage
|
||||
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
name: flutter_google_track_and_trace
|
||||
description: An Iconica Flutter plugin for Track & Trace Package
|
||||
version: 2.0.0
|
||||
version: 2.0.1
|
||||
|
||||
environment:
|
||||
sdk: ">=2.14.0 <3.0.0"
|
||||
|
|
Loading…
Reference in a new issue