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

Cluster Icon not showing #352

Open
2 of 6 tasks
Apro123 opened this issue Feb 8, 2021 · 14 comments
Open
2 of 6 tasks

Cluster Icon not showing #352

Apro123 opened this issue Feb 8, 2021 · 14 comments

Comments

@Apro123
Copy link

Apro123 commented Feb 8, 2021

I'm submitting a ... (check one with "x")

  • question
  • any problem or bug report
  • feature request

If you choose 'problem or bug report', please select OS: (check one with "x")

  • Android
  • iOS
  • Browser

cordova information: (run $> cordova plugin list)

cordova-plugin-device 2.0.2 "Device"
cordova-plugin-geolocation 4.0.2 "Geolocation"
cordova-plugin-googlemaps 2.7.1 "cordova-plugin-googlemaps"
cordova-plugin-ionic-keyboard 2.2.0 "cordova-plugin-ionic-keyboard"
cordova-plugin-ionic-webview 4.1.3 "cordova-plugin-ionic-webview"
cordova-plugin-splashscreen 5.0.2 "Splashscreen"
cordova-plugin-statusbar 2.4.2 "StatusBar"
cordova-plugin-tts 0.2.3 "TTS"
cordova-plugin-whitelist 1.3.4 "Whitelist"
cordova-sqlite-storage 5.0.0 "Cordova sqlite storage plugin - cordova-sqlite-storage plugin version"

If you use @ionic-native/google-maps, please tell the package.json (only @ionic-native/core and @ionic-native/google-maps are fine mostly)

"@ionic-native/core": "^5.31.1",
"@ionic-native/google-maps": "^5.5.0",

Current behavior:
Before, it was working but now this issue is a problem with ABSOLUTELY no change in the code.
The issue is that the marker cluster icon does not show up at all.

Expected behavior:
The expected behavior is for the cluster icon to show up and me being able to click on it.

Screen capture or video record:
https://user-images.githubusercontent.com/22110394/107268339-de77cb80-69fc-11eb-9928-7a67fb773a6d.mov

Related code, data or error log (please format your code or data):

https://github.com/Apro123/SusMap
https://map-sustainability.ucmerced.edu/
@Apro123
Copy link
Author

Apro123 commented Feb 8, 2021

#282 Some people here also experience this issue, but it was closed.

@Apro123
Copy link
Author

Apro123 commented Feb 8, 2021

It seems the image of the icon is showing as transparent:
Screen Shot 2021-02-08 at 11 05 33 AM

@Apro123
Copy link
Author

Apro123 commented Feb 8, 2021

We can also see the issue on your own demo: https://mapsplugin.github.io/ionic-googlemaps-quickdemo-v4/marker-cluster

So it is not a problem with the code that I have.

@wf9a5m75
Copy link
Contributor

wf9a5m75 commented Feb 8, 2021

That's a bug of Google Maps API. Not this plugin. There is no solution, except changing zoom level to redraw the map.

@Apro123
Copy link
Author

Apro123 commented Feb 8, 2021

Is there a issue open you can redirect me to this specific issue with google maps api? I am trying to find it but i couldnt find it. What do you mean by "changing the zoom level to redraw the map".

@wf9a5m75
Copy link
Contributor

wf9a5m75 commented Feb 8, 2021

The maps plugin adds necessary marker on the map properly. But the Google maps does not render for some reason.
Try to zoom-in/zoom-out when the marker is not rendered.

@wf9a5m75
Copy link
Contributor

wf9a5m75 commented Feb 8, 2021

Also "all" source code is open. You can check the code. If you find a problem, please send a pull request.

@Apro123
Copy link
Author

Apro123 commented Feb 9, 2021

The zoom in and zoom out doesn't work since the clustered icons do not work any time.

@wf9a5m75
Copy link
Contributor

#350 (comment)

@Apro123
Copy link
Author

Apro123 commented Feb 24, 2021

@wf9a5m75 Thanks for the response. I tried it and is still not working properly. The markers within the cluster do show up, but either they do not cluster or the clustered Icon is transparent.

@nosTa1337
Copy link

I had the same issue when I was running it with livereload on my device. After I have created the release build I can see the cluster images.

What I also tried on the livereload version was linking the image to an http url and it showed up that way.

@Apro123
Copy link
Author

Apro123 commented Mar 8, 2021

@nosTa1337 I tried using http urls but it still does not work. You cannot livereload with this project because it requires you to run ionic cordova run browser, but that itself does not support livereload. I tried using a --prod --release build but it does not work.

@Apro123
Copy link
Author

Apro123 commented Apr 6, 2021

@wf9a5m75 This is quite a critical issue. Are there any updates on it?

@Datalux
Copy link

Datalux commented Apr 14, 2021

Same issue.

#350 (comment)

This not working.

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

No branches or pull requests

4 participants