Hi,

I have installed all the module as required for google store locator without any issues. I have got new content type "store Location" and even though i have added the fields through manage fields. Please refer attached screens.

I have added sample with proper data (address). Once i have published didn't see any change in store-locator/json page and store locator not listing store data also. JSOn data not populating added location details.
{"type":"FeatureCollection","features":[]}

Note: i'm trying in my localhost

Please help me out.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

satrece’s picture

Issue summary: View changes
satrece’s picture

Title: store_locator page is empty » store-locator/JSON page is empty
Issue summary: View changes
babusaheb.vikas’s picture

Hi Satrece,

Please add your Geofield in the Location Export view("refer image: add_geofield_in_location_export.PNG")
and change the “GeoJSON feed” setting “Map Data Sources” value("refer image: GeoJSON_feed_map_data_source_setting.PNG").

Thanks

anthony0perez’s picture

FileSize
19.12 KB

I have the same issue will try your fix but I have a lot more than that in my views fields by default. See attached. Will post results as soon as I finish.

I also get this message: Using the GeoJSON display style on "Page" displays is deprecated, but will continue to work until the next release. Instead, the GeoJSON display style should be used with a "Feed" display.

My settings look like this how is your so different? See attached capture1 and 2.

anthony0perez’s picture

FileSize
18.79 KB
25.23 KB

Another odd thing on this fresh install is that the Coordinates is empty also Feature Filter List:

United States
Coordinates:
Feature Filter List:
Misc. Properties:

Is this looking for a point from google?
---------------------------------------------------------------
My build is:
Drupal 7 Core - 7.35
Views - 7.x-3.10
GeoJSON - 7.x-1.0-beta1
geoPHP - 7.x-1.7
Geocoder - 7.x-1.2
Geofield - 7.x-2.3
Address Field - 7.x-1.0
Google Store Locator - 7.x-1.1
Chaos tools - 7.x-1.7

apaderno’s picture

Priority: Major » Normal
Issue tags: -store-locator json empty, -empty store_locator page