Forum Replies Created
-
AuthorPosts
-
EricHedvat
ParticipantStill doesn't work, I think maybe something needs to be changed in the maps.js file?
EricHedvat
ParticipantThis doesn't seem to work I still cant see the map and the address field is not working.
EricHedvat
ParticipantGot it using the new block editor columns feature.
ThanksEricHedvat
ParticipantThe documentation states it can filter by lat/long: https://facetwp.com/documentation/facets/facet-types/proximity/
It also says "The Data Source should be a custom field containing a comma-separated latitude, longitude."
My map field in the custom table is stored exactly like this (provided an address is selected via the building_address field.EricHedvat
ParticipantThanks it works, makes sense.
Related to this however, I have tried to create a 'Proximity' Facet which connects to the google maps metabox field - the LAT/LONG of the address. It doesnt seem to work, nor does it register the location coordinates in the facetwp index table in db.
here is my map field
[ 'id' => $prefix . 'map_lat_long', 'type' => 'map', 'name' => esc_html__( 'Map', 'text-domain' ), 'address_field' => 'building_address', 'api_key' => '...', 'region' => '.us', 'std' => '40.7831, -73.9712,14', ],Thanks.
EricHedvat
ParticipantThat looks great thanks!
EricHedvat
ParticipantThanks for the reply,
What about displaying the formatted version after/next to the input field?
EricHedvat
ParticipantWorking thanks!
-
AuthorPosts