Match GPS coordinates to the road network
map_match.match(**kwargs) -> MapMatchResult { geometry, properties, type, legs }
POST/api/v1/map-match
Match GPS coordinates to the road network
Match GPS coordinates to the road network
require "plaza"
plaza = Plaza::Client.new(
api_key: "My API Key",
environment: "local" # defaults to "production"
)
map_match_result = plaza.map_match.match(trace: {coordinates: [0], type: :Point})
puts(map_match_result)