Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ionic Google Maps page is blank #1573

Closed
HeatherLemieux opened this issue Jul 20, 2017 · 35 comments
Closed

Ionic Google Maps page is blank #1573

HeatherLemieux opened this issue Jul 20, 2017 · 35 comments
Labels

Comments

@HeatherLemieux
Copy link

HeatherLemieux commented Jul 20, 2017

  • What is your question, problem or request?
    Google Maps does not display at all inside ios or android. It is only a blank page.

  • What version of this plugin do you use? Please including miner version ($> cordova plugin list)
    com.googlemaps.ios 2.3.0 "Google Maps SDK for iOS"
    cordova-plugin-googlemaps 2.0.0-beta2-20170719-2226 "cordova-plugin-googlemaps"

    running Ionic version 3.5.0
    running cordova version 7.0.1

Here is a dump of the npm list and versions:
npmDump.txt

the only difference is we tried to hide the nav-decor styling since it used to be an issue. Either way the instructions at ionic are either wrong or not detailed enough.

https://github.com/HeatherLemieux/ionic-google-maps

  • What I've tried previously
    Previously we had google maps working for both ios and android in a larger app, recently the maps page completely stopped working. We believe it has to do with upgrading our version of ionic which now uses the beta version of the googlemaps plugin. We tried updating the plugin and any code that changed, but it still results in a blank page.

So we tried to just do a bare bones application to see if it was a plugin or dependency issue on our side. But nothing worked, and we couldn't fix the issue.

Any help would greatly be appreciated. Thank you

@wf9a5m75
Copy link
Member

Thank you for sharing your issue. I will check your code.
By the way, please create a Gihtub repository next time.
Zip file is really inconvenient for me...

@vavimayor159
Copy link

Same here

@wf9a5m75
Copy link
Member

@HeatherLemieux I'm sorry but I can not build your project.
I'm not familiar with ionic at all. Please share your project files that contains other related files on github.

@wf9a5m75
Copy link
Member

The pull request has been accepted.
So please reinstall the ionic plugin. The issue should be gone.

ghost pushed a commit that referenced this issue Jul 21, 2017
@wf9a5m75
Copy link
Member

And also I found another bug in the past commit.
So please reinstall the plugin and ionic itself.

The plugin version 2.0.0-beta2-20170720-1741 is fixed.

@wf9a5m75 wf9a5m75 added the fixed label Jul 21, 2017
@bashoogzaad
Copy link

How can I update to this specific version? I am using npm-check-updates to update my dependencies.

@wf9a5m75
Copy link
Member

Sorry, but the v2 is not published to the npm.

Please install the plugin from the github repository directly.

@bashoogzaad
Copy link

Yes, I have installed it from the github repository, but now it installs 2.0.0-beta2-20170720-2325, which is not working for me. How can I specify the specific version to use?

@Alberick
Copy link

I'm having the same issue, I'm also using 2.0.0-beta2-20170720-2325

@wf9a5m75
Copy link
Member

@bashoogzaad
#1575 (comment)

@Alberick
Please share your project files on github or bitbacket.

@wf9a5m75
Copy link
Member

If no body share your code on github or bitbacket, I can not help you guys, because there is no enough information.

@Alberick
Copy link

Alberick commented Jul 21, 2017

@wf9a5m75 thank you for your willingness to help us! I have shared a project with you on gitlab.

Please look at my branch feature/evaluation-page

@wf9a5m75
Copy link
Member

@Alberick Jean / custodian-mobile?

@Alberick
Copy link

yes @wf9a5m75

@wf9a5m75
Copy link
Member

screen shot 2017-07-21 at 2 00 09 pm

@wf9a5m75
Copy link
Member

I can not see any source code

@Alberick
Copy link

mmm that's weird, I have updated the permissions, can you try again ?

@wf9a5m75
Copy link
Member

I can see your code now. Thanks.

@Alberick
Copy link

@wf9a5m75 That's weird, I have been working on it and builds fine, I haven't placed any hooks or any of that jazz, but let me check ... I'll build it from scratch somewhere else.

@wf9a5m75
Copy link
Member

wf9a5m75 commented Jul 22, 2017

I got many errors to build your repo. It's killing me... :(

$ ionic cordova build ios
> cordova platform add --save ios
✖ Running command - failed!
[ERROR] An error occurred while running cordova platform add --save ios (exit code 1):
        
        Using cordova-fetch for cordova-ios@^4.4.0
        Adding ios project...
        Creating Cordova project for the iOS platform:
        Path: platforms/ios
        Package: com.tixif.custodian
        Name: Custodian
        iOS project created with cordova-ios@4.4.0
        Error: Source path does not exist: resources\android\icon\drawable-xhdpi-icon.png
        

masashi-macgms:custodian-mobile masashi$ ionic cordova build ios

masashi-macgms:custodian-mobile masashi$ cp -R ../(another ionic app)/resources ./
masashi-macgms:custodian-mobile masashi$ ionic cordova build ios
[WARN] Error occurred during command execution from a CLI plugin (@ionic/cli-plugin-cordova). Your plugins may be out of
       date.
Error: Cannot find module '@angular/tsc-wrapped/src/tsc'

masashi-macgms:custodian-mobile masashi$ npm install @angular/tsc-wrapped
npm WARN ionic-angular@3.5.3 requires a peer of rxjs@5.4.0 but none was installed.
npm WARN ionic-angular@3.5.3 requires a peer of zone.js@0.8.12 but none was installed.
npm WARN The package @ionic/cli-plugin-cordova is included as both a dev and production dependency.
npm WARN The package @ionic/cli-plugin-ionic-angular is included as both a dev and production dependency.

+ @angular/tsc-wrapped@4.3.1
added 2 packages in 16.55s
masashi-macgms:custodian-mobile masashi$ ionic cordova build ios
Running app-scripts build: --iscordovaserve --externalIpRequired --nobrowser

[18:08:40]  build dev started ... 
[18:08:40]  clean started ... 
[18:08:40]  clean finished in 3 ms 
[18:08:40]  copy started ... 
[18:08:40]  transpile started ... 
[18:08:50]  transpile finished in 9.40 s 
[18:08:50]  preprocess started ... 
[18:08:50]  deeplinks started ... 
[18:08:50]  deeplinks finished in 270 ms 
[18:08:50]  preprocess finished in 272 ms 
[18:08:50]  webpack started ... 
[18:08:51]  copy finished in 10.26 s 
[WARN] Error occurred during command execution from a CLI plugin (@ionic/cli-plugin-cordova). Your plugins may be out of
       date.
Error: ./node_modules/angular-calendar/dist/esm/src/index.js
Module not found: Error: Can't resolve 'calendar-utils' in '/Users/masashi/Documents/workspace/test/custodian-mobile/node_modules/angular-calendar/dist/esm/src'
resolve 'calendar-utils' in '/Users/masashi/Documents/workspace/test/custodian-mobile/node_modules/angular-calendar/dist/esm/src'
  Parsed request is a module
  using description file: /Users/masashi/Documents/workspace/test/custodian-mobile/node_modules/angular-calendar/package.json (relative path: ./dist/esm/src)
    Field 'browser' doesn't contain a valid alias configuration
  after using description file: /Users/masashi/Documents/workspace/test/custodian-mobile/node_modules/angular-calendar/package.json (relative path: ./dist/esm/src)
    resolve as module
      looking for modules in /Users/masashi/Documents/workspace/test/custodian-mobile/node_modules
        using description file: /Users/masashi/Documents/workspace/test/custodian-mobile/package.json (relative path: ./node_modules)
          Field 'browser' doesn't contain a valid alias configuration
        after using description file: /Users/masashi/Documents/workspace/test/custodian-mobile/package.json (relative path: ./node_modules)
          using description file: /Users/masashi/Documents/workspace/test/custodian-mobile/package.json (relative path: ./node_modules/calendar-utils)
            no extension
              Field 'browser' doesn't contain a valid alias configuration
              /Users/masashi/Documents/workspace/test/custodian-mobile/node_modules/calendar-utils doesn't exist
            .ts
              Field 'browser' doesn't contain a valid alias configuration
              /Users/masashi/Documents/workspace/test/custodian-mobile/node_modules/calendar-utils.ts doesn't exist
            .js
              Field 'browser' doesn't contain a valid alias configuration
              /Users/masashi/Documents/workspace/test/custodian-mobile/node_modules/calendar-utils.js doesn't exist
            .json
              Field 'browser' doesn't contain a valid alias configuration
              /Users/masashi/Documents/workspace/test/custodian-mobile/node_modules/calendar-utils.json doesn't exist
            as directory
              /Users/masashi/Documents/workspace/test/custodian-mobile/node_modules/calendar-utils doesn't exist
[/Users/masashi/Documents/workspace/test/custodian-mobile/node_modules/calendar-utils]
[/Users/masashi/Documents/workspace/test/custodian-mobile/node_modules/calendar-utils.ts]
[/Users/masashi/Documents/workspace/test/custodian-mobile/node_modules/calendar-utils.js]
[/Users/masashi/Documents/workspace/test/custodian-mobile/node_modules/calendar-utils.json]
[/Users/masashi/Documents/workspace/test/custodian-mobile/node_modules/calendar-utils]
 @ ./node_modules/angular-calendar/dist/esm/src/index.js 10:0-46
 @ ./src/pages/calendar/calendar.module.ts
 @ ./src lazy
 @ ./node_modules/ionic-angular/util/ng-module-loader.js
 @ ./node_modules/ionic-angular/module.js
 @ ./node_modules/ionic-angular/index.js
 @ ./src/app/app.module.ts
 @ ./src/app/main.ts,./node_modules/angular-calendar/dist/esm/src/providers/calendarUtils.provider.js
Module not found: Error: Can't resolve 'calendar-utils' in '/Users/masashi/Documents/workspace/test/custodian-mobile/node_modules/angular-calendar/dist/esm/src/providers'
resolve 'calendar-utils' in '/Users/masashi/Documents/workspace/test/custodian-mobile/node_modules/angular-calendar/dist/esm/src/providers'
  Parsed request is a module
  using description file: /Users/masashi/Documents/workspace/test/custodian-mobile/node_modules/angular-calendar/package.json (relative path: ./dist/esm/src/providers)
    Field 'browser' doesn't contain a valid alias configuration
  after using description file: /Users/masashi/Documents/workspace/test/custodian-mobile/node_modules/angular-calendar/package.json (relative path: ./dist/esm/src/providers)
    resolve as module
      looking for modules in /Users/masashi/Documents/workspace/test/custodian-mobile/node_modules
        using description file: /Users/masashi/Documents/workspace/test/custodian-mobile/package.json (relative path: ./node_modules)
          Field 'browser' doesn't contain a valid alias configuration
        after using description file: /Users/masashi/Documents/workspace/test/custodian-mobile/package.json (relative path: ./node_modules)
          using description file: /Users/masashi/Documents/workspace/test/custodian-mobile/package.json (relative path: ./node_modules/calendar-utils)
            no extension
              Field 'browser' doesn't contain a valid alias configuration
              /Users/masashi/Documents/workspace/test/custodian-mobile/node_modules/calendar-utils doesn't exist
            .ts
              Field 'browser' doesn't contain a valid alias configuration
              /Users/masashi/Documents/workspace/test/custodian-mobile/node_modules/calendar-utils.ts doesn't exist
            .js
              Field 'browser' doesn't contain a valid alias configuration
              /Users/masashi/Documents/workspace/test/custodian-mobile/node_modules/calendar-utils.js doesn't exist
            .json
              Field 'browser' doesn't contain a valid alias configuration
              /Users/masashi/Documents/workspace/test/custodian-mobile/node_modules/calendar-utils.json doesn't exist
            as directory
              /Users/masashi/Documents/workspace/test/custodian-mobile/node_modules/calendar-utils doesn't exist
[/Users/masashi/Documents/workspace/test/custodian-mobile/node_modules/calendar-utils]
[/Users/masashi/Documents/workspace/test/custodian-mobile/node_modules/calendar-utils.ts]
[/Users/masashi/Documents/workspace/test/custodian-mobile/node_modules/calendar-utils.js]
[/Users/masashi/Documents/workspace/test/custodian-mobile/node_modules/calendar-utils.json]
[/Users/masashi/Documents/workspace/test/custodian-mobile/node_modules/calendar-utils]
 @ ./node_modules/angular-calendar/dist/esm/src/providers/calendarUtils.provider.js 2:0-110
 @ ./node_modules/angular-calendar/dist/esm/src/index.js
 @ ./src/pages/calendar/calendar.module.ts
 @ ./src lazy
 @ ./node_modules/ionic-angular/util/ng-module-loader.js
 @ ./node_modules/ionic-angular/module.js
 @ ./node_modules/ionic-angular/index.js
 @ ./src/app/app.module.ts
 @ ./src/app/main.ts,./node_modules/angular-calendar/dist/esm/src/calendar.module.js
Module not found: Error: Can't resolve 'angular-resizable-element' in '/Users/masashi/Documents/workspace/test/custodian-mobile/node_modules/angular-calendar/dist/esm/src'
resolve 'angular-resizable-element' in '/Users/masashi/Documents/workspace/test/custodian-mobile/node_modules/angular-calendar/dist/esm/src'
  Parsed request is a module
  using description file: /Users/masashi/Documents/workspace/test/custodian-mobile/node_modules/angular-calendar/package.json (relative path: ./dist/esm/src)
    Field 'browser' doesn't contain a valid alias configuration
  after using description file: /Users/masashi/Documents/workspace/test/custodian-mobile/node_modules/angular-calendar/package.json (relative path: ./dist/esm/src)
    resolve as module
      looking for modules in /Users/masashi/Documents/workspace/test/custodian-mobile/node_modules
        using description file: /Users/masashi/Documents/workspace/test/custodian-mobile/package.json (relative path: ./node_modules)
          Field 'browser' doesn't contain a valid alias configuration
        after using description file: /Users/masashi/Documents/workspace/test/custodian-mobile/package.json (relative path: ./node_modules)
          using description file: /Users/masashi/Documents/workspace/test/custodian-mobile/package.json (relative path: ./node_modules/angular-resizable-element)
            no extension
              Field 'browser' doesn't contain a valid alias configuration
              /Users/masashi/Documents/workspace/test/custodian-mobile/node_modules/angular-resizable-element doesn't exist
            .ts
              Field 'browser' doesn't contain a valid alias configuration
              /Users/masashi/Documents/workspace/test/custodian-mobile/node_modules/angular-resizable-element.ts doesn't exist
            .js
              Field 'browser' doesn't contain a valid alias configuration
              /Users/masashi/Documents/workspace/test/custodian-mobile/node_modules/angular-resizable-element.js doesn't exist
            .json
              Field 'browser' doesn't contain a valid alias configuration
              /Users/masashi/Documents/workspace/test/custodian-mobile/node_modules/angular-resizable-element.json doesn't exist
            as directory
              /Users/masashi/Documents/workspace/test/custodian-mobile/node_modules/angular-resizable-element doesn't exist
[/Users/masashi/Documents/workspace/test/custodian-mobile/node_modules/angular-resizable-element]
[/Users/masashi/Documents/workspace/test/custodian-mobile/node_modules/angular-resizable-element.ts]
[/Users/masashi/Documents/workspace/test/custodian-mobile/node_modules/angular-resizable-element.js]
[/Users/masashi/Documents/workspace/test/custodian-mobile/node_modules/angular-resizable-element.json]
[/Users/masashi/Documents/workspace/test/custodian-mobile/node_modules/angular-resizable-element]
 @ ./node_modules/angular-calendar/dist/esm/src/calendar.module.js 3:0-60
 @ ./node_modules/angular-calendar/dist/esm/src/index.js
 @ ./src/pages/calendar/calendar.module.ts
 @ ./src lazy
 @ ./node_modules/ionic-angular/util/ng-module-loader.js
 @ ./node_modules/ionic-angular/module.js
 @ ./node_modules/ionic-angular/index.js
 @ ./src/app/app.module.ts
 @ ./src/app/main.ts,./node_modules/angular-calendar/dist/esm/src/calendar.module.js
Module not found: Error: Can't resolve 'angular-draggable-droppable' in '/Users/masashi/Documents/workspace/test/custodian-mobile/node_modules/angular-calendar/dist/esm/src'
resolve 'angular-draggable-droppable' in '/Users/masashi/Documents/workspace/test/custodian-mobile/node_modules/angular-calendar/dist/esm/src'
  Parsed request is a module
  using description file: /Users/masashi/Documents/workspace/test/custodian-mobile/node_modules/angular-calendar/package.json (relative path: ./dist/esm/src)
    Field 'browser' doesn't contain a valid alias configuration
  after using description file: /Users/masashi/Documents/workspace/test/custodian-mobile/node_modules/angular-calendar/package.json (relative path: ./dist/esm/src)
    resolve as module
      looking for modules in /Users/masashi/Documents/workspace/test/custodian-mobile/node_modules
        using description file: /Users/masashi/Documents/workspace/test/custodian-mobile/package.json (relative path: ./node_modules)
          Field 'browser' doesn't contain a valid alias configuration
        after using description file: /Users/masashi/Documents/workspace/test/custodian-mobile/package.json (relative path: ./node_modules)
          using description file: /Users/masashi/Documents/workspace/test/custodian-mobile/package.json (relative path: ./node_modules/angular-draggable-droppable)
            no extension
              Field 'browser' doesn't contain a valid alias configuration
              /Users/masashi/Documents/workspace/test/custodian-mobile/node_modules/angular-draggable-droppable doesn't exist
            .ts
              Field 'browser' doesn't contain a valid alias configuration
              /Users/masashi/Documents/workspace/test/custodian-mobile/node_modules/angular-draggable-droppable.ts doesn't exist
            .js
              Field 'browser' doesn't contain a valid alias configuration
              /Users/masashi/Documents/workspace/test/custodian-mobile/node_modules/angular-draggable-droppable.js doesn't exist
            .json
              Field 'browser' doesn't contain a valid alias configuration
              /Users/masashi/Documents/workspace/test/custodian-mobile/node_modules/angular-draggable-droppable.json doesn't exist
            as directory
              /Users/masashi/Documents/workspace/test/custodian-mobile/node_modules/angular-draggable-droppable doesn't exist
[/Users/masashi/Documents/workspace/test/custodian-mobile/node_modules/angular-draggable-droppable]
[/Users/masashi/Documents/workspace/test/custodian-mobile/node_modules/angular-draggable-droppable.ts]
[/Users/masashi/Documents/workspace/test/custodian-mobile/node_modules/angular-draggable-droppable.js]
[/Users/masashi/Documents/workspace/test/custodian-mobile/node_modules/angular-draggable-droppable.json]
[/Users/masashi/Documents/workspace/test/custodian-mobile/node_modules/angular-draggable-droppable]
 @ ./node_modules/angular-calendar/dist/esm/src/calendar.module.js 4:0-81
 @ ./node_modules/angular-calendar/dist/esm/src/index.js
 @ ./src/pages/calendar/calendar.module.ts
 @ ./src lazy
 @ ./node_modules/ionic-angular/util/ng-module-loader.js
 @ ./node_modules/ionic-angular/module.js
 @ ./node_modules/ionic-angular/index.js
 @ ./src/app/app.module.ts
 @ ./src/app/main.ts

@wf9a5m75
Copy link
Member

Try again, and ah...

$ rm -rf platforms/ios/

$ ionic cordova build ios
> cordova platform add --save ios
✖ Running command - failed!
[ERROR] An error occurred while running cordova platform add --save ios (exit code 1):
        
        Using cordova-fetch for cordova-ios@^4.4.0
        Adding ios project...
        Creating Cordova project for the iOS platform:
        Path: platforms/ios
        Package: com.tixif.custodian
        Name: Custodian
        iOS project created with cordova-ios@4.4.0
        Error: Source path does not exist: resources\android\icon\drawable-xhdpi-icon.png
        

@wf9a5m75
Copy link
Member

Android also...

$ ionic cordova build android
> cordova platform add --save android
✖ Running command - failed!
[ERROR] An error occurred while running cordova platform add --save android (exit code 1):
        
        Using cordova-fetch for cordova-android@~6.2.2
        Adding android project...
        Creating Cordova project for the Android platform:
        Path: platforms/android
        Package: com.tixif.custodian
        Name: Custodian
        Activity: MainActivity
        Android target: android-25
        Subproject Path: CordovaLib
        Android project created with cordova-android@6.2.3
        Error: Source path does not exist: resources\android\icon\drawable-hdpi-icon.png
        

@Alberick
Copy link

Alberick commented Jul 22, 2017

pull the branch again, it's looking for those resources and I was ignoring them, I just added those files.

I'm only building for android.

@wf9a5m75
Copy link
Member

Ok, I'm retrying from the first.

@wf9a5m75
Copy link
Member

$ rm -rf *

$ git checkout -- .

$ git pull
Warning: Permanently added 'gitlab.com,52.167.219.168' (ECDSA) to the list of known hosts.
Already up-to-date.

$ npm install

$ ionic cordova build android
✔ Creating ./www directory for you - done!
> cordova platform add --save android
✖ Running command - failed!
[ERROR] An error occurred while running cordova platform add --save android (exit code 1):
        
        Using cordova-fetch for cordova-android@~6.2.2
        Adding android project...
        Creating Cordova project for the Android platform:
        Path: platforms/android
        Package: com.tixif.custodian
        Name: Custodian
        Activity: MainActivity
        Android target: android-25
        Subproject Path: CordovaLib
        Android project created with cordova-android@6.2.3
        Error: Source path does not exist: resources\android\icon\drawable-hdpi-icon.png
        

OMG...

@wf9a5m75
Copy link
Member

After spending hours, @Alberick's problem was solved.
It wasn't plguin's problem.

danielsogl/awesome-cordova-plugins#1790 (comment)


Is there any other people who have problem?

@wf9a5m75
Copy link
Member

@HeatherLemieux @bashoogzaad ping

@HeatherLemieux
Copy link
Author

HeatherLemieux commented Jul 24, 2017

@wf9a5m75 @vavimayor159 I added a link to a git repo with the code in my original comment, I'll include it here as well: https://github.com/HeatherLemieux/ionic-google-maps

I'm going to try updating the plugin with the fix you mentioned above and will report back. Thanks for helping me out!

@wf9a5m75
Copy link
Member

wf9a5m75 commented Jul 24, 2017

@Alberick I appreciate if you support some amount for this project (because I spent almost 4 hours for your error) https://github.com/mapsplugin/cordova-plugin-googlemaps-doc#buy-me-a-beer


@HeatherLemieux I got an error. What should I do?

$ ionic cordova build ios
> cordova platform add --save ios
✔ Running command - done!
Running app-scripts build: --iscordovaserve --externalIpRequired --nobrowser

[07:28:32]  build dev started ... 
[07:28:32]  clean started ... 
[07:28:32]  clean finished in 4 ms 
[07:28:32]  copy started ... 
[07:28:32]  transpile started ... 
[07:28:37]  transpile finished in 4.53 s 
[07:28:37]  preprocess started ... 
[07:28:37]  deeplinks started ... 
[07:28:37]  deeplinks finished in 18 ms 
[07:28:37]  preprocess finished in 19 ms 
[07:28:37]  webpack started ... 
[07:28:37]  copy finished in 4.83 s 
[07:28:48]  webpack finished in 11.92 s 
[07:28:48]  sass started ... 
[07:28:49]  sass: stdin, line: 1 
            File to import not found or unreadable: 
            /Users/masashi/Documents/workspace/test/ionic-google-maps/src/theme/variables.scss. Parent style sheet: 
            stdin 

[WARN] Error occurred during command execution from a CLI plugin
       (@ionic/cli-plugin-cordova). Your plugins may be out of date.
Error: Failed to render sass to css

@HeatherLemieux
Copy link
Author

whoops forgot to commit that file, when I updated ionic-native it started looking for this file. It's just an .scss file you can use to change global css like the color scheme. I just pushed it to the repo if you want to pull it down.

@wf9a5m75
Copy link
Member

I just pushed it to the repo

Yes, please.

@wf9a5m75
Copy link
Member

@HeatherLemieux Your code was wrong.
Since this plugin uses the native code, you need to wait the

    platform.ready().then(() => {
      this.loadMap();
    });

instead of

ngAfterViewInit() {
 //this.loadMap();
}

screen shot 2017-07-24 at 10 44 06 am

@HeatherLemieux
Copy link
Author

@wf9a5m75 THANK YOU THANK YOU THANK YOU! I'll submit a comment to the people at Ionic to notify them to update their documentation to reflect this.

@ruodeng
Copy link

ruodeng commented Sep 5, 2017

On my code, I setup rootNav go to another page on the map description with click. and go back to the map is empty.
And I found the map_canvas exist twice.
My solution is that:
delete the map_canvas before reidrect to other page.

        document.getElementById('map_canvas').remove();
        this.nav.push(SpacePage, {
            nid: nid
        })

@TitikshaDaga
Copy link

I am facing the issue and I cannot understand hoe to resolve it. This is the link for the code. Please let help me.
https://github.com/TitikshaDaga/Google-Maps-Ionic-Demo.git

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

7 participants