How to integrate mapx in react app #977
-
|
I am working on creating a spatial dashboard using React. To enhance the mapping functionalities in my application, I'm interested in integrating MapX, which offers various features. Is it feasible to incorporate MapX into my React-based web application? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 6 replies
-
|
Hi, We've set up a demo site to showcase various integrations with our SDK, which can be found here: MapX SDK Demo Site. Among these, there's a specific example demonstrating integration with React: React Integration Example, with the source code available at: React Example Source Code. For comprehensive details on the SDK, please refer to the documentation: MapX SDK Documentation. Please be aware that MapX is primarily designed for desktop use, offering limited support for smaller screens. We are generally open to improvements requests. If you're aiming to integrate MapX into a dashboard, the 'static' mode might be the most suitable option for you. |
Beta Was this translation helpful? Give feedback.
-
|
Hi @samareshdas, Thanks for your interest in MapX! It seems you're seeking a library to seamlessly integrate If your aim is just to integrate If, however, you are interested in the functionalities offered by MapX, could you please contact the MapX team at the following address info@mapx.org for further assistance. |
Beta Was this translation helpful? Give feedback.
-
|
I'm closing this discussion as it seems that your initial request has been answered. You can contact the MapX team at the following address info@mapx.org for further assistance. |
Beta Was this translation helpful? Give feedback.
You can also use the npm package @fxi/mxsdk. The way it's currently built, we recommend keeping the SDK version in sync with the target MapX instance. For example, if
app.mapx.orgis on version1.12.7, then the SDK version should also be1.12.7.Are you familiar with the project/view/role system in MapX? To add sources and create "views" (configuration objects), you must be registered within a project as publisher, or create and host your own MapX instance.
For the GeoServer
WMSpart, there is currently no way to add headers in the HTTP request for authentication in MapX. You will likely need to set up a proxy to handle this or use URL-based authentication (which is less secure). Note tha…