I will go and find out.however I hope both b4a and b4j can be used.I have currently tried using b4xcanvas and have not received any effective results,I think it's because I'm not familiar enough with using Canvas.Recently, I have been searching for possible solutions on the forum. Both b4xcanvas and bitmap creator seem to have the potential to do this.If you are only targeting desktops then it can be implemented with PyBridge and GeoPandas quite easily.
I hope to load geojson files in b4x so that I can draw maps and support interaction.You can use several tools to work with GeoJSON databases, including:
Azure Cosmos DB: Add geographic objects to containers using the Azure Cosmos DB SDK
Elasticsearch: Use Kibana to index GeoJSON files in Elasticsearch and display the data on a map
ArcGIS GeoEvent Server: Use the "Receive GeoJSON at a REST endpoint" input connector to receive and adapt GeoJSON event data
PostGIS: Use the PostGIS extension on the open-source Postgres database to store tables
Turf.js: Use Turf.js to manipulate GeoJSON data in JavaScript
Leaflet: Use the L.geoJSON() method to integrate GeoJSON data into Leaflet maps
GeoJSON Overview
GeoJSON is an open standard format for representing geographic data structures. It is based on JavaScript Object Notation (JSON). GeoJSON supports point, linestring, polygon, and multipart features. GeoJSON use cases:
Describing service coverage for mobile routing and navigation applications
Visualizing large data sets to identify trends and patterns
Displaying the outline of an area, such as a park, lake, or building
GeoJSON has some limitations, including:
Lacks support for topological relationships
Imposes some limitations on the complexity and size of attribute data
I have currently tried using b4xcanvas and have not received any effective results
What exactly do you want to do ?I have been searching for possible solutions on the forum. Both b4xcanvas and bitmap creator seem to have the potential to do this.
hi klaus,geojson It saves many geometric features and some geographic information(An array composed of many numbers) in JSON format.I want to draw a map(like mini google map) based on it, such as a certain country or province.Simultaneously supporting clicking on different areas to highlight a certain area and making more interactions.I'm sorry if I didn't express myself clearly.These English are translated.What exactly do you want to do ?
What kind of maps do you want to draw ?
example:
geojson.io | powered by Mapbox
A quick, simple tool for creating, viewing, and sharing spatial data.geojson.io
Of course, Klaus, the test project was added to the attachment, and so far I've only finished parsing geojson. This is my first version, and now I think my thinking may be right, but the data structure probably needs to be improved (currently plotting will give errors).By the way, the comments are in Chinese and need to be converted to English.It might become a big project.
But, can you post your test project, to see what you have already done ?
hi TILogistic,The purpose of my post is to be able to achieve the function of your image using b4x. If possible, ultimately develop it into a b4x library.
I will continue. I have reviewed your code and it is written very well. (including chart library)If you want to continue with this it might become a big project.