-
Forum
-
Zh OpenStreetMap
-
Component
-
Showing markers in map
Showing markers in map
-
eciudad
-
Topic Author
-
Offline
-
Junior Member
-
Less
More
-
Posts: 38
-
Thank you received: 0
-
-
3 years 9 months ago #13618
by eciudad
Thank you Dima,
I am confused with your explanations:
Using SQL from external tables from my database, can I pass these value on the fly to the map?
title
latitude
longitude
description
descriptionhtml
hrefimage
At this point learned to pass it the latitude and longitude, is there a way to pass anything else thru the SQL, Virtualization is not an option since users would not nor I want them to load data.
If you can give me some samples of what your are talking about would be greatly appreciated.
Please Log in or Create an account to join the conversation.
Less
More
-
Posts: 4606
-
Thank you received: 460
-
-
-
-
-
3 years 9 months ago #13619
by Dima
I did visualization for case - you have your data, stored in your tables, but want to display it.
First of all I did it for lines (you create it, assign to simple path and get it).
- you define what coordinates source
- you can also override start and end point (placemark)
After I extend functionality to create placemarks
- you defune what coordinates source, title, description, description HTML, icon and date of creation
- create it, and assign you simple placemark
I give link to my docs, in SQL you create SQL to get your data, in Structure you define what column from SQL is using to get data
Please Log in or Create an account to join the conversation.
-
eciudad
-
Topic Author
-
Offline
-
Junior Member
-
Less
More
-
Posts: 38
-
Thank you received: 0
-
-
3 years 9 months ago #13620
by eciudad
Thank you Dima.
I got it some what to work. Do you know what is the current user "id" variable in your extension, I need to pass the value in the SQL? Thank you
Please Log in or Create an account to join the conversation.
Less
More
-
Posts: 4606
-
Thank you received: 460
-
-
-
-
-
3 years 9 months ago #13621
by Dima
Hi.
Today you can't pass user id. On this week I'll add this ability, describe in documentation and post there.
Please Log in or Create an account to join the conversation.
-
eciudad
-
Topic Author
-
Offline
-
Junior Member
-
Less
More
-
Posts: 38
-
Thank you received: 0
-
-
3 years 9 months ago #13623
by eciudad
Thank you Dima. I will be looking for the update.
Please Log in or Create an account to join the conversation.
Less
More
-
Posts: 4606
-
Thank you received: 460
-
-
-
-
-
-
Forum
-
Zh OpenStreetMap
-
Component
-
Showing markers in map
Time to create page: 0.077 seconds