mendix / maps Goto Github PK
View Code? Open in Web Editor NEWMOVED to:
Home Page: https://github.com/mendix/widgets-resources/tree/master/packages-web/maps
MOVED to:
Home Page: https://github.com/mendix/widgets-resources/tree/master/packages-web/maps
Hi!
To make widget even more complete, it would be great to have context entity attributes selectable as center longitude and latitude. It would be possible then to show user his current location and place his marker on the map just in the middle.
I want to use a microflow as datasource. This microflow does not need an input parameter, however I get the error 'Input parameter entity must be set if property microflow is set'.
Updated the widget to the latest version (v1.0.6) and I could not load any pages where the widget was used with the app deployed to MxCloud v4 (EU). Navigation was then difficult after the attempt until a browser refresh. Applying the previous version of the widget fixed the issue.
Errors in log were:
Connector: 404 - file not found for file: widgets/com/mendix/widget/custom/Maps/Maps.js
Connector: 404 - file not found for file: widgets/Maps.css.map
Maps widget not showing up in Firefox. Using the Open Street setting with a Database Data Source. The page setting is a Atlas_Default, shows when we open the map in a pop up window.
When the context object refreshes state (in this case updates lat lng) to change the position of the marker, the whole map refreshes.
Would expect that only the state of the markers have to be refreshed instead of the whole map.
I am using the Maps widget to show the shore sites of a berth. The widget is placed in a non-default tab of a tab container and that tab container is placed in a listen to widget. When, for a berth with multiple shore sites, I click on the tab containing the widget, the map is centered randomly. When I do the same for a berth with only one shore site, the map is centered correctly.
Example can be seen at https://maps101-sandbox.mxapps.io/
Details are in the attached document:
Maps widget problem.docx
Beside this problem it is a great widget!
Widget throws an error, in console:
TypeError: Cannot read property 'Map' of undefined
at e.createUpdateMap (Maps.js?636917155694820902:17)
at e.componentWillReceiveProps (Maps.js?636917155694820902:17)
On page:
An error occurred in a "com.mendix.widget.custom.Maps.Maps" widget. Check updates for the widget in the Mendix App Store or contact the widget developer.
Error occurs when using GoogleMaps as provider. Problem in this part:
e.map = new google.maps.Map(e.googleMapsNode, a({}, i))
Widget version: 1.0.3
Modeler version: 7.23.1
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.
The Maps widget is placed in a Data view widget.
The Maps widget is configured to use the Open street provider and I am using a nanoflow to retrieve the Shore Sites.
The nanoflow has the Berth as input parameter and it retrieves the Shores Sites by association.
The result is a "Cannot read property 'map' of undefined" error.
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....
This is supposed to be he widget to succeed the other maps widget, but it is missing some essential features.
The two features we miss are related to the marker part. In the "old" widget you can set the "Marker attribute" and a "Onclick microflow" which are rather essential parts for most maps.
I just found out that the onclick microflow is already supported. So this ticket only relates to the missing hover/balloon functionality.
Are these features on the roadmap for this widget?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.