Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Ian Dunn

    (@iandunn)

    Not as the moment. How would you see that working? Multiple maps to display each category?

    Looking for similar functionality … something like the sample map that you have for house churches in Washington state.

    I don’t know if this is what @altsolutionspr has in mind but I would imagine using a taxonomy to specify location types. This would allow organization of locations in a list display and separate pin-icons for the map display.

    Plugin Author Ian Dunn

    (@iandunn)

    Actually, you don’t need a custom taxonomy for that. The washingtonhousechurches.net example just sets different icons for each placemark through the Set Featured Image meta box. That’s not as clean (normalized) as having an icon associated with a taxonomy, but it works well for the uses the plugin is intended for.

    Where is the code located that links the featured image to the pin-icon? I’d like to see if I could rework it. Not only would it make organization more straightforward, it would also free up the featured image for inclusion in the info bubble.

    Plugin Author Ian Dunn

    (@iandunn)

    The getPlacemarks() method in core.php is where the icon is associated with the placemark. It’s line 557 in version 1.4.

    I think to do what you’re talking about you’d need to create a new custom post type for the categories and enable featured image support on it. You can’t just create custom taxonomy b/c no way to assign image to it.

    Then you’d need to add a dropdown box to placemark posts for users to select a new category post type. And then you’d change line 557 to grab the icon from the assigned category rather than the post itself.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Support for various Categories’ is closed to new replies.