After updating the Views GeoJSON module, my locator map was completely blank. After digging around, I found that the Views GeoJSON module can only be used in a "Feed" display of a view. The fix was reasonably simple, but it took me a while to track down the problem, so I wanted to share, incase someone else runs into the same issue. Hopefully I can save someone some time, and maybe you will consider updating the module to include the correct view display and fields.
To fix this, I created a new "Feed" display, and set the format to GeoJSON Feed. Then in the GeoJSON Feed settings, select Geofield under Map Data Sources.
Comments
Comment #2
bsufan17 CreditAttribution: bsufan17 commentedI just found a quicker fix, and edited my issue appropriately.
Comment #3
bsufan17 CreditAttribution: bsufan17 commentedSorry, my fix above does not seem to work. I was only able to get one location to show on the map and in the list of stores. This module is not compatible with the latest version of Views GeoJSON. I had to roll back to 7.x-1.0-alpha2+13-dev, to get the store locator work.
Comment #4
rodrigoeg CreditAttribution: rodrigoeg at CI&T commentedPatch in applied in #2528458: Latest views_geojson Breaks Location Export view ("Missing Style Plugin") seems to solve also this problem. Next version of the module based on the 7.x-1.x will be released with this fix.
Comment #5
rodrigoeg CreditAttribution: rodrigoeg at CI&T commentedSince #2528458: Latest views_geojson Breaks Location Export view ("Missing Style Plugin") was released on 7.x-1.2, closing this bug