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

Maps #4820

Closed
ChurchCRMBugReport opened this issue May 10, 2019 · 15 comments
Closed

Maps #4820

ChurchCRMBugReport opened this issue May 10, 2019 · 15 comments

Comments

@ChurchCRMBugReport
Copy link

ChurchCRMBugReport commented May 10, 2019

No se cargan en el mapa todas las familias.

Translation:

Not all families are loaded on the map.

Collected Value Title Data
Page Name /crm/Menu.php
Screen Size 960x1708
Window Size 818x1708
Page Size 1651x1708
Platform Information Linux us-imm-web131.main-hosting.eu 3.10.0-962.3.2.lve1.5.25.6.el7.x86_64 #1 SMP Thu Apr 18 06:40:26 EDT 2019 x86_64
PHP Version 7.0.33
SQL Version 5.5.5-10.2.23-MariaDB
ChurchCRM Version 3.3.2
Reporting Browser Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:66.0) Gecko/20100101 Firefox/66.0
Prerequisite Status All Prerequisites met
Integrity check status {"status":"success"}
Apache Modules mod_rewrite,mod_mime,mod_headers,mod_expires,mod_auth_basic
@crossan007 crossan007 added this to the User Support milestone May 12, 2019
@crossan007
Copy link
Contributor

Have you checked that all families have been assigned lat / long coordinates?

@willyhaase
Copy link

Have you checked that all families have been assigned lat / long coordinates?

Yes

@dgebel
Copy link

dgebel commented Jun 30, 2019

Duplicate issue: (by me)

#4617

@DawoudIO DawoudIO modified the milestones: User Support, 3.5.1 Sep 10, 2019
@DawoudIO DawoudIO self-assigned this Sep 10, 2019
@crossan007 crossan007 modified the milestones: 3.5.1, 3.5.2 Sep 11, 2019
@DawoudIO DawoudIO modified the milestones: 3.5.2, 3.5.3 Sep 12, 2019
@DawoudIO
Copy link
Contributor

DawoudIO commented Sep 12, 2019

did you delete some Cassifcations from the system, can find one of the missing families and update the classification and see if it shows up or not.

I had this issue before and tracking it in #4985

@DawoudIO DawoudIO modified the milestones: 3.5.3, User Support Sep 12, 2019
@dgebel
Copy link

dgebel commented Sep 18, 2019

I don't think I deleted any Classifications. Added some. Might have renamed some. I think changed the order of some of them. Not sure how you are suggesting to "update" it now? I resaved it.
But the "update lat/long" button still shows 0 without a location and the system shows the same half dozen families.
There are several of the classifications which show up on the map.
I tried viewing some of the families not shown, and selected the address to get the Google map view, thinking maybe I could force it and it would show up, but nothing changed.
I'm wondering if one of the families generates some error which stops further addresses from being displayed. I don't see any error messages, but maybe it's just being ignored. Or maybe Google is limiting the number of items to show?
Is there some kind of debugging I can turn on?

@dleigh
Copy link

dleigh commented Mar 13, 2020

I have this issue as well. All our families have full LAT/LON data. I don't have an exact number of families affected but we have 129 families with LAT/LON data but only about 25 of them are plotted. What would be the best way to debug this? Thanks!

@crossan007
Copy link
Contributor

@dleigh how does this relate to the discussion in #5174?

Do any of the measures discussed there (API key restrictions, geocoding, etc) affect this scenario?

@crossan007
Copy link
Contributor

Also, @dleigh are you sure that your 129 actually have lat/long, and that ChurchCRM isn't lying to you about it? In #5107, having a 0 in the database won't trigger <4.0.3 from seeing "missing" lat/long.

@dleigh
Copy link

dleigh commented Mar 16, 2020

@dleigh how does this relate to the discussion in #5174?

Do any of the measures discussed there (API key restrictions, geocoding, etc) affect this scenario?

Well, #5174 was initially a problem of not having lat/long in the database because when there were NULLs, in the lat/long columns the process didn't update the values. Once I got that corrected, then the issue was about the API setup in Google so that something would actually display. Now I have something that displays but don't have anything CLOSE to the number of pins as I do families with lat/long data. So they're related only in that they're all dealing with mapping and they were layers of problems.

The NULLs are solved and the API issues are solved. So now it's the issue of not having all the pins show up - which is, I believe, what the OP is experiencing too.

@dleigh
Copy link

dleigh commented Mar 16, 2020

Also, @dleigh are you sure that your 129 actually have lat/long, and that ChurchCRM isn't lying to you about it? In #5107, having a 0 in the database won't trigger <4.0.3 from seeing "missing" lat/long.

Yeah, I had a similar experience with lat/long where NULLs kept it from calculating the lat/long.  I changed them all to "0" and then it calculated a lat/long for everyone.  So yes, I'm sure they actually have lat/long based on what I see in phpmyadmin in family_fam in the lat/long columns.

@dleigh
Copy link

dleigh commented Mar 16, 2020

Just did a test. I added every person to the cart and then selected to view the contents of the cart on the map. Out of 218 INDIVIDUALS in the cart (not families), I got about 68 pins in our area (there are a few out of our area). So different ones that were not pinned when I did it using the Family mapping feature WERE pinned when I did the cart mapping feature.

@jmpsd
Copy link

jmpsd commented Aug 8, 2020

Hello. I have the same problem. I do not view families on the map.

Any solution?

Church Versión 4.1.0

Thanks!

UPDATE:
The problem is that the pins are anywhere, they do not respect the direction.

@dleigh
Copy link

dleigh commented Aug 10, 2020

It may be worth taking a look at: #5174 to see some of the things needed to make this work - keeping in mind that the API keys setup changed a bit at v4.0.3. I believe that it's working for me now.

You can also confirm what is really being plotted on the map by doing a view source on the page and you'll see in the midst of some JavaScript:

window.CRM.map.plotArray

That array will contain all the plot data for the pushpins on the map. It's human-readable so you can get a list of what's actually being plotted on the map and can compare it to what you see in the list of families. It may help.

@DawoudIO DawoudIO removed this from the User Support milestone Nov 1, 2023
Copy link
Contributor

github-actions bot commented May 2, 2024

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.

@github-actions github-actions bot added the Stale label May 2, 2024
Copy link
Contributor

This issue was closed because it has been stalled for 15 days with no activity.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Jun 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

7 participants