Showing markers in map

  • eciudad
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
3 years 9 months ago #13618 by eciudad
Replied by eciudad on topic Showing markers in map
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.

More
3 years 9 months ago #13619 by Dima
Replied by Dima on topic Showing markers in map
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

Don't forget support my developments: post review in JED , donate , help with translation ;)

Please Log in or Create an account to join the conversation.

  • eciudad
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
3 years 9 months ago #13620 by eciudad
Replied by eciudad on topic Showing markers in map
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.

More
3 years 9 months ago #13621 by Dima
Replied by Dima on topic Showing markers in map
Hi.
Today you can't pass user id. On this week I'll add this ability, describe in documentation and post there.

Don't forget support my developments: post review in JED , donate , help with translation ;)

Please Log in or Create an account to join the conversation.

  • eciudad
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
3 years 9 months ago #13623 by eciudad
Replied by eciudad on topic Showing markers in map
Thank you Dima. I will be looking for the update.

Please Log in or Create an account to join the conversation.

More
3 years 9 months ago #13627 by Dima
Replied by Dima on topic Showing markers in map
Hi.
I did new release.

Here link to documentation with example

wiki.zhuk.cc/index.php/Zh_OpenStreetMap_Visualization#Variables

Don't forget support my developments: post review in JED , donate , help with translation ;)

Please Log in or Create an account to join the conversation.

Time to create page: 0.077 seconds

Donate


Go to top