mendix / maps

MOVED to:
https://github.com/mendix/widgets-resources/tree/master/packages-web/maps
1 stars 6 forks source link

Cannot read property 'map'of undefined #6

Closed rhertel closed 5 years ago

rhertel commented 5 years ago

I have an hybrid phone app that should display the Shore Sites (Oeverfronten) belonging to a Berth (Ligplaats). Each Berth can have multiple Shore Sites. domainmodel

The Maps widget is placed in a Data view widget. berthdetails

The Maps widget is configured to use the Open street provider and I am using a nanoflow to retrieve the Shore Sites. mapswidgetnanoflow1

The nanoflow has the Berth as input parameter and it retrieves the Shores Sites by association. nanoflow

The result is a "Cannot read property 'map' of undefined" error. app1

When I change the nanoflow and retrieve a list of Shore Sites from database and only retrieve the first three records for example, the Maps widget works fine, but that's not the result I want of course.... nanoflow2 app2

Andries-Smit commented 5 years ago

Dear Robert,

Thank you for reporting this issue with so much details. We found the root cause of this issue and will release a new version soon.

Cheers, Andries

Andries-Smit commented 5 years ago

Resolved in version 1.0.2 https://appstore.home.mendix.com/link/app/108261/