-
Notifications
You must be signed in to change notification settings - Fork 7
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
Intake areas disappearing in certain situations #360
Comments
Hi Richard - seems to be IE only. Works in Chrome. I will get @reekypete to have a look |
Thanks Rustuma, I'm getting the issue in Chrome as well, Version 66.0.3359.139 (Official Build) (64-bit). |
That's weird, I'm using the same version. We will check on a few machines here. I don't like inconsistency! Rustum |
@richard-walsh heya. This sounds like a weird one. I'm on Chrome 66.0.3359.170 (Official Build) (64-bit) and seeing this: Might help if you can post a screenshot, and also check the chrome (or IE) JS console to see if any errors are reported. I can't think of what would cause this. |
I also can't reproduce on Chrome 66.0.3359.139 (Official Build) (64-bit) Yes please to @techieshark's suggestion re: browser versions and console logs |
OK, I take it back. |
Weird as. I tried it on FF and Safari but still works. Also tried in private mode so to avoid cache issues. |
Yeah it's not consistent. There was a point where I thought it was working fine on 32-bit versions of Chrome (as it was consistently working on one machine) but eventually one reload showed it not working. Here's a video showing the issue in Chrome Version 66.0.3359.181 (Official Build) (64-bit). The only console error is a mixed content warning, unlikely to be related. |
@richard-walsh a video! Even more helpful. That helped me see the issue seems to only occur if you are already on the school, and then click 'refresh'. Can you confirm? If you open a new, blank tab, and paste in that URL, do you see the same behavior? |
Hmm. Also starting from fresh tab but with console open may cause this too. |
If I open up a new incognito window it seems to work the first time, but then refreshing or opening it in a new tab does not work. |
Is it just that school or are there other school codes which result in the same behavior? |
@Rustuma and I have also observed the problem when searching for the school the (ahem) old-school way, so definitely not specific to "already on a school" |
Multiple schools, I just randomly chose this school as a test. |
Does this problem persist for either/both of you if you change the 'app.config.geoProvider' from 'google' to 'mapbox'? Setting is here: |
It appears to work correctly when using mapbox as the geo provider. |
I have made some progress. Short term fix is to add &v=3.31 to your maps API script (to use the old renderer, which will no longer be available as of August 2018). |
@richard-walsh that's great news! Thanks for sharing that workaround. It looks like Carto is aware of this as well: So I would expect this will get figured out by August. |
Hello. Ivan from CARTO here. We fixed the disappearing layers with Google Maps in cartodb.js v3.15.15 I see in the attached page that you're using a very old version (v3.12.16) Please, use the latest one and check if the bug is out. You can find the latest version at http://libs.cartocdn.com/cartodb.js/v3/3.15/cartodb.js |
Thanks for that update @ivanmalagon! |
I initially thought that cartodb.js v3.15.15 fixed the issue. Gmaps v3.31 for comparison: |
Where is happening, @richard-walsh ? What system do you run it in? What's supposed to appear? I'm seeing both maps equal, so I'd need more info, please. |
Sorry @ivanmalagon I should have included more info. OS: Windows 7 The issue is intermittent, usually only occurring when refreshing the page. |
Interesting. Yeah I'm seeing the same issue (carto .pngs not being overlaid atop google maps layers) when viewing this URL: (and maybe refreshing), on latest Chrome (67.0.3396.79 (Official Build) (64-bit)) on OS X. It seems there may be a difference based on whether images (like Google maps tiles) come from cache or not - With cache disabled, gmaps tiles load second: |
Can you test it again @techieshark ? We didn't reproduce this exact case but we've made a change that could be related. Thanks. |
I haven't found any issues with the latest update, thanks @ivanmalagon |
To reproduce, load Sylvania Public School using it's school code.
https://education.nsw.gov.au/school-finder/index?school_code=3143
Notice that the Intake Area loads, then disappears after the initial zoom.
Zooming in or out manually will make the area reappear.
The text was updated successfully, but these errors were encountered: