Giter Club home page Giter Club logo

maps's People

Contributors

andries-smit avatar mmehmetaliizci avatar samuelmuloki avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

maps's Issues

Default map center location by attributes

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.

v1.0.6 would not work in MxCloud environment

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

Widget not showing on Firefox

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.

Map refreshes completely when marker lat lng changes.

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.

Maps widget does not center correctly when in tab container in listen to widget

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!

Cannot read property 'Map' of undefined (GoogleMaps)

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))

Current settings:
settings

Widget version: 1.0.3
Modeler version: 7.23.1

Cannot read property 'map'of undefined

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

Missing features for the markers

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?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.