• Recent
    • Tags
    • Popular
    • Register
    • Login

    Please Note This forum exists for community support for the Mango product family and the Radix IoT Platform. Although Radix IoT employees participate in this forum from time to time, there is no guarantee of a response to anything posted here, nor can Radix IoT, LLC guarantee the accuracy of any information expressed or conveyed. Specific project questions from customers with active support contracts are asked to send requests to support@radixiot.com.

    Radix IoT Website Mango 3 Documentation Website Mango 4 Documentation Website Mango 5 Documentation Website

    Map support and quicker reuse of JavaScript code

    Wishlist
    2
    5
    2.9k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • J
      jupepe
      last edited by

      We like to link the places of our sensors in a map (like Google Maps).
      Also easier copying of the same JavaScript code for Meta Points that are using different sensors. This feature is needed in the future if we have a hundred sensors that measure humidity, temperature and airflow connected into the Mango Server.

      1 Reply Last reply Reply Quote 0
      • M
        mlohbihler
        last edited by

        Re maps, do you mean have a map as a background and then put your point views on top of it? This is already possible by uploading a map image. You can even link to other views in a server-side script if you want a drill-down sort of thing.

        Re Javascript code, for functions to be commonly available just add then to the "/WEB-INF/scripts/scriptFunctions.js" file. (A Mango restart is required after editing this file.) If you definitely want to be able to copy scripts from one meta point to another, consider using the export/import functionality and copy your scripts directly in the JSON.

        Best regards,
        Matthew

        1 Reply Last reply Reply Quote 0
        • J
          jupepe
          last edited by

          Thank you for the information.
          We try general JavaScript functions and JSON export/import functionality.
          About mapping: I mean that how we can show the places of the sensors in a Google Maps or other Web 2.0/Map application (like openstreetmap). That view would be public.

          1 Reply Last reply Reply Quote 0
          • M
            mlohbihler
            last edited by

            That would depend more on the mapping API than on Mango. Mango doesn't have any explicit fields for storing a point's geolocation information, so i'm not sure where you would be pulling that from. But, that's what something like Google maps would need.

            Best regards,
            Matthew

            1 Reply Last reply Reply Quote 0
            • First post
              Last post