Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom Marker Images based on an attribute of each marker when parsed as XML #22

Open
lingokid opened this issue Jul 3, 2014 · 0 comments

Comments

@lingokid
Copy link

lingokid commented 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.

@lingokid 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant