InvalidValueError: setPosition: not a LatLng or LatLngLiteral: in property lat: not a number

As you can see in the output of the pluck of collections, it is a list of objects, each containing the coordinates array. The Set Points to Google Map block expects the following an array of objects where each object has the lat and lng properties.

Rather than using the Set Points to Google Map block, I recommend using data binding with the Map Marker handler in the map component. You can see a demo of that approach in the following video:

Regards,
Mark

1 Like