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

bsufan17 created an issue. See original summary.

bsufan17’s picture

Issue summary: View changes

I just found a quicker fix, and edited my issue appropriately.

bsufan17’s picture

Sorry, 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.

rodrigoeg’s picture

Patch 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.

rodrigoeg’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.