Hi, i found this way to create a Map linked to MySQL Data:
Mapping data drawn from a mySQL database
Has anyone an idea how I could implement this into nuBuilder?
Best regards marcus
Welcome to the nuBuilder Forums!
Join our community by registering and logging in.
As a member, you'll get access to exclusive forums, resources, and content available only to registered users.
Join our community by registering and logging in.
As a member, you'll get access to exclusive forums, resources, and content available only to registered users.
Mapping data drawn from a mySQL database
-
- nuBuilder Team
- Posts: 4562
- Joined: Sun Oct 14, 2018 6:43 pm
- Has thanked: 76 times
- Been thanked: 528 times
- Contact:
Re: Mapping data drawn from a mySQL database
Hi,
You will need to include the leaflet library (if that one is used)
https://stackoverflow.com/questions/493 ... ustergroup
Then fetch data in Before Edit event, pass the data to JS with nuAddJavascript() and use JSON.parse()
Take a look at this Code Library article how it's done
You will need to include the leaflet library (if that one is used)
https://stackoverflow.com/questions/493 ... ustergroup
Then fetch data in Before Edit event, pass the data to JS with nuAddJavascript() and use JSON.parse()
Take a look at this Code Library article how it's done