Marker that hilight a path

  • gix
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
3 years 3 months ago - 3 years 3 months ago #14182 by gix
Replied by gix on topic Marker that hilight a path

admin wrote: You can define from what column get description (popup content)
- visualization structure
-- columns
---- title, description, addition HTML


yes, i know but title and description that appear when i click on area is the "static" text that i have inserted in
-Path
--path
----title ("gruppi recupero")
---description ("area di competenza")

doesn't come out from structure but from that 2 fields!

you have access to my backend/frontend, let's try menu "Gruppi recupero"
That map show "gruppi recupero" "allarmi" "gruppi recupero aree"

"Gruppi di recupero aree" (visualization-structure) have the fields correctly filled (SQL query is ok, tested in phpmyadmin)
FIELD IN STRUCTURE/ FIELD FROM DATABASE
title / descrizioneosmarea
description / descrizioneosmarea
HTML text / testohtmlgruppoarea

When i clic area, my popup doesn't show from structure but from fields in path menu

Dima wrote: You can't access to map objects, it is internal variables.
You can't show/hide areas by clicking on placemarks

if i load a javascript in map and manipulate marker and area using marker id and area id from page?
Last edit: 3 years 3 months ago by gix.

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

  • gix
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
3 years 3 months ago - 3 years 3 months ago #14183 by gix
Replied by gix on topic Marker that hilight a path
for now, but is an awful result cause i can see all area togheter
i do this

ceated in my database, in field that feed areas and polylines, a list of coordinates that have this form
1) first coordinate=start line of polygon
2). ...a series of coordinates for my polygon
3) attached again first coordianates
4) attached coordinates of my marker
in this way i have a closed line +my marker pointed by a line (marker could be or not inside polygon cause is the office address)

the problem now is that my lines are often under polygon area and i can't clic/hover it to visually know wich marker is connected (with the line i added in step 4)

how can i put my lines on top of polygon?
i need that lines that perimeter area are drawn AFTER area

EDIT:
i assigned a group to perimeter and set an order higer than area so is drawn on top

the problem with title and description stay there, polygon and area doesn't take data from my structure
Last edit: 3 years 3 months ago by gix.

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

  • gix
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
3 years 3 months ago - 3 years 3 months ago #14190 by gix
Replied by gix on topic Marker that hilight a path
i try a lot of combinations but for my paths
popup never show my data from database, path is drawn without problem but popup show title and details from
-path-
--title
--description
(fixed text)

i have markers that show it without problem, i can't understand where i fail with path
Last edit: 3 years 3 months ago by gix.

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

More
3 years 3 months ago #14191 by Dima
Replied by Dima on topic Marker that hilight a path
Hi.
I checked it.
Yes, you can't get title/description/addition HTML for path from database, because each visualization for path get its shape different ways, and I can't control what way you get it. Therefore I pass path definition to its popup.

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.

  • gix
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
3 years 3 months ago #14192 by gix
Replied by gix on topic Marker that hilight a path
i don't understand
is my problem or is not possible?

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

More
3 years 3 months ago #14193 by Dima
Replied by Dima on topic Marker that hilight a path
As I wrote, if you want to show for each area its own title, description and so on, you need create path for each.
Today you can't pass your SQL data into popup content for path (lines and areas)

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.085 seconds

Donate


Go to top