doublesecretagency / craft-googlemaps

Google Maps plugin for Craft CMS - Maps in minutes. Powered by the Google Maps API.
https://plugins.doublesecretagency.com/google-maps/
Other
10 stars 8 forks source link

Import Into Matrix via FeedMe is Empty #79

Closed EmptyStreets closed 1 year ago

EmptyStreets commented 1 year ago

Hi,

Looking for an advice on proper syntax to have the address data imported into the matrix field. Currently is remains empty. All other data/values work fine.

{
    "entry": [

        {
            "UniqueId": "1840020930",
            "Matrix": {
                "MatrixBlock": [
                    {
                        "Copy": "Getting screened for sexually transmitted infections (STIs) is worrisome for many people in the US, but there's nothing to be scared of. STI testing only requires urine, blood, or genital swab samples from the individual. It is a completely pain-free process, and results can be obtained within a day or at most two. At-home testing kits are available but not as reliable as lab testing. Texas's STI burden is comparatively higher than most US states, so testing is imperative for all sexually active people. Learn where to find free or low-cost STI testing in Pasadena, Texas."
                    },

                    {
                        "Copy": "Texas ranks 26th for chlamydia, 23rd for gonorrhea, and 26th for syphilis in the country for STD rates. Between 2009 and 2016, STD rates sharply rose in Harris County. Chlamydia showed a steep incline, from 17,719 cases in 2009 to over 26,900 in 2016, marking a 52% rise. The county had the highest rate of chlamydia, gonorrhea (8,700+ cases), and syphilis (3,251) cases in 2016 in all Texas counties. Pasadena is among its worst-impacted cities. Therefore, consider finding your nearest STD testing center in Pasadena, Texas, and get tested regularly."
                    },

                    {
                        "areaSummary": "Texas ranks 26th for chlamydia, 23rd for gonorrhea, and 26th for syphilis in the country for STD rates. Between 2009 and 2016, STD rates sharply rose in Harris County. Chlamydia showed a steep incline, from 17,719 cases in 2009 to over 26,900 in 2016, marking a 52% rise. The county had the highest rate of chlamydia, gonorrhea (8,700+ cases), and syphilis (3,251) cases in 2016 in all Texas counties. Pasadena is among its worst-impacted cities. Therefore, consider finding your nearest STD testing center in Pasadena, Texas, and get tested regularly."
                    },

                    {
                        "communityTesting": {
                            "organization": "Maryland Department of Health",
                            "description": null,
                            "website": "https://health.maryland.gov/allegany/Pages/STI-HIV.aspx",
                            "phone": "(301)-759-5000",
                            "street1": "12501 Willowbrook Rd.",
                            "city": "Cumberland",
                            "state": "Maryland",
                            "zip": "21502"
                        }
                    }

                ]

            }
        }

    ]
}

ZwEDMwF

AuT2Arm

lindseydiloreto commented 1 year ago

That syntax looks correct, as far as I can tell. You may be encountering a recent Feed Me compatibility issue, which was only resolved within the past few days...

https://github.com/craftcms/feed-me/pull/1245

Try updating to the latest version of both Google Maps and Feed Me, and then re-map your Address subfields. Once you've done that, things should be working as expected.

I'm going to close this thread under the assumption that this is correct. Please let me know if it doesn't work, and we can take a closer look.