• How can I use the locations map to search a postcode value. Your documentation said that I can use the normal search attributes, but when I use a postcode it just shows all locations (map is zoomed out to show all of England).

    I want the map to show locations near a postcode inputted by a user. Is this actually possible?

    I am using the 5.4 plugin version by the way because my maps wouldnt load with 5.5.

    Also.
    Is it pussible to use “Search” search attribute with the map?

    https://www.ads-software.com/plugins/events-manager/

Viewing 2 replies - 16 through 17 (of 17 total)
  • No, locations maps don’t work like that. To do what you’re describing you’d meed to create some custom code.

    One way to do it would be to load a location map as normal through EM and then center it by hooking into the onload function of the map.

    Plugin Author Marcus (aka @msykes)

    (@netweblogic)

    Currently searching by postcode isn’t possible.

    You’d need to create something that takes the post code and gets coordinates for it. for example, GeoNames.org has a service for this, but it’s a service you pay for. Same for Google I think.

    At that point, you could run it through EM to generate a map of nearby events, e.g.:

    [locations_map near=”0,0″ near_unit=”km” near_distance=”25″]

Viewing 2 replies - 16 through 17 (of 17 total)
  • The topic ‘Maps Shortcode and post code’ is closed to new replies.