question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

InfoWindow setContent() Stopped Working

See original GitHub issue

I’m submitting a … (check one with “x”) [ ] question [ X] any problem or bug report [ ] feature request

The plugin version: (check one with “x”) [X ] 2.0-beta3 (github) [ ] 2.0 (npm)

If you choose ‘problem or bug report’, please select OS: (check one with “x”) [ ] Android [ X] iOS

cordova information: (run $> cordova plugin list)

$ cordova plugin ls
com.googlemaps.ios 2.4.0 "Google Maps SDK for iOS"
com.transistorsoft.cordova.background-geolocation 1.5.1 "BackgroundGeolocation"
cordova-plugin-actionsheet 2.2.2 "ActionSheet"
cordova-plugin-camera 2.3.1 "Camera"
cordova-plugin-compat 1.0.0 "Compat"
cordova-plugin-console 1.0.5 "Console"
cordova-plugin-device 1.1.4 "Device"
cordova-plugin-dialogs 1.2.1 "Notification"
cordova-plugin-file 4.3.1 "File"
cordova-plugin-file-transfer 1.6.1 "File Transfer"
cordova-plugin-googlemaps 2.0.9-beta-20170917-2321 "cordova-plugin-googlemaps"
cordova-plugin-inappbrowser 1.5.0 "InAppBrowser"
cordova-plugin-network-information 1.3.1 "Network Information"
cordova-plugin-whitelist 1.2.2 "Whitelist"
cordova-spatialite-storage 1.0.0 "Cordova sqlite/spatialite storage plugin"
phonegap-plugin-barcodescanner 6.0.6 "BarcodeScanner"
phonegap-plugin-contentsync 1.3.2 "content-sync"
phonegap-plugin-push 1.8.2 "PushPlugin"
uk.co.workingedge.phonegap.plugin.launchnavigator 3.0.4 "Launch Navigator"

Current behavior: I think the infoWindow setContent function stopped working

Expected behavior: I would expect the infoWindow content to change based on the html string I passed in.

Steps to reproduce: click on a camera icon, then click “View Next”

Screen capture or video record: http://www.youtube.com/watch?v=zvPQ35QCHHc

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:13 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
wf9a5m75commented, Sep 19, 2017

1748_compress

0reactions
KimberleeDArmstrongcommented, Sep 19, 2017

No worries! Thanks for your quick resolution! 😄

Read more comments on GitHub >

github_iconTop Results From Across the Web

Infowindow in Google Maps does not load - Stack Overflow
When I Click on them I want a location Id to be displayed but it is not working. I am using Google Chrome....
Read more >
Bug: InfowWindow.setContent() from domready event does ...
When I call the InfoWindow.setContent() method (or the setOptions({content}) method the contents are effected but the update is NOT reflected on the DIV...
Read more >
Info Window | Maps JavaScript API - Google Developers
This event is fired when the InfoWindow is fully visible. This event is not fired when InfoWindow is panned off and then back...
Read more >
Format info window content | ArcGIS API for JavaScript 3.42
Info window with strings. Use HTML. map.infoWindow.setTitle("HTML"); map.infoWindow.setContent("This content uses <strong>HTML</strong> for formatting.
Read more >
Problem with multiple markers and infowindows in ...
google.maps.event.addListener(marker, 'click', (function(marker, i) { return function() { infowindow.setContent(punts[i][0]); infowindow.open(map, marker); }
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found