[wpjb_map]

This shortcode allows to display interactive map (using Google Maps v3 API) with active Jobs, Resumes or Employers marked.

wpjb-map

Available Parameters

  • data
    Select which data do you want to display on map, possible values are: jobs, resumes, companies. Default value “jobs”
  • center
    location to which map should be centered, the value for this parameter is required, if you would like to center the map on London as a value enter “London, UK”.
  • auto_locate
    (since 4.3.2) either 1 or 0, if 1 plugin will try to set map center to current visitor location, if that fails (for example when user will refuse to share his location) the default ‘center’ location will be used
  • zoom
    set default map zoom level, default value is 12.
  • width
    how wide the map should be, you can enter value in pixels (for example 200px or percent). Default value is 100%
  • height
    how high the map should be, you should enter value in pixels only, for example 400px.

Usage Examples

Display map with list of active jobs.

[wpjb_map data="jobs" center="London, UK"]

Display 400×400 px map with list of resumes.

[wpjb_map data="resumes" center="New York, USA" width="400px" height="400px"]

Filter

On the first image in this article you can see that below the map there is a filter that allows to search jobs/resumes/employers by keyword, location and radius, this is not part of the default map.

If you would like to use the filter download the addon below, install it on your site and below the [wpjb_map] shortcode add [wpjb_addon_map_filter] shortcode (it does not have any parameters).

Download Map Filter

  1. Andy Knight
    Reply

    Can you clarify how you install the [wpjb_addon_map_filter] shortcode?

    • You need to first download it, then install like any other WP plugin from wp-admin / Plugins / Add New / Upload panel.

  2. Remi
    Reply

    Seems to have a problem regarding differents browsers for the display ? It works perfectly on Safari but not at all on Firefox and Chrome…

    Is anyone has the same problem than I ?

  3. Hi Greg

    I’ve done this but the map looks transparent and you can’t see it properly. Any ideas please?

    thanks

  4. Greg
    Reply

    James, edit the Page where you have [wpjb_map] shortcode, in the text editor click “Text” tab, the [wpjb_map] is wrapped inside <pre> tag, you will need to remove it.

    • Hi

      thanks for the reply. I’ve removed them but it’s still the same 🙁

  5. Are you there Greg? You’re usually quick with your replies.

    Thanks

    • Greg
      Reply

      Hi, sorry i sometimes forget to reply to comments, i prefer support questions to be submitted via email.

      Either way in your case it seems that the map does not load because it would need to place few thousands elements on the map, if you email me site access i’ll see if i can do something about it.

  6. Please add the auto_locate=”true” to this documentation. 😉 I searched for it and didn’t find anything about it.

    • Greg
      Reply

      Thanks, i didn’t noticed we do not have this document updated, i will add it soon.

    • Akino
      Reply

      Thanks, now works

Leave a Reply

Your email address will not be published.