Skip to main content
edited tags
Link
avpaderno
  • 97.9k
  • 15
  • 164
  • 284

Drupal 6: Import latitude and longitude from XML to Location field for GMap, for Views display

Source Link

Drupal 6: Import latitude and longitude from XML to Location field for GMap, for Views display

From my XML data which I have imported into nodes, I have CCK fields for Latitude and Longitude. I want to import those values into Node Location so that I can have two Gmap integrations:

  • Show a GMap on each node to show where it is located
  • Show all matched locations on a Views page with an exposed form

Is there something I have to do with mapping the fields correctly inside of Migrate, and if so, how would I define the Location fields as destination fields? I also found this on Migrate Extras that seems to have integrated it with Location, but that was for D7.

Then, how do I integrate the GMap with my Views page and get items to filter correctly?