In order to ensure that the maps on Yext Location Finder Pages have the correct coordinates for Chinese entities, you will need to add Chinese GCJ-02 coordinates into the Yext Knowledge Graph. When populated, these coordinates will be used by Bing Maps instead of the standard Lat/Long coordinates, and the map marker on the Location Finder Page will be updated to reflect those coordinates.
This process is broken down into two steps. The first step is creating the Custom Field to store these coordinates, and the second step is adding the coordinates into the Yext Knowledge Graph for the relevant entities.
Note: If your Pages were built by Yext's Managed Services Team, this field will be created for you, so you can skip to Step 2 for instructions on adding the coordinates into the Yext Knowledge Graph.
Step 1: Create the Custom Field Type and Custom Field
To Create the Custom Field Type:
- Click Knowledge Graph in the navigation bar and click Configuration.
- Click Field Types in the sidebar.
- Click on the Add Custom Field Type button.
- Enter “GCJ-02 Coordinates” as the name for the custom field type.
- Click on the + Add a subfield link and select Single-Line Text as the subfield type.
- Enter a name for the subfield. For example: "GCJ-02 Lat".
- Select the checkbox next to Required Field.
- Click on the + Add a subfield link again and an additional Single-Line Text subfield.
- Enter a name for the section subfield. For example: "GCJ-02 Long".
- Select the checkbox next to Required Field.
- Click Save.
Your Custom Field Type should look like the following:
To create the Custom Field using this Field Type:
- From the Knowledge Graph Configuration tab, click Fields in the sidebar, and click on the + Add Field button.
- In the Field Name field enter "GCJ-02 Coordinates".
- In the Field Specification field select the Custom Field Type you created in the steps above.
- Select the relevant entity types in the Field Availability drop-down.
- Click Save Field.
Your Custom Field should look like the following:
Step 2: Add Coordinates to Yext Knowledge Graph
- Click Knowledge Graph in the navigation bar.
- Click on the entity you would like to add GCJ-02 Coordinates for.
- Click on the GCJ-02 Coordinates field.
- Enter the latitude and longitude of the entity.
- Click Save.
Comments
0 comments
Article is closed for comments.