Forums: map marker color - Forums

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

map marker color Rate Topic: -----

#1 User is offline   mersin tarim 

  • Member
  • PipPip
  • Group: Members
  • Posts: 27
  • Joined: 18-December 17

Posted 18 August 2018 - 09:11 PM

hi all,

is it possible conditional color for map marker on screen event.
for example:

table

id int(9)
sayim_sonucu int(9)


screen event. code

$icon = "";
if($data["sayim_sonucu"] >100)
$icon = "images/blue.png";
else if($data["sayim_sonucu"] >100 and $data["sayim_sonucu"]<300 )
$icon = "images/yellow.png";
else
$icon = "";
$mapSettings["markerIcon"] = $icon;


this code not working


best regards
0

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic