You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have been trying everything I can to figure out how I can use several different marker images, each would be used based on the match to an attribute in the marker attributes being passed via xml.
I have several store types, each marker in my locations.xml document has an attribute of type. I have tried setting that attribute to a number or string and have not been able to use any type of logic in the jquery.storelocator.js file to assign the custom icons based on the value of the attribute.
I have tried conditional logic based on the attribute value, if statements, if/else statements, case statements and have not been able to get this working.
Any advice would be greatly appreciated.
The text was updated successfully, but these errors were encountered:
lingokid
changed the title
Custom Marker Images based on an attribute of each marker when pared as XML
Custom Marker Images based on an attribute of each marker when parsed as XML
Jul 3, 2014
I have been trying everything I can to figure out how I can use several different marker images, each would be used based on the match to an attribute in the marker attributes being passed via xml.
I have several store types, each marker in my locations.xml document has an attribute of type. I have tried setting that attribute to a number or string and have not been able to use any type of logic in the jquery.storelocator.js file to assign the custom icons based on the value of the attribute.
I have tried conditional logic based on the attribute value, if statements, if/else statements, case statements and have not been able to get this working.
Any advice would be greatly appreciated.
The text was updated successfully, but these errors were encountered: